-wip namestore api, changed adding gnsrecord
[oweals/gnunet.git] / src / json / Makefile.am
1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3
4 if USE_COVERAGE
5   AM_CFLAGS = --coverage -O0
6   XLIB = -lgcov
7 endif
8
9 lib_LTLIBRARIES = \
10   libgnunetjson.la
11
12 libgnunetjson_la_LDFLAGS = \
13   -version-info 0:0:0 \
14   -no-undefined
15 libgnunetjson_la_SOURCES = \
16   json.c \
17   json_mhd.c \
18   json_generator.c \
19   json_helper.c 
20 libgnunetjson_la_LIBADD = \
21   $(top_builddir)/src/util/libgnunetutil.la \
22   -ljansson \
23   $(XLIB)
24
25 check_PROGRAMS = \
26   test_json
27
28 TESTS = \
29   $(check_PROGRAMS)
30
31 test_json_SOURCES = \
32   test_json.c
33 test_json_LDADD = \
34   libgnunetjson.la \
35   $(top_builddir)/src/util/libgnunetutil.la \
36   -ljansson