2015-02-08 00:17:40 +01:00
|
|
|
# This Makefile.am is in the public domain
|
2016-03-19 15:23:11 +01:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(LIBGCRYPT_CFLAGS)
|
2015-01-08 18:37:20 +01:00
|
|
|
|
2015-04-13 13:57:38 +02:00
|
|
|
if USE_COVERAGE
|
|
|
|
AM_CFLAGS = --coverage -O0
|
|
|
|
XLIB = -lgcov
|
|
|
|
endif
|
|
|
|
|
2016-04-10 17:10:20 +02:00
|
|
|
|
|
|
|
pkgcfgdir = $(prefix)/share/taler/config.d/
|
|
|
|
|
|
|
|
pkgcfg_DATA = \
|
2020-11-15 13:26:49 +01:00
|
|
|
paths.conf \
|
2021-01-17 20:07:55 +01:00
|
|
|
taler-exchange-secmod-eddsa.conf \
|
2022-01-03 14:38:59 +01:00
|
|
|
taler-exchange-secmod-rsa.conf \
|
|
|
|
taler-exchange-secmod-cs.conf
|
2016-04-10 17:10:20 +02:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2020-12-08 19:13:39 +01:00
|
|
|
$(pkgcfg_DATA) \
|
2020-11-22 18:31:33 +01:00
|
|
|
taler-config.in \
|
2020-11-23 21:10:55 +01:00
|
|
|
test_helper_eddsa.conf \
|
2022-01-03 14:38:59 +01:00
|
|
|
test_helper_rsa.conf \
|
2023-05-10 22:09:47 +02:00
|
|
|
test_helper_cs.conf \
|
|
|
|
test_conversion.sh
|
2016-04-13 15:58:02 +02:00
|
|
|
|
2020-12-31 22:31:32 +01:00
|
|
|
bin_PROGRAMS = \
|
2021-01-17 20:07:55 +01:00
|
|
|
taler-exchange-secmod-eddsa \
|
2022-01-03 14:38:59 +01:00
|
|
|
taler-exchange-secmod-rsa \
|
|
|
|
taler-exchange-secmod-cs
|
2020-11-15 12:13:28 +01:00
|
|
|
|
2016-11-17 13:33:17 +01:00
|
|
|
bin_SCRIPTS = \
|
|
|
|
taler-config
|
|
|
|
|
2020-03-28 22:12:47 +01:00
|
|
|
edit_script = $(SED) -e 's,%libdir%,$(libdir),'g $(NULL)
|
|
|
|
|
|
|
|
taler-config: taler-config.in
|
|
|
|
rm -f $@ $@.tmp && \
|
|
|
|
$(edit_script) $< >$@.tmp && \
|
|
|
|
chmod a-w+x $@.tmp && \
|
|
|
|
mv $@.tmp $@
|
|
|
|
|
2021-01-02 12:00:00 +01:00
|
|
|
CLEANFILES = \
|
|
|
|
taler-config
|
2020-03-28 22:12:47 +01:00
|
|
|
|
2021-01-17 20:07:55 +01:00
|
|
|
taler_exchange_secmod_rsa_SOURCES = \
|
2021-07-27 11:26:48 +02:00
|
|
|
taler-exchange-secmod-rsa.c taler-exchange-secmod-rsa.h \
|
|
|
|
secmod_common.c secmod_common.h
|
2021-01-17 20:07:55 +01:00
|
|
|
taler_exchange_secmod_rsa_LDADD = \
|
2020-11-15 12:13:28 +01:00
|
|
|
libtalerutil.la \
|
|
|
|
-lgnunetutil \
|
2020-11-15 12:27:26 +01:00
|
|
|
-lpthread \
|
2020-11-15 12:13:28 +01:00
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(XLIB)
|
2020-03-28 22:12:47 +01:00
|
|
|
|
2022-01-03 14:38:59 +01:00
|
|
|
taler_exchange_secmod_cs_SOURCES = \
|
|
|
|
taler-exchange-secmod-cs.c taler-exchange-secmod-cs.h \
|
|
|
|
secmod_common.c secmod_common.h
|
|
|
|
taler_exchange_secmod_cs_LDADD = \
|
|
|
|
libtalerutil.la \
|
|
|
|
-lgnunetutil \
|
|
|
|
-lpthread \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(XLIB)
|
|
|
|
|
2021-01-17 20:07:55 +01:00
|
|
|
taler_exchange_secmod_eddsa_SOURCES = \
|
2021-07-27 11:26:48 +02:00
|
|
|
taler-exchange-secmod-eddsa.c taler-exchange-secmod-eddsa.h \
|
|
|
|
secmod_common.c secmod_common.h
|
2021-01-17 20:07:55 +01:00
|
|
|
taler_exchange_secmod_eddsa_LDADD = \
|
2020-11-22 23:31:35 +01:00
|
|
|
libtalerutil.la \
|
|
|
|
-lgnunetutil \
|
|
|
|
-lpthread \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(XLIB)
|
|
|
|
|
2015-01-08 18:37:20 +01:00
|
|
|
lib_LTLIBRARIES = \
|
|
|
|
libtalerutil.la
|
|
|
|
|
|
|
|
libtalerutil_la_SOURCES = \
|
2022-03-02 07:58:55 +01:00
|
|
|
age_restriction.c \
|
2015-01-27 16:18:33 +01:00
|
|
|
amount.c \
|
2023-01-01 18:36:54 +01:00
|
|
|
aml_signatures.c \
|
2020-12-06 00:05:45 +01:00
|
|
|
auditor_signatures.c \
|
2020-01-19 20:33:07 +01:00
|
|
|
config.c \
|
2023-05-10 22:09:47 +02:00
|
|
|
conversion.c \
|
2015-01-27 16:18:33 +01:00
|
|
|
crypto.c \
|
2023-02-21 12:57:33 +01:00
|
|
|
crypto_confirmation.c \
|
2022-03-28 13:19:21 +02:00
|
|
|
crypto_contract.c \
|
2021-11-18 14:17:52 +01:00
|
|
|
crypto_helper_common.c crypto_helper_common.h \
|
2021-11-17 23:02:05 +01:00
|
|
|
crypto_helper_rsa.c \
|
2022-01-03 14:38:59 +01:00
|
|
|
crypto_helper_cs.c \
|
2020-11-23 20:30:10 +01:00
|
|
|
crypto_helper_esign.c \
|
2018-04-02 14:24:45 +02:00
|
|
|
crypto_wire.c \
|
2021-10-22 22:04:35 +02:00
|
|
|
denom.c \
|
2021-11-06 19:43:47 +01:00
|
|
|
exchange_signatures.c \
|
2020-01-19 20:33:07 +01:00
|
|
|
getopt.c \
|
2020-08-19 18:19:00 +02:00
|
|
|
lang.c \
|
2021-08-14 13:54:01 +02:00
|
|
|
iban.c \
|
2021-12-25 14:58:04 +01:00
|
|
|
merchant_signatures.c \
|
2020-01-19 20:36:34 +01:00
|
|
|
mhd.c \
|
2020-12-04 20:29:18 +01:00
|
|
|
offline_signatures.c \
|
2020-01-19 20:33:07 +01:00
|
|
|
payto.c \
|
2020-12-05 19:47:54 +01:00
|
|
|
secmod_signatures.c \
|
2020-07-22 07:37:39 +02:00
|
|
|
taler_error_codes.c \
|
2020-01-19 20:33:07 +01:00
|
|
|
url.c \
|
2015-01-08 18:37:20 +01:00
|
|
|
util.c \
|
2021-01-10 00:54:12 +01:00
|
|
|
wallet_signatures.c \
|
2020-06-12 21:16:40 +02:00
|
|
|
yna.c \
|
2016-04-07 23:06:05 +02:00
|
|
|
os_installation.c
|
2015-01-08 18:37:20 +01:00
|
|
|
|
|
|
|
libtalerutil_la_LIBADD = \
|
|
|
|
-lgnunetutil \
|
2022-11-04 12:18:16 +01:00
|
|
|
-lgnunetjson \
|
2022-03-28 13:57:43 +02:00
|
|
|
-lsodium \
|
|
|
|
-ljansson \
|
2015-01-08 18:37:20 +01:00
|
|
|
$(LIBGCRYPT_LIBS) \
|
2021-09-06 17:02:24 +02:00
|
|
|
-lmicrohttpd $(XLIB) \
|
2022-03-28 13:57:43 +02:00
|
|
|
-lz \
|
2021-09-06 17:02:24 +02:00
|
|
|
-lm
|
2015-01-08 18:37:20 +01:00
|
|
|
|
|
|
|
libtalerutil_la_LDFLAGS = \
|
|
|
|
-version-info 0:0:0 \
|
2021-07-29 23:56:46 +02:00
|
|
|
-no-undefined
|
2015-02-17 17:23:13 +01:00
|
|
|
|
|
|
|
|
2020-11-22 18:31:33 +01:00
|
|
|
AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
|
|
|
|
|
2016-03-30 22:56:17 +02:00
|
|
|
check_PROGRAMS = \
|
2022-03-03 19:35:24 +01:00
|
|
|
test_age_restriction \
|
2015-04-13 17:20:46 +02:00
|
|
|
test_amount \
|
2023-05-10 22:09:47 +02:00
|
|
|
test_conversion \
|
2018-01-31 17:47:01 +01:00
|
|
|
test_crypto \
|
2020-11-23 21:10:55 +01:00
|
|
|
test_helper_eddsa \
|
2020-11-22 18:31:33 +01:00
|
|
|
test_helper_rsa \
|
2022-01-03 14:38:59 +01:00
|
|
|
test_helper_cs \
|
2020-01-14 15:57:36 +01:00
|
|
|
test_payto \
|
2018-01-31 17:47:01 +01:00
|
|
|
test_url
|
2015-02-17 17:23:13 +01:00
|
|
|
|
2020-01-14 15:57:36 +01:00
|
|
|
TESTS = \
|
|
|
|
$(check_PROGRAMS)
|
|
|
|
|
2022-03-03 19:35:24 +01:00
|
|
|
test_age_restriction_SOURCES = \
|
|
|
|
test_age_restriction.c
|
|
|
|
test_age_restriction_LDADD = \
|
|
|
|
-lgnunetutil \
|
|
|
|
libtalerutil.la
|
2015-04-13 17:20:46 +02:00
|
|
|
|
2023-05-10 22:09:47 +02:00
|
|
|
test_conversion_SOURCES = \
|
|
|
|
test_conversion.c
|
|
|
|
test_conversion_LDADD = \
|
|
|
|
-lgnunetjson \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
|
|
|
libtalerutil.la
|
|
|
|
|
2015-04-13 17:20:46 +02:00
|
|
|
test_amount_SOURCES = \
|
|
|
|
test_amount.c
|
|
|
|
test_amount_LDADD = \
|
|
|
|
-lgnunetutil \
|
|
|
|
libtalerutil.la
|
|
|
|
|
|
|
|
test_crypto_SOURCES = \
|
|
|
|
test_crypto.c
|
|
|
|
test_crypto_LDADD = \
|
2022-04-27 13:09:41 +02:00
|
|
|
libtalerutil.la \
|
2015-04-13 17:20:46 +02:00
|
|
|
-lgnunetutil \
|
2022-04-27 13:09:41 +02:00
|
|
|
-ljansson
|
2018-01-31 17:47:01 +01:00
|
|
|
|
2020-01-14 15:57:36 +01:00
|
|
|
test_payto_SOURCES = \
|
|
|
|
test_payto.c
|
|
|
|
test_payto_LDADD = \
|
|
|
|
-lgnunetutil \
|
|
|
|
libtalerutil.la
|
|
|
|
|
2020-11-23 21:10:55 +01:00
|
|
|
test_helper_eddsa_SOURCES = \
|
|
|
|
test_helper_eddsa.c
|
|
|
|
test_helper_eddsa_LDADD = \
|
|
|
|
-lgnunetutil \
|
|
|
|
libtalerutil.la
|
|
|
|
|
2020-11-22 18:31:33 +01:00
|
|
|
test_helper_rsa_SOURCES = \
|
|
|
|
test_helper_rsa.c
|
|
|
|
test_helper_rsa_LDADD = \
|
|
|
|
-lgnunetutil \
|
|
|
|
libtalerutil.la
|
|
|
|
|
2022-01-03 14:38:59 +01:00
|
|
|
test_helper_cs_SOURCES = \
|
|
|
|
test_helper_cs.c
|
|
|
|
test_helper_cs_LDADD = \
|
|
|
|
-lgnunetutil \
|
|
|
|
libtalerutil.la
|
|
|
|
|
2018-01-31 17:47:01 +01:00
|
|
|
test_url_SOURCES = \
|
|
|
|
test_url.c
|
|
|
|
test_url_LDADD = \
|
|
|
|
-lgnunetutil \
|
|
|
|
libtalerutil.la
|