aboutsummaryrefslogtreecommitdiff
path: root/src/jsonapi/Makefile.am
blob: 1d3fcc760afe312f6b5a82ed9f262ed2af3dea2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include

if USE_COVERAGE
  AM_CFLAGS = --coverage -O0
  XLIB = -lgcov
endif

lib_LTLIBRARIES = \
  libgnunetjsonapi.la

libgnunetjsonapi_la_LDFLAGS = \
  -version-info 0:0:0 \
  -no-undefined
libgnunetjsonapi_la_SOURCES = \
  jsonapi.c 
libgnunetjsonapi_la_LIBADD = \
  $(top_builddir)/src/util/libgnunetutil.la \
	$(top_builddir)/src/json/libgnunetjson.la \
  -ljansson \
  $(XLIB)

#check_PROGRAMS = \
#  test_json

#TESTS = \
#  $(check_PROGRAMS)

#test_json_SOURCES = \
#  test_json.c
#test_json_LDADD = \
#  libgnunetjson.la \
#  $(top_builddir)/src/util/libgnunetutil.la \
#  -ljansson