exchange/src/util/Makefile.am

42 lines
756 B
Makefile
Raw Normal View History

# This Makefile.am is in the public domain
2015-01-08 18:37:20 +01:00
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(LIBGCRYPT_CFLAGS) $(POSTGRESQL_CPPFLAGS)
2015-04-13 13:57:38 +02:00
if USE_COVERAGE
AM_CFLAGS = --coverage -O0
XLIB = -lgcov
endif
2015-01-08 18:37:20 +01:00
lib_LTLIBRARIES = \
libtalerutil.la
libtalerutil_la_SOURCES = \
amount.c \
crypto.c \
2015-01-08 18:37:20 +01:00
util.c \
json.c \
2015-04-12 22:34:56 +02:00
os_installation.c \
wireformats.c
2015-01-08 18:37:20 +01:00
libtalerutil_la_LIBADD = \
-lgnunetutil \
$(LIBGCRYPT_LIBS) \
-ljansson \
2015-04-13 13:57:38 +02:00
-lmicrohttpd $(XLIB)
2015-01-08 18:37:20 +01:00
libtalerutil_la_LDFLAGS = \
-version-info 0:0:0 \
-export-dynamic -no-undefined
2015-04-13 13:57:38 +02:00
TESTS = \
test-json-validations
check_PROGRAMS=\
test-json-validations
2015-04-13 13:57:38 +02:00
test_json_validations_SOURCES = \
test_json_validations.c
test_json_validations_LDADD = \
-lgnunetutil \
-ljansson \
libtalerutil.la