2015-02-08 00:17:40 +01:00
|
|
|
# This Makefile.am is in the public domain
|
2015-01-22 11:36:08 +01:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/include
|
2015-01-09 18:18:59 +01:00
|
|
|
|
2015-04-13 13:57:38 +02:00
|
|
|
if USE_COVERAGE
|
|
|
|
AM_CFLAGS = --coverage -O0
|
|
|
|
XLIB = -lgcov
|
|
|
|
endif
|
|
|
|
|
2015-01-09 18:18:59 +01:00
|
|
|
lib_LTLIBRARIES = \
|
|
|
|
libtalermint.la
|
|
|
|
|
|
|
|
libtalermint_la_LDFLAGS = \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
-no-undefined
|
|
|
|
|
|
|
|
libtalermint_la_SOURCES = \
|
2015-06-17 18:50:09 +02:00
|
|
|
mint_api_context.c mint_api_context.h \
|
2015-06-20 17:40:28 +02:00
|
|
|
mint_api_json.c mint_api_json.h \
|
2015-06-21 18:47:42 +02:00
|
|
|
mint_api_handle.c mint_api_handle.h \
|
2015-07-01 00:18:01 +02:00
|
|
|
mint_api_admin.c \
|
2015-06-22 18:36:52 +02:00
|
|
|
mint_api_deposit.c \
|
2015-08-06 00:00:40 +02:00
|
|
|
mint_api_refresh.c \
|
|
|
|
mint_api_refresh_link.c \
|
2015-06-22 18:36:52 +02:00
|
|
|
mint_api_withdraw.c
|
2015-01-09 18:18:59 +01:00
|
|
|
|
|
|
|
libtalermint_la_LIBADD = \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
2015-04-13 13:57:38 +02:00
|
|
|
-lcurl $(XLIB)
|
2015-01-09 18:18:59 +01:00
|
|
|
|
|
|
|
check_PROGRAMS = \
|
|
|
|
test_mint_api
|
|
|
|
|
2015-07-05 17:27:20 +02:00
|
|
|
TESTS = \
|
|
|
|
$(check_PROGRAMS)
|
|
|
|
|
2015-01-09 18:18:59 +01:00
|
|
|
test_mint_api_SOURCES = \
|
|
|
|
test_mint_api.c
|
|
|
|
test_mint_api_LDADD = \
|
|
|
|
libtalermint.la \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson
|
2015-06-18 14:04:42 +02:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
test-mint-home/config/mint-common.conf \
|
|
|
|
test-mint-home/master.priv \
|
|
|
|
test-mint-home/denomkeys/ \
|
|
|
|
test-mint-home/signkeys/
|