2016-03-01 15:35:04 +01:00
|
|
|
# This Makefile.am is in the public domain
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/include
|
|
|
|
|
2016-04-10 17:10:20 +02:00
|
|
|
pkgcfgdir = $(prefix)/share/taler/config.d/
|
|
|
|
|
|
|
|
pkgcfg_DATA = \
|
2020-12-01 09:19:58 +01:00
|
|
|
coins.conf \
|
|
|
|
exchange-offline.conf
|
2016-04-10 17:10:20 +02:00
|
|
|
|
2016-03-01 15:35:04 +01:00
|
|
|
if USE_COVERAGE
|
|
|
|
AM_CFLAGS = --coverage -O0
|
|
|
|
XLIB = -lgcov
|
|
|
|
endif
|
|
|
|
|
|
|
|
bin_PROGRAMS = \
|
|
|
|
taler-exchange-keyup \
|
|
|
|
taler-exchange-keycheck \
|
2020-12-04 16:43:23 +01:00
|
|
|
taler-exchange-offline \
|
2016-04-02 20:58:22 +02:00
|
|
|
taler-exchange-wire \
|
2020-03-07 12:23:32 +01:00
|
|
|
taler-exchange-dbinit
|
2016-03-01 15:35:04 +01:00
|
|
|
|
|
|
|
taler_exchange_keyup_SOURCES = \
|
|
|
|
taler-exchange-keyup.c
|
|
|
|
taler_exchange_keyup_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
2020-07-05 21:54:11 +02:00
|
|
|
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/pq/libtalerpq.la \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2020-11-12 22:25:59 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
$(XLIB)
|
2016-03-01 15:35:04 +01:00
|
|
|
taler_exchange_keyup_LDFLAGS = $(POSTGRESQL_LDFLAGS)
|
|
|
|
|
|
|
|
|
2020-12-04 16:43:23 +01:00
|
|
|
taler_exchange_offline_SOURCES = \
|
|
|
|
taler-exchange-offline.c
|
|
|
|
taler_exchange_offline_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/lib/libtalerexchange.la \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2020-12-04 18:07:29 +01:00
|
|
|
-lgnunetjson \
|
2020-12-04 16:43:23 +01:00
|
|
|
-lgnunetcurl \
|
2020-12-04 18:07:29 +01:00
|
|
|
-ljansson \
|
2020-12-04 16:43:23 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
$(XLIB)
|
|
|
|
|
|
|
|
|
2016-04-02 20:58:22 +02:00
|
|
|
taler_exchange_wire_SOURCES = \
|
|
|
|
taler-exchange-wire.c
|
|
|
|
taler_exchange_wire_LDADD = \
|
2016-03-01 15:35:04 +01:00
|
|
|
$(LIBGCRYPT_LIBS) \
|
2018-04-02 14:24:45 +02:00
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
2020-01-11 15:19:56 +01:00
|
|
|
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
2016-03-01 15:35:04 +01:00
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2016-03-19 15:23:11 +01:00
|
|
|
-lgnunetjson \
|
|
|
|
-lgnunetutil \
|
2020-11-12 22:25:59 +01:00
|
|
|
-ljansson \
|
|
|
|
$(XLIB)
|
2016-04-02 20:58:22 +02:00
|
|
|
taler_exchange_wire_LDFLAGS = $(POSTGRESQL_LDFLAGS)
|
2016-03-01 15:35:04 +01:00
|
|
|
|
|
|
|
taler_exchange_keycheck_SOURCES = \
|
|
|
|
taler-exchange-keycheck.c
|
|
|
|
taler_exchange_keycheck_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
2020-11-12 22:25:59 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
$(XLIB)
|
2016-03-01 15:35:04 +01:00
|
|
|
taler_exchange_keycheck_LDFLAGS = $(POSTGRESQL_LDFLAGS)
|
|
|
|
|
|
|
|
taler_exchange_dbinit_SOURCES = \
|
|
|
|
taler-exchange-dbinit.c
|
|
|
|
taler_exchange_dbinit_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
$(top_builddir)/src/pq/libtalerpq.la \
|
|
|
|
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
2020-11-12 22:25:59 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
$(XLIB)
|
2016-03-01 15:35:04 +01:00
|
|
|
taler_exchange_dbinit_LDFLAGS = \
|
|
|
|
$(POSTGRESQL_LDFLAGS)
|
|
|
|
taler_exchange_dbinit_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir)/src/include \
|
|
|
|
-I$(top_srcdir)/src/pq/ \
|
|
|
|
$(POSTGRESQL_CPPFLAGS)
|
2016-04-10 17:10:20 +02:00
|
|
|
|
|
|
|
|
2020-03-18 13:58:40 +01:00
|
|
|
# Testcases
|
|
|
|
|
|
|
|
AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
|
|
|
|
|
|
|
|
check_SCRIPTS = \
|
|
|
|
test_taler_exchange_keyup.sh
|
|
|
|
|
|
|
|
TESTS = \
|
|
|
|
$(check_SCRIPTS)
|
|
|
|
|
|
|
|
# Distribution
|
|
|
|
|
2016-04-10 17:10:20 +02:00
|
|
|
EXTRA_DIST = \
|
2020-03-18 13:58:40 +01:00
|
|
|
test_taler_exchange_httpd_home/.local/share/taler/exchange/offline-keys/master.priv \
|
|
|
|
test_taler_exchange_httpd.conf \
|
2020-03-29 03:22:55 +02:00
|
|
|
key-helper.c \
|
2020-03-18 13:58:40 +01:00
|
|
|
$(check_SCRIPTS) \
|
|
|
|
$(pkgcfg_DATA)
|