2016-03-01 15:35:04 +01:00
|
|
|
# This Makefile.am is in the public domain
|
2016-05-03 13:55:40 +02:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/bank-lib
|
2016-03-01 15:35:04 +01:00
|
|
|
|
|
|
|
if USE_COVERAGE
|
|
|
|
AM_CFLAGS = --coverage -O0
|
|
|
|
XLIB = -lgcov
|
|
|
|
endif
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = \
|
2019-03-26 18:17:09 +01:00
|
|
|
libtalerauditor.la \
|
2018-01-21 15:39:48 +01:00
|
|
|
libtalerexchange.la \
|
2019-01-11 21:27:34 +01:00
|
|
|
libtalertesting.la \
|
|
|
|
libtalerauditortesting.la
|
2016-03-01 15:35:04 +01:00
|
|
|
|
|
|
|
libtalerexchange_la_LDFLAGS = \
|
2017-12-14 13:42:07 +01:00
|
|
|
-version-info 4:0:0 \
|
2016-03-01 15:35:04 +01:00
|
|
|
-no-undefined
|
|
|
|
libtalerexchange_la_SOURCES = \
|
2019-01-11 21:27:34 +01:00
|
|
|
exchange_api_curl_defaults.c exchange_api_curl_defaults.h \
|
2016-10-20 21:11:20 +02:00
|
|
|
exchange_api_common.c \
|
2016-03-01 15:35:04 +01:00
|
|
|
exchange_api_handle.c exchange_api_handle.h \
|
|
|
|
exchange_api_deposit.c \
|
2017-03-29 15:44:59 +02:00
|
|
|
exchange_api_payback.c \
|
2016-03-01 15:35:04 +01:00
|
|
|
exchange_api_refresh.c \
|
|
|
|
exchange_api_refresh_link.c \
|
2016-05-04 09:42:52 +02:00
|
|
|
exchange_api_refund.c \
|
2016-03-01 15:35:04 +01:00
|
|
|
exchange_api_reserve.c \
|
2016-06-09 21:43:26 +02:00
|
|
|
exchange_api_track_transaction.c \
|
2016-06-09 21:44:42 +02:00
|
|
|
exchange_api_track_transfer.c \
|
2019-10-26 20:05:19 +02:00
|
|
|
exchange_api_wire.c
|
2016-03-01 15:35:04 +01:00
|
|
|
libtalerexchange_la_LIBADD = \
|
2019-01-11 21:27:34 +01:00
|
|
|
libtalerauditor.la \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
2019-10-26 20:05:19 +02:00
|
|
|
$(top_builddir)/src/curl/libtalercurl.la \
|
2019-01-11 21:27:34 +01:00
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
-lgnunetcurl \
|
|
|
|
-lgnunetjson \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
|
|
|
$(XLIB)
|
|
|
|
|
|
|
|
|
|
|
|
libtalerauditor_la_LDFLAGS = \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
-no-undefined
|
|
|
|
libtalerauditor_la_SOURCES = \
|
|
|
|
auditor_api_curl_defaults.c auditor_api_curl_defaults.h \
|
|
|
|
auditor_api_handle.c auditor_api_handle.h \
|
|
|
|
auditor_api_deposit_confirmation.c \
|
2019-10-26 20:05:19 +02:00
|
|
|
auditor_api_exchanges.c
|
2019-01-11 21:27:34 +01:00
|
|
|
libtalerauditor_la_LIBADD = \
|
2019-10-26 20:05:19 +02:00
|
|
|
$(top_builddir)/src/curl/libtalercurl.la \
|
2016-03-19 15:23:11 +01:00
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2016-04-17 17:45:15 +02:00
|
|
|
-lgnunetcurl \
|
2016-03-19 15:23:11 +01:00
|
|
|
-lgnunetjson \
|
2016-03-01 15:35:04 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
|
|
|
$(XLIB)
|
|
|
|
|
2019-01-11 21:27:34 +01:00
|
|
|
if HAVE_LIBCURL
|
|
|
|
libtalerauditor_la_LIBADD += -lcurl
|
|
|
|
else
|
|
|
|
if HAVE_LIBGNURL
|
|
|
|
libtalerauditor_la_LIBADD += -lgnurl
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
2018-01-21 15:39:48 +01:00
|
|
|
libtalertesting_la_LDFLAGS = \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
-no-undefined
|
|
|
|
libtalertesting_la_SOURCES = \
|
2019-01-11 21:27:34 +01:00
|
|
|
exchange_api_curl_defaults.c \
|
2018-01-23 10:28:24 +01:00
|
|
|
testing_api_cmd_exec_aggregator.c \
|
2018-01-21 19:11:27 +01:00
|
|
|
testing_api_cmd_exec_wirewatch.c \
|
2018-01-23 10:28:24 +01:00
|
|
|
testing_api_cmd_exec_keyup.c \
|
|
|
|
testing_api_cmd_exec_auditor-sign.c \
|
2018-01-21 16:27:58 +01:00
|
|
|
testing_api_cmd_withdraw.c \
|
2018-01-23 10:28:24 +01:00
|
|
|
testing_api_cmd_wire.c \
|
|
|
|
testing_api_cmd_refund.c \
|
|
|
|
testing_api_cmd_status.c \
|
|
|
|
testing_api_cmd_deposit.c \
|
2018-09-15 22:20:07 +02:00
|
|
|
testing_api_cmd_sleep.c \
|
2018-01-23 10:28:24 +01:00
|
|
|
testing_api_cmd_refresh.c \
|
|
|
|
testing_api_cmd_track.c \
|
|
|
|
testing_api_cmd_bank_check.c \
|
2020-01-12 19:45:45 +01:00
|
|
|
testing_api_cmd_bank_check_empty.c \
|
2018-01-23 10:28:24 +01:00
|
|
|
testing_api_cmd_payback.c \
|
|
|
|
testing_api_cmd_signal.c \
|
|
|
|
testing_api_cmd_check_keys.c \
|
2018-06-20 11:20:48 +02:00
|
|
|
testing_api_cmd_batch.c \
|
2018-12-21 14:04:43 +01:00
|
|
|
testing_api_cmd_serialize_keys.c \
|
2018-01-21 16:27:58 +01:00
|
|
|
testing_api_helpers.c \
|
2018-01-21 15:39:48 +01:00
|
|
|
testing_api_loop.c \
|
|
|
|
testing_api_traits.c \
|
2018-01-21 16:01:08 +01:00
|
|
|
testing_api_trait_blinding_key.c \
|
|
|
|
testing_api_trait_coin_priv.c \
|
|
|
|
testing_api_trait_denom_pub.c \
|
|
|
|
testing_api_trait_denom_sig.c \
|
2018-11-17 15:15:51 +01:00
|
|
|
testing_api_trait_exchange_pub.c \
|
|
|
|
testing_api_trait_exchange_sig.c \
|
2018-04-02 14:24:45 +02:00
|
|
|
testing_api_trait_json.c \
|
2018-01-21 18:46:18 +01:00
|
|
|
testing_api_trait_process.c \
|
2020-01-11 15:19:56 +01:00
|
|
|
testing_api_trait_reserve_pub.c \
|
2018-01-23 10:28:24 +01:00
|
|
|
testing_api_trait_reserve_priv.c \
|
|
|
|
testing_api_trait_number.c \
|
|
|
|
testing_api_trait_fresh_coin.c \
|
|
|
|
testing_api_trait_string.c \
|
|
|
|
testing_api_trait_key_peer.c \
|
2018-02-16 10:57:23 +01:00
|
|
|
testing_api_trait_wtid.c \
|
2018-06-20 22:16:24 +02:00
|
|
|
testing_api_trait_amount.c \
|
2019-04-08 23:53:52 +02:00
|
|
|
testing_api_trait_cmd.c \
|
|
|
|
testing_api_trait_time.c
|
2018-01-21 15:39:48 +01:00
|
|
|
libtalertesting_la_LIBADD = \
|
2018-08-06 15:24:32 +02:00
|
|
|
libtalerexchange.la \
|
2018-04-02 14:24:45 +02:00
|
|
|
$(top_builddir)/src/wire/libtalerwire.la \
|
2018-01-21 15:39:48 +01:00
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2018-08-06 15:28:56 +02:00
|
|
|
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
2018-01-21 19:57:09 +01:00
|
|
|
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
2018-01-21 15:39:48 +01:00
|
|
|
-lgnunetcurl \
|
|
|
|
-lgnunetjson \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
|
|
|
$(XLIB)
|
|
|
|
|
2019-01-11 21:27:34 +01:00
|
|
|
libtalerauditortesting_la_LDFLAGS = \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
-no-undefined
|
|
|
|
libtalerauditortesting_la_SOURCES = \
|
|
|
|
testing_auditor_api_helpers.c \
|
|
|
|
testing_auditor_api_cmd_deposit_confirmation.c \
|
|
|
|
testing_auditor_api_cmd_exchanges.c \
|
|
|
|
testing_auditor_api_cmd_exec_auditor.c \
|
|
|
|
testing_auditor_api_cmd_exec_auditor_dbinit.c \
|
|
|
|
testing_auditor_api_cmd_exec_wire_auditor.c
|
|
|
|
libtalerauditortesting_la_LIBADD = \
|
|
|
|
libtalerauditor.la \
|
|
|
|
libtalerexchange.la \
|
|
|
|
libtalertesting.la \
|
|
|
|
$(top_builddir)/src/wire/libtalerwire.la \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
-lgnunetcurl \
|
|
|
|
-lgnunetjson \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
|
|
|
$(XLIB)
|
|
|
|
|
|
|
|
|
2016-03-01 15:35:04 +01:00
|
|
|
if HAVE_LIBCURL
|
|
|
|
libtalerexchange_la_LIBADD += -lcurl
|
|
|
|
else
|
|
|
|
if HAVE_LIBGNURL
|
|
|
|
libtalerexchange_la_LIBADD += -lgnurl
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
check_PROGRAMS = \
|
2019-06-08 21:41:12 +02:00
|
|
|
test_exchange_api_keys_cherry_picking \
|
2019-01-11 18:42:20 +01:00
|
|
|
test_exchange_api_overlapping_keys_bug \
|
2019-06-08 21:41:12 +02:00
|
|
|
test_exchange_api \
|
2019-01-24 18:45:47 +01:00
|
|
|
test_auditor_api_version \
|
2019-01-11 21:27:34 +01:00
|
|
|
test_auditor_api
|
2018-03-02 18:30:33 +01:00
|
|
|
|
|
|
|
if HAVE_TWISTER
|
|
|
|
check_PROGRAMS += \
|
|
|
|
test_exchange_api_twisted
|
|
|
|
|
|
|
|
test_exchange_api_twisted_SOURCES = \
|
|
|
|
test_exchange_api_twisted.c
|
|
|
|
test_exchange_api_twisted_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
2019-01-11 21:27:34 +01:00
|
|
|
libtalertesting.la \
|
|
|
|
libtalerexchange.la \
|
2018-08-16 13:14:47 +02:00
|
|
|
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
|
|
|
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2018-03-02 18:30:33 +01:00
|
|
|
-ltalertwistertesting \
|
|
|
|
-lgnunetjson \
|
|
|
|
-lgnunetcurl \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson
|
|
|
|
|
|
|
|
endif
|
2016-03-01 15:35:04 +01:00
|
|
|
|
2016-04-01 20:35:22 +02:00
|
|
|
AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
|
|
|
|
|
2016-03-01 15:35:04 +01:00
|
|
|
TESTS = \
|
2018-03-02 18:30:33 +01:00
|
|
|
$(check_PROGRAMS)
|
2016-03-01 15:35:04 +01:00
|
|
|
|
2019-06-08 21:41:12 +02:00
|
|
|
test_exchange_api_SOURCES = \
|
|
|
|
test_exchange_api.c
|
|
|
|
test_exchange_api_LDADD = \
|
2018-01-21 15:39:48 +01:00
|
|
|
libtalertesting.la \
|
|
|
|
libtalerexchange.la \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
|
|
|
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
2020-01-12 19:55:56 +01:00
|
|
|
$(top_builddir)/src/bank-lib/libtalerbanktesting.la \
|
2019-07-15 20:55:11 +02:00
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
-lgnunetcurl \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson
|
|
|
|
|
2019-01-11 18:42:20 +01:00
|
|
|
test_exchange_api_overlapping_keys_bug_SOURCES = \
|
|
|
|
test_exchange_api_overlapping_keys_bug.c
|
|
|
|
test_exchange_api_overlapping_keys_bug_LDADD = \
|
|
|
|
libtalertesting.la \
|
|
|
|
libtalerexchange.la \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
|
|
|
-lgnunetcurl \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson
|
|
|
|
|
2019-06-08 21:41:12 +02:00
|
|
|
test_exchange_api_keys_cherry_picking_SOURCES = \
|
|
|
|
test_exchange_api_keys_cherry_picking.c
|
|
|
|
test_exchange_api_keys_cherry_picking_LDADD = \
|
2018-01-23 10:28:24 +01:00
|
|
|
libtalertesting.la \
|
|
|
|
libtalerexchange.la \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
|
|
|
-lgnunetcurl \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson
|
|
|
|
|
2019-01-11 21:27:34 +01:00
|
|
|
test_auditor_api_SOURCES = \
|
|
|
|
test_auditor_api.c
|
|
|
|
test_auditor_api_LDADD = \
|
|
|
|
libtalerauditortesting.la \
|
|
|
|
libtalerauditor.la \
|
|
|
|
libtalertesting.la \
|
|
|
|
libtalerexchange.la \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
|
|
|
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
2020-01-12 20:25:59 +01:00
|
|
|
$(top_builddir)/src/bank-lib/libtalerbanktesting.la \
|
2019-01-11 21:27:34 +01:00
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
-lgnunetcurl \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson
|
|
|
|
|
|
|
|
|
2019-01-24 18:45:47 +01:00
|
|
|
test_auditor_api_version_SOURCES = \
|
|
|
|
test_auditor_api_version.c
|
|
|
|
test_auditor_api_version_LDADD = \
|
|
|
|
libtalerauditor.la \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
-lgnunetcurl \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson
|
|
|
|
|
|
|
|
|
2019-01-11 21:27:34 +01:00
|
|
|
|
2016-03-01 15:35:04 +01:00
|
|
|
EXTRA_DIST = \
|
2016-05-04 10:09:17 +02:00
|
|
|
test_exchange_api_home/.local/share/taler/exchange/offline-keys/master.priv \
|
2019-12-20 20:34:39 +01:00
|
|
|
test_exchange_api_home/.config/taler/account-2.json \
|
|
|
|
test_exchange_api_keys_cherry_picking_home/.config/taler/x-taler-bank.json \
|
|
|
|
test_exchange_api_keys_cherry_picking_home/.local/share/taler/exchange/wirefees/x-taler-bank.fee \
|
2019-12-24 23:16:35 +01:00
|
|
|
test_exchange_api_keys_cherry_picking_home/.local/share/taler/exchange/offline-keys/master.priv \
|
2016-05-04 10:09:17 +02:00
|
|
|
test_exchange_api_home/.config/taler/test.json \
|
|
|
|
test_exchange_api_home/.config/taler/sepa.json \
|
2017-09-14 20:52:39 +02:00
|
|
|
test_exchange_api.conf \
|
2019-12-24 23:25:08 +01:00
|
|
|
test_exchange_api_twisted.conf \
|
2017-09-14 20:52:39 +02:00
|
|
|
test_exchange_api_keys_cherry_picking.conf \
|
2019-01-11 21:27:34 +01:00
|
|
|
test_exchange_api_keys_cherry_picking_extended.conf \
|
2019-12-24 23:25:08 +01:00
|
|
|
test_exchange_api_keys_cherry_picking_extended_2.conf \
|
2019-12-24 23:09:06 +01:00
|
|
|
test_exchange_api_expire_reserve_now.conf \
|
2019-01-11 21:27:34 +01:00
|
|
|
test_auditor_api.conf \
|
|
|
|
test_auditor_api_expire_reserve_now.conf
|