2016-01-25 10:20:40 +01:00
|
|
|
# This Makefile.am is in the public domain
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/include
|
|
|
|
|
|
|
|
if USE_COVERAGE
|
|
|
|
AM_CFLAGS = --coverage -O0
|
|
|
|
XLIB = -lgcov
|
|
|
|
endif
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = \
|
|
|
|
libtalerbank.la
|
|
|
|
|
2016-04-17 23:14:23 +02:00
|
|
|
noinst_LTLIBRARIES = \
|
|
|
|
libfakebank.la
|
|
|
|
|
2016-01-25 10:20:40 +01:00
|
|
|
libtalerbank_la_LDFLAGS = \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
-no-undefined
|
|
|
|
|
|
|
|
libtalerbank_la_SOURCES = \
|
|
|
|
bank_api_admin.c
|
|
|
|
|
|
|
|
libtalerbank_la_LIBADD = \
|
2016-03-19 15:23:11 +01:00
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
2016-04-17 18:03:01 +02:00
|
|
|
-lgnunetcurl \
|
2016-03-19 15:23:11 +01:00
|
|
|
-lgnunetjson \
|
2016-01-25 10:20:40 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
|
|
|
$(XLIB)
|
|
|
|
|
2016-04-17 23:14:23 +02:00
|
|
|
libfakebank_la_SOURCES = \
|
|
|
|
fakebank.c
|
|
|
|
|
|
|
|
libfakebank_la_LIBADD = \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
-lgnunetjson \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
|
|
|
$(XLIB)
|
|
|
|
|
|
|
|
|
2016-01-25 10:20:40 +01:00
|
|
|
if HAVE_LIBCURL
|
|
|
|
libtalerbank_la_LIBADD += -lcurl
|
|
|
|
else
|
|
|
|
if HAVE_LIBGNURL
|
|
|
|
libtalerbank_la_LIBADD += -lgnurl
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2016-01-29 14:24:18 +01:00
|
|
|
check_PROGRAMS = \
|
|
|
|
test_bank_api
|
|
|
|
|
|
|
|
TESTS = \
|
|
|
|
$(check_PROGRAMS)
|
|
|
|
|
|
|
|
test_bank_api_SOURCES = \
|
|
|
|
test_bank_api.c
|
|
|
|
test_bank_api_LDADD = \
|
|
|
|
libtalerbank.la \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2016-04-17 18:03:01 +02:00
|
|
|
-lgnunetcurl \
|
2016-03-23 11:34:24 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson
|