exchange/src/auditor/Makefile.am

217 lines
5.8 KiB
Makefile
Raw Normal View History

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
clean-local:
2021-06-28 12:16:04 +02:00
rm -rf revocation-tmp-* taler-auditor
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
edit_script = $(SED) -e 's,%pkgdatadir%,$(pkgdatadir),'g $(NULL)
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
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
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
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
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
taler_helper_auditor_wire_SOURCES = \
taler-helper-auditor-wire.c
taler_helper_auditor_wire_LDADD = \
$(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 \
-ljansson \
-lgnunetjson \
-lgnunetcurl \
2020-11-12 22:25:59 +01:00
-lgnunetutil \
$(XLIB)
2018-10-06 17:29:03 +02:00
taler_auditor_httpd_SOURCES = \
taler-auditor-httpd.c taler-auditor-httpd.h \
taler-auditor-httpd_deposit-confirmation.c taler-auditor-httpd_deposit-confirmation.h \
taler-auditor-httpd_exchanges.c taler-auditor-httpd_exchanges.h \
taler-auditor-httpd_mhd.c taler-auditor-httpd_mhd.h
2018-10-06 17:29:03 +02:00
taler_auditor_httpd_LDADD = \
$(LIBGCRYPT_LIBS) \
$(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 = \
$(LIBGCRYPT_LIBS) \
$(top_builddir)/src/util/libtalerutil.la \
$(top_builddir)/src/pq/libtalerpq.la \
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
-lgnunetutil \
$(XLIB)
taler_auditor_sync_LDFLAGS = \
2021-01-11 19:04:49 +01:00
$(POSTGRESQL_LDFLAGS)
taler_auditor_sync_CPPFLAGS = \
2021-01-11 19:04:49 +01:00
-I$(top_srcdir)/src/include \
-I$(top_srcdir)/src/pq/ \
$(POSTGRESQL_CPPFLAGS)
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 15:17:10 +02:00
EXTRA_DIST = \
2020-03-29 03:22:55 +02:00
taler-auditor.in \
taler-helper-auditor-render.py \
auditor.conf \
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