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
|
|
|
|
2020-11-15 12:13:28 +01:00
|
|
|
libexecdir = $(pkglibdir)/libexec/
|
|
|
|
|
2016-04-10 17:10:20 +02:00
|
|
|
pkgcfgdir = $(prefix)/share/taler/config.d/
|
|
|
|
|
|
|
|
pkgcfg_DATA = \
|
|
|
|
paths.conf
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2016-05-04 10:21:35 +02:00
|
|
|
paths.conf \
|
2016-11-14 15:51:06 +01:00
|
|
|
taler-config.in
|
2016-04-13 15:58:02 +02:00
|
|
|
|
2020-11-15 12:13:28 +01:00
|
|
|
libexec_PROGRAMS = \
|
|
|
|
taler-helper-crypto-rsa
|
|
|
|
|
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 $@
|
|
|
|
|
|
|
|
|
2020-11-15 12:13:28 +01:00
|
|
|
taler_helper_crypto_rsa_SOURCES = \
|
|
|
|
taler-helper-crypto-rsa.c taler-helper-crypto-rsa.h
|
|
|
|
taler_helper_crypto_rsa_LDADD = \
|
|
|
|
libtalerutil.la \
|
|
|
|
-lgnunetutil \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(XLIB)
|
2020-03-28 22:12:47 +01:00
|
|
|
|
2015-01-08 18:37:20 +01:00
|
|
|
lib_LTLIBRARIES = \
|
|
|
|
libtalerutil.la
|
|
|
|
|
|
|
|
libtalerutil_la_SOURCES = \
|
2015-01-27 16:18:33 +01:00
|
|
|
amount.c \
|
2020-01-19 20:33:07 +01:00
|
|
|
config.c \
|
2015-01-27 16:18:33 +01:00
|
|
|
crypto.c \
|
2018-04-02 14:24:45 +02:00
|
|
|
crypto_wire.c \
|
2020-01-19 20:33:07 +01:00
|
|
|
getopt.c \
|
2020-08-19 18:19:00 +02:00
|
|
|
lang.c \
|
2020-01-19 20:36:34 +01:00
|
|
|
mhd.c \
|
2020-01-19 20:33:07 +01:00
|
|
|
payto.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 \
|
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 \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
2015-04-13 13:57:38 +02:00
|
|
|
-lmicrohttpd $(XLIB)
|
2015-01-08 18:37:20 +01:00
|
|
|
|
|
|
|
libtalerutil_la_LDFLAGS = \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
-export-dynamic -no-undefined
|
2015-02-17 17:23:13 +01:00
|
|
|
|
|
|
|
|
2016-03-30 22:56:17 +02:00
|
|
|
check_PROGRAMS = \
|
2015-04-13 17:20:46 +02:00
|
|
|
test_amount \
|
2018-01-31 17:47:01 +01:00
|
|
|
test_crypto \
|
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)
|
|
|
|
|
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 = \
|
|
|
|
-lgnunetutil \
|
|
|
|
libtalerutil.la
|
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
|
|
|
|
|
2018-01-31 17:47:01 +01:00
|
|
|
test_url_SOURCES = \
|
|
|
|
test_url.c
|
|
|
|
test_url_LDADD = \
|
|
|
|
-lgnunetutil \
|
|
|
|
libtalerutil.la
|