exchange/src/mint-lib/Makefile.am

60 lines
1.1 KiB
Makefile
Raw Normal View History

# This Makefile.am is in the public domain
2015-01-22 11:36:08 +01:00
AM_CPPFLAGS = -I$(top_srcdir)/src/include
2015-04-13 13:57:38 +02:00
if USE_COVERAGE
AM_CFLAGS = --coverage -O0
XLIB = -lgcov
endif
lib_LTLIBRARIES = \
libtalermint.la
libtalermint_la_LDFLAGS = \
-version-info 0:0:0 \
-no-undefined
libtalermint_la_SOURCES = \
mint_api_common.c mint_api_common.h \
mint_api_context.c mint_api_context.h \
mint_api_json.c mint_api_json.h \
2015-06-21 18:47:42 +02:00
mint_api_handle.c mint_api_handle.h \
mint_api_admin.c \
2015-06-22 18:36:52 +02:00
mint_api_deposit.c \
mint_api_refresh.c \
mint_api_refresh_link.c \
2015-06-22 18:36:52 +02:00
mint_api_withdraw.c
libtalermint_la_LIBADD = \
-lgnunetutil \
-ljansson \
$(XLIB)
if HAVE_LIBCURL
libtalermint_la_LIBADD += -lcurl
else
if HAVE_LIBGNURL
libtalermint_la_LIBADD += -lgnurl
endif
endif
check_PROGRAMS = \
test_mint_api
2015-07-05 17:27:20 +02:00
TESTS = \
$(check_PROGRAMS)
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/