2016-03-19 15:23:11 +01:00
|
|
|
# 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 = \
|
|
|
|
libtalerjson.la
|
|
|
|
|
|
|
|
libtalerjson_la_SOURCES = \
|
|
|
|
json.c \
|
2018-04-02 14:24:45 +02:00
|
|
|
json_helper.c \
|
|
|
|
json_wire.c
|
2016-03-19 15:23:11 +01:00
|
|
|
libtalerjson_la_LDFLAGS = \
|
2017-06-06 14:03:53 +02:00
|
|
|
-version-info 1:0:1 \
|
2016-03-19 15:23:11 +01:00
|
|
|
-export-dynamic -no-undefined
|
|
|
|
libtalerjson_la_LIBADD = \
|
|
|
|
-lgnunetjson \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
|
|
|
$(XLIB)
|
|
|
|
|
|
|
|
TESTS = \
|
2019-06-26 20:43:08 +02:00
|
|
|
test_json \
|
|
|
|
test_json_wire
|
2016-03-19 15:23:11 +01:00
|
|
|
|
|
|
|
check_PROGRAMS= \
|
2019-06-26 20:43:08 +02:00
|
|
|
test_json \
|
|
|
|
test_json_wire
|
2016-03-19 15:23:11 +01:00
|
|
|
|
|
|
|
test_json_SOURCES = \
|
|
|
|
test_json.c
|
|
|
|
test_json_LDADD = \
|
2018-08-16 13:03:30 +02:00
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
2016-03-19 15:23:11 +01:00
|
|
|
-lgnunetjson \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson
|
2019-06-26 20:43:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
test_json_wire_SOURCES = \
|
|
|
|
test_json_wire.c
|
|
|
|
test_json_wire_LDADD = \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
-lgnunetjson \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson
|