2016-10-06 15:17:10 +02:00
|
|
|
# This Makefile.am is in the public domain
|
2017-03-14 12:22:03 +01:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/include
|
2016-10-06 15:17:10 +02:00
|
|
|
|
|
|
|
if USE_COVERAGE
|
|
|
|
AM_CFLAGS = --coverage -O0
|
|
|
|
XLIB = -lgcov
|
|
|
|
endif
|
|
|
|
|
|
|
|
pkgcfgdir = $(prefix)/share/taler/config.d/
|
|
|
|
|
|
|
|
pkgcfg_DATA = \
|
|
|
|
auditor.conf
|
|
|
|
|
2021-01-02 12:00:00 +01:00
|
|
|
clean-local:
|
2021-06-28 12:16:04 +02:00
|
|
|
rm -rf revocation-tmp-* taler-auditor
|
2021-01-02 12:00:00 +01:00
|
|
|
|
2016-10-06 15:17:10 +02:00
|
|
|
bin_PROGRAMS = \
|
2020-03-21 16:09:22 +01:00
|
|
|
taler-auditor-dbinit \
|
2018-11-03 21:28:52 +01:00
|
|
|
taler-auditor-exchange \
|
2018-10-06 17:29:03 +02:00
|
|
|
taler-auditor-httpd \
|
2021-01-11 19:04:49 +01:00
|
|
|
taler-auditor-sync \
|
2020-03-21 16:09:22 +01:00
|
|
|
taler-helper-auditor-aggregation \
|
|
|
|
taler-helper-auditor-coins \
|
|
|
|
taler-helper-auditor-deposits \
|
|
|
|
taler-helper-auditor-reserves \
|
|
|
|
taler-helper-auditor-wire
|
|
|
|
|
|
|
|
bin_SCRIPTS = \
|
|
|
|
taler-auditor \
|
|
|
|
taler-helper-auditor-render.py
|
|
|
|
|
2021-07-26 16:16:52 +02:00
|
|
|
edit_script = $(SED) -e 's,%datadir%,$(datadir),'g $(NULL)
|
2020-03-21 16:09:22 +01:00
|
|
|
|
|
|
|
taler-auditor: taler-auditor.in
|
|
|
|
rm -f $@ $@.tmp && \
|
|
|
|
$(edit_script) $< >$@.tmp && \
|
|
|
|
chmod a-w+x $@.tmp && \
|
|
|
|
mv $@.tmp $@
|
2018-04-23 17:04:19 +02:00
|
|
|
|
2020-03-21 18:15:11 +01:00
|
|
|
lib_LTLIBRARIES = \
|
|
|
|
libauditorreport.la
|
2020-03-20 22:34:17 +01:00
|
|
|
|
2020-03-21 18:15:11 +01:00
|
|
|
libauditorreport_la_SOURCES = \
|
2020-03-20 22:34:17 +01:00
|
|
|
report-lib.c report-lib.h
|
2020-03-21 18:15:11 +01:00
|
|
|
libauditorreport_la_LIBADD = \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
$(top_builddir)/src/pq/libtalerpq.la \
|
|
|
|
$(top_builddir)/src/auditordb/libtalerauditordb.la \
|
2020-03-22 01:06:53 +01:00
|
|
|
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
2020-12-31 22:13:12 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
|
|
|
$(XLIB)
|
2020-03-20 22:34:17 +01:00
|
|
|
|
2018-04-23 17:04:19 +02:00
|
|
|
taler_auditor_dbinit_SOURCES = \
|
|
|
|
taler-auditor-dbinit.c
|
|
|
|
taler_auditor_dbinit_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
$(top_builddir)/src/pq/libtalerpq.la \
|
|
|
|
$(top_builddir)/src/auditordb/libtalerauditordb.la \
|
|
|
|
-lgnunetutil $(XLIB)
|
|
|
|
taler_auditor_dbinit_LDFLAGS = \
|
|
|
|
$(POSTGRESQL_LDFLAGS)
|
|
|
|
taler_auditor_dbinit_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir)/src/include \
|
|
|
|
-I$(top_srcdir)/src/pq/ \
|
|
|
|
$(POSTGRESQL_CPPFLAGS)
|
2016-10-06 15:17:10 +02:00
|
|
|
|
2020-03-21 11:05:51 +01:00
|
|
|
taler_helper_auditor_reserves_SOURCES = \
|
|
|
|
taler-helper-auditor-reserves.c
|
|
|
|
taler_helper_auditor_reserves_LDADD = \
|
2020-03-20 22:34:17 +01:00
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
|
|
|
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
|
|
|
$(top_builddir)/src/auditordb/libtalerauditordb.la \
|
2020-03-21 18:15:11 +01:00
|
|
|
libauditorreport.la \
|
2020-03-20 22:34:17 +01:00
|
|
|
-ljansson \
|
|
|
|
-lgnunetjson \
|
2020-11-12 22:25:59 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
$(XLIB)
|
2020-03-20 22:34:17 +01:00
|
|
|
|
2020-03-21 11:05:51 +01:00
|
|
|
taler_helper_auditor_coins_SOURCES = \
|
|
|
|
taler-helper-auditor-coins.c
|
|
|
|
taler_helper_auditor_coins_LDADD = \
|
2020-03-20 22:34:17 +01:00
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
|
|
|
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
|
|
|
$(top_builddir)/src/auditordb/libtalerauditordb.la \
|
2020-03-21 18:15:11 +01:00
|
|
|
libauditorreport.la \
|
2020-03-20 22:34:17 +01:00
|
|
|
-ljansson \
|
|
|
|
-lgnunetjson \
|
2020-11-12 22:25:59 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
$(XLIB)
|
2020-03-20 22:34:17 +01:00
|
|
|
|
2020-03-21 11:05:51 +01:00
|
|
|
taler_helper_auditor_aggregation_SOURCES = \
|
|
|
|
taler-helper-auditor-aggregation.c
|
|
|
|
taler_helper_auditor_aggregation_LDADD = \
|
2020-03-20 22:34:17 +01:00
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
|
|
|
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
|
|
|
$(top_builddir)/src/auditordb/libtalerauditordb.la \
|
2020-03-21 18:15:11 +01:00
|
|
|
libauditorreport.la \
|
2020-03-20 22:34:17 +01:00
|
|
|
-ljansson \
|
|
|
|
-lgnunetjson \
|
2020-11-12 22:25:59 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
$(XLIB)
|
2020-03-20 22:34:17 +01:00
|
|
|
|
2020-03-21 11:05:51 +01:00
|
|
|
taler_helper_auditor_deposits_SOURCES = \
|
|
|
|
taler-helper-auditor-deposits.c
|
|
|
|
taler_helper_auditor_deposits_LDADD = \
|
2020-03-20 22:34:17 +01:00
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
|
|
|
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
|
|
|
$(top_builddir)/src/auditordb/libtalerauditordb.la \
|
2020-03-21 18:15:11 +01:00
|
|
|
libauditorreport.la \
|
2020-03-20 22:34:17 +01:00
|
|
|
-ljansson \
|
|
|
|
-lgnunetjson \
|
2020-11-12 22:25:59 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
$(XLIB)
|
2020-03-20 22:34:17 +01:00
|
|
|
|
2020-03-21 11:05:51 +01:00
|
|
|
taler_helper_auditor_wire_SOURCES = \
|
|
|
|
taler-helper-auditor-wire.c
|
|
|
|
taler_helper_auditor_wire_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
2021-07-29 23:56:46 +02:00
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2020-03-21 11:05:51 +01:00
|
|
|
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
|
|
|
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
|
|
|
$(top_builddir)/src/auditordb/libtalerauditordb.la \
|
2020-03-21 18:15:11 +01:00
|
|
|
libauditorreport.la \
|
2020-03-21 11:05:51 +01:00
|
|
|
-ljansson \
|
|
|
|
-lgnunetjson \
|
|
|
|
-lgnunetcurl \
|
2020-11-12 22:25:59 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
$(XLIB)
|
2020-03-21 11:05:51 +01:00
|
|
|
|
|
|
|
|
2018-10-06 17:29:03 +02:00
|
|
|
taler_auditor_httpd_SOURCES = \
|
|
|
|
taler-auditor-httpd.c taler-auditor-httpd.h \
|
2018-10-21 20:52:26 +02:00
|
|
|
taler-auditor-httpd_deposit-confirmation.c taler-auditor-httpd_deposit-confirmation.h \
|
2018-10-28 12:03:07 +01:00
|
|
|
taler-auditor-httpd_exchanges.c taler-auditor-httpd_exchanges.h \
|
2019-11-23 22:21:47 +01:00
|
|
|
taler-auditor-httpd_mhd.c taler-auditor-httpd_mhd.h
|
2018-10-06 17:29:03 +02:00
|
|
|
taler_auditor_httpd_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
2019-11-23 18:47:07 +01:00
|
|
|
$(top_builddir)/src/mhd/libtalermhd.la \
|
2018-10-06 17:29:03 +02:00
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/auditordb/libtalerauditordb.la \
|
2020-12-26 15:55:34 +01:00
|
|
|
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
2018-10-06 17:29:03 +02:00
|
|
|
-lmicrohttpd \
|
|
|
|
-ljansson \
|
|
|
|
-lgnunetjson \
|
|
|
|
-lgnunetutil \
|
2020-11-12 22:25:59 +01:00
|
|
|
-lz \
|
|
|
|
$(XLIB)
|
2018-10-06 17:29:03 +02:00
|
|
|
|
2018-11-03 21:28:52 +01:00
|
|
|
taler_auditor_exchange_SOURCES = \
|
|
|
|
taler-auditor-exchange.c
|
|
|
|
taler_auditor_exchange_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
$(top_builddir)/src/auditordb/libtalerauditordb.la \
|
2020-11-12 22:25:59 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
$(XLIB)
|
2018-11-03 21:28:52 +01:00
|
|
|
|
2021-01-11 19:04:49 +01:00
|
|
|
taler_auditor_sync_SOURCES = \
|
|
|
|
taler-auditor-sync.c
|
|
|
|
taler_auditor_sync_LDADD = \
|
|
|
|
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
2021-07-29 23:56:46 +02:00
|
|
|
$(top_builddir)/src/pq/libtalerpq.la \
|
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
-lgnunetjson \
|
2021-01-11 19:04:49 +01:00
|
|
|
-lgnunetutil \
|
2021-07-29 23:56:46 +02:00
|
|
|
$(LIBGCRYPT_LIBS) \
|
2021-01-11 19:04:49 +01:00
|
|
|
$(XLIB)
|
2021-03-08 08:23:26 +01:00
|
|
|
taler_auditor_sync_LDFLAGS = \
|
2021-01-11 19:04:49 +01:00
|
|
|
$(POSTGRESQL_LDFLAGS)
|
2021-03-08 08:23:26 +01:00
|
|
|
taler_auditor_sync_CPPFLAGS = \
|
2021-01-11 19:04:49 +01:00
|
|
|
-I$(top_srcdir)/src/include \
|
|
|
|
-I$(top_srcdir)/src/pq/ \
|
|
|
|
$(POSTGRESQL_CPPFLAGS)
|
|
|
|
|
|
|
|
|
2019-08-23 15:21:26 +02:00
|
|
|
check_SCRIPTS = \
|
2020-03-26 17:21:41 +01:00
|
|
|
test-auditor.sh \
|
2021-01-13 19:47:45 +01:00
|
|
|
test-revocation.sh \
|
|
|
|
test-sync.sh
|
2018-11-03 21:28:52 +01:00
|
|
|
|
2020-03-27 17:28:33 +01:00
|
|
|
.NOTPARALLEL:
|
2019-10-06 12:32:13 +02:00
|
|
|
TESTS = $(check_SCRIPTS)
|
2016-10-06 16:38:42 +02:00
|
|
|
|
2016-10-06 15:17:10 +02:00
|
|
|
EXTRA_DIST = \
|
2020-03-29 03:22:55 +02:00
|
|
|
taler-auditor.in \
|
|
|
|
taler-helper-auditor-render.py \
|
2019-08-23 15:21:26 +02:00
|
|
|
auditor.conf \
|
2019-12-20 20:10:46 +01:00
|
|
|
test-auditor.conf \
|
2021-01-13 19:47:45 +01:00
|
|
|
test-sync-in.conf \
|
|
|
|
test-sync-out.conf \
|
2019-09-06 03:08:49 +02:00
|
|
|
generate-auditor-basedb.sh \
|
2020-03-26 17:21:41 +01:00
|
|
|
generate-revoke-basedb.sh \
|
2019-09-06 03:08:49 +02:00
|
|
|
generate-auditor-basedb.conf \
|
|
|
|
generate-auditor-basedb-template.conf \
|
|
|
|
$(check_SCRIPTS) \
|
2020-03-26 17:21:41 +01:00
|
|
|
auditor-basedb.age \
|
2019-09-06 03:08:49 +02:00
|
|
|
auditor-basedb.sql \
|
2020-03-26 17:21:41 +01:00
|
|
|
auditor-basedb.mpub \
|
|
|
|
revoke-basedb.age \
|
|
|
|
revoke-basedb.sql \
|
|
|
|
revoke-basedb.mpub
|