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 \
|
|
|
|
mint_api_handle.c mint_api_handle.h
|
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
|
|
|
|
|
|
|
|
test_mint_api_SOURCES = \
|
|
|
|
test_mint_api.c
|
|
|
|
test_mint_api_LDADD = \
|
|
|
|
libtalermint.la \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson
|