- rework rest/jsonapi API; bugfixes
[oweals/gnunet.git] / src / jsonapi / 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   libgnunetjsonapi.la
11
12 libgnunetjsonapi_la_LDFLAGS = \
13   -version-info 0:0:0 \
14   -no-undefined
15 libgnunetjsonapi_la_SOURCES = \
16   jsonapi.c 
17 libgnunetjsonapi_la_LIBADD = \
18   $(top_builddir)/src/util/libgnunetutil.la \
19         $(top_builddir)/src/json/libgnunetjson.la \
20         $(top_builddir)/src/rest/libgnunetrest.la \
21   -ljansson \
22   $(XLIB)
23
24 check_PROGRAMS = \
25   test_jsonapi
26
27 TESTS = \
28   $(check_PROGRAMS)
29
30 test_jsonapi_SOURCES = \
31   test_jsonapi.c
32 test_jsonapi_LDADD = \
33   libgnunetjsonapi.la \
34   $(top_builddir)/src/util/libgnunetutil.la \
35   -ljansson