exchange/src/mint-lib/Makefile.am

36 lines
667 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_context.c mint_api_context.h \
mint_api_handle.c mint_api_handle.h
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