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
|
|
|
|
|
2017-12-14 15:33:10 +01:00
|
|
|
bin_PROGRAMS = \
|
|
|
|
taler-bank-transfer
|
|
|
|
|
|
|
|
taler_bank_transfer_SOURCES = \
|
|
|
|
taler-bank-transfer.c
|
|
|
|
taler_bank_transfer_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
libtalerbank.la \
|
|
|
|
-lgnunetcurl \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson $(XLIB)
|
|
|
|
|
2016-01-25 10:20:40 +01:00
|
|
|
lib_LTLIBRARIES = \
|
2016-06-08 11:35:28 +02:00
|
|
|
libtalerbank.la \
|
2018-02-22 14:51:12 +01:00
|
|
|
libtalerfakebank.la \
|
|
|
|
libtalerbanktesting.la
|
2016-04-17 23:14:23 +02:00
|
|
|
|
2016-01-25 10:20:40 +01:00
|
|
|
libtalerbank_la_LDFLAGS = \
|
2017-06-06 14:03:53 +02:00
|
|
|
-version-info 1:0:0 \
|
2016-01-25 10:20:40 +01:00
|
|
|
-no-undefined
|
|
|
|
|
|
|
|
libtalerbank_la_SOURCES = \
|
2017-05-04 15:18:43 +02:00
|
|
|
bank_api_admin.c \
|
2017-05-04 18:35:53 +02:00
|
|
|
bank_api_common.c bank_api_common.h \
|
2017-12-06 19:24:00 +01:00
|
|
|
bank_api_history.c \
|
2018-04-02 14:24:45 +02:00
|
|
|
bank_api_reject.c \
|
|
|
|
bank_api_parse.c
|
2016-01-25 10:20:40 +01:00
|
|
|
|
|
|
|
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-06-08 11:35:28 +02:00
|
|
|
libtalerfakebank_la_LDFLAGS = \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
-no-undefined
|
|
|
|
|
|
|
|
libtalerfakebank_la_SOURCES = \
|
|
|
|
fakebank.c
|
|
|
|
|
|
|
|
libtalerfakebank_la_LIBADD = \
|
2016-04-17 23:14:23 +02:00
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
-lgnunetjson \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
2016-06-15 20:09:09 +02:00
|
|
|
-lmicrohttpd \
|
2016-04-17 23:14:23 +02:00
|
|
|
$(XLIB)
|
|
|
|
|
2018-02-22 14:51:12 +01:00
|
|
|
libtalerbanktesting_la_LDFLAGS = \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
-no-undefined
|
|
|
|
|
|
|
|
libtalerbanktesting_la_SOURCES = \
|
|
|
|
testing_api_cmd_history.c \
|
|
|
|
testing_api_cmd_reject.c \
|
|
|
|
testing_api_helpers.c
|
|
|
|
|
|
|
|
libtalerbanktesting_la_LIBADD = \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
-lgnunetjson \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
|
|
|
-lmicrohttpd \
|
|
|
|
$(XLIB)
|
2016-04-17 23:14:23 +02:00
|
|
|
|
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 = \
|
2016-05-02 08:54:05 +02:00
|
|
|
test_bank_api \
|
2018-02-22 14:51:12 +01:00
|
|
|
test_bank_api_new \
|
|
|
|
test_bank_api_with_fakebank \
|
|
|
|
test_bank_api_with_fakebank_new
|
2016-01-29 14:24:18 +01:00
|
|
|
|
2018-03-03 00:52:02 +01:00
|
|
|
if HAVE_TWISTER
|
2018-03-06 12:41:25 +01:00
|
|
|
check_PROGRAMS += \
|
|
|
|
test_bank_api_twisted \
|
|
|
|
test_bank_api_with_fakebank_twisted
|
2018-03-03 00:52:02 +01:00
|
|
|
|
2018-03-06 12:05:29 +01:00
|
|
|
test_bank_api_with_fakebank_twisted_SOURCES = \
|
|
|
|
test_bank_api_with_fakebank_twisted.c
|
|
|
|
test_bank_api_with_fakebank_twisted_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
-ltalertesting \
|
|
|
|
-ltalertwistertesting \
|
|
|
|
-ltalerbanktesting \
|
|
|
|
-ltalerfakebank \
|
|
|
|
-ltalerbank \
|
|
|
|
-ltalerexchange \
|
|
|
|
-ltalerjson \
|
|
|
|
-ltalerutil \
|
|
|
|
-lgnunetjson \
|
|
|
|
-lgnunetcurl \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson
|
2018-03-06 12:41:25 +01:00
|
|
|
endif
|
2018-03-06 12:05:29 +01:00
|
|
|
|
2018-03-03 00:52:02 +01:00
|
|
|
test_bank_api_twisted_SOURCES = \
|
|
|
|
test_bank_api_twisted.c
|
|
|
|
test_bank_api_twisted_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
-ltalertesting \
|
|
|
|
-ltalertwistertesting \
|
2018-03-03 01:05:12 +01:00
|
|
|
-ltalerbanktesting \
|
2018-03-03 00:52:02 +01:00
|
|
|
-ltalerfakebank \
|
|
|
|
-ltalerbank \
|
|
|
|
-ltalerexchange \
|
|
|
|
-ltalerjson \
|
|
|
|
-ltalerutil \
|
|
|
|
-lgnunetjson \
|
|
|
|
-lgnunetcurl \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson
|
|
|
|
|
|
|
|
|
2016-01-29 14:24:18 +01:00
|
|
|
TESTS = \
|
2017-05-11 16:24:41 +02:00
|
|
|
$(check_PROGRAMS)
|
2016-01-29 14:24:18 +01:00
|
|
|
|
|
|
|
test_bank_api_SOURCES = \
|
2016-05-02 08:46:17 +02:00
|
|
|
test_bank_interpreter.c test_bank_interpreter.h \
|
2016-01-29 14:24:18 +01:00
|
|
|
test_bank_api.c
|
|
|
|
test_bank_api_LDADD = \
|
|
|
|
libtalerbank.la \
|
2016-06-08 11:35:28 +02:00
|
|
|
libtalerfakebank.la \
|
2016-05-02 08:54:05 +02:00
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
-lgnunetcurl \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson
|
|
|
|
|
2018-02-22 14:51:12 +01:00
|
|
|
test_bank_api_new_SOURCES = \
|
|
|
|
test_bank_api_new.c
|
|
|
|
|
|
|
|
test_bank_api_new_LDADD = \
|
|
|
|
$(top_builddir)/src/exchange-lib/libtalertesting.la \
|
2018-04-02 14:24:45 +02:00
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
2018-02-22 14:51:12 +01:00
|
|
|
libtalerbanktesting.la \
|
|
|
|
-ltalerexchange \
|
|
|
|
-lgnunetutil \
|
|
|
|
libtalerbank.la
|
2016-05-02 08:54:05 +02:00
|
|
|
|
|
|
|
test_bank_api_with_fakebank_SOURCES = \
|
|
|
|
test_bank_interpreter.c test_bank_interpreter.h \
|
|
|
|
test_bank_api_with_fakebank.c
|
|
|
|
test_bank_api_with_fakebank_LDADD = \
|
|
|
|
libtalerbank.la \
|
2016-06-08 11:35:28 +02:00
|
|
|
libtalerfakebank.la \
|
2016-01-29 14:24:18 +01:00
|
|
|
$(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
|
2017-10-18 11:47:34 +02:00
|
|
|
|
2018-02-22 14:51:12 +01:00
|
|
|
test_bank_api_with_fakebank_new_SOURCES = \
|
|
|
|
test_bank_api_with_fakebank_new.c
|
|
|
|
|
|
|
|
test_bank_api_with_fakebank_new_LDADD = \
|
|
|
|
$(top_builddir)/src/exchange-lib/libtalertesting.la \
|
|
|
|
libtalerbanktesting.la \
|
|
|
|
-ltalerexchange \
|
|
|
|
-lgnunetutil \
|
|
|
|
libtalerbank.la
|
|
|
|
|
2017-10-18 11:47:34 +02:00
|
|
|
EXTRA_DIST = \
|
|
|
|
bank.conf
|