2015-02-08 00:17:40 +01:00
|
|
|
# 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-05-28 11:34:06 +02:00
|
|
|
if WALLET_ONLY
|
|
|
|
lib_LTLIBRARIES = \
|
|
|
|
libtalerutil_wallet.la
|
|
|
|
else
|
2015-01-08 18:37:20 +01:00
|
|
|
lib_LTLIBRARIES = \
|
|
|
|
libtalerutil.la
|
2015-05-28 11:34:06 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
libtalerutil_wallet_la_SOURCES = \
|
|
|
|
amount.c \
|
2015-07-15 11:40:51 +02:00
|
|
|
crypto.c
|
2015-05-28 11:34:06 +02:00
|
|
|
|
|
|
|
libtalerutil_wallet_la_LIBADD = \
|
|
|
|
-lgnunetutil_taler_wallet \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(XLIB)
|
|
|
|
|
|
|
|
libtalerutil_wallet_la_LDFLAGS = \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
-export-dynamic -no-undefined
|
2015-01-08 18:37:20 +01:00
|
|
|
|
|
|
|
libtalerutil_la_SOURCES = \
|
2015-01-27 16:18:33 +01:00
|
|
|
amount.c \
|
|
|
|
crypto.c \
|
2015-01-08 18:37:20 +01:00
|
|
|
util.c \
|
2015-03-20 23:51:28 +01:00
|
|
|
json.c \
|
2015-04-12 22:34:56 +02:00
|
|
|
os_installation.c \
|
2016-01-25 12:51:04 +01:00
|
|
|
plugin.c \
|
2015-04-12 22:34:56 +02:00
|
|
|
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-02-17 17:23:13 +01:00
|
|
|
|
2015-04-13 13:57:38 +02:00
|
|
|
TESTS = \
|
2015-04-13 17:20:46 +02:00
|
|
|
test_amount \
|
|
|
|
test_crypto \
|
2016-01-25 12:51:04 +01:00
|
|
|
test_json
|
2015-02-17 17:23:13 +01:00
|
|
|
|
2015-04-13 17:20:46 +02:00
|
|
|
check_PROGRAMS= \
|
|
|
|
test_amount \
|
|
|
|
test_crypto \
|
2016-01-25 12:51:04 +01:00
|
|
|
test_json
|
2015-02-17 17:23:13 +01:00
|
|
|
|
2015-04-13 17:20:46 +02:00
|
|
|
|
|
|
|
test_amount_SOURCES = \
|
|
|
|
test_amount.c
|
|
|
|
test_amount_LDADD = \
|
|
|
|
-lgnunetutil \
|
|
|
|
libtalerutil.la
|
|
|
|
|
|
|
|
test_crypto_SOURCES = \
|
|
|
|
test_crypto.c
|
|
|
|
test_crypto_LDADD = \
|
|
|
|
-lgnunetutil \
|
|
|
|
libtalerutil.la
|
|
|
|
|
|
|
|
test_json_SOURCES = \
|
|
|
|
test_json.c
|
|
|
|
test_json_LDADD = \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
|
|
|
libtalerutil.la
|