exchange/src/mint-lib/Makefile.am

36 lines
601 B
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.c
libtalermint_la_LIBADD = \
-lgnunetutil \
-ljansson \
2015-04-13 13:57:38 +02:00
-lcurl $(XLIB)
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