2016-01-24 16:44:57 +01:00
|
|
|
# This Makefile.am is in the public domain
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/include
|
|
|
|
|
|
|
|
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 = \
|
|
|
|
wire-sepa.conf \
|
|
|
|
wire-test.conf
|
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
wire-sepa.conf \
|
2016-04-11 15:59:24 +02:00
|
|
|
wire-test.conf \
|
2017-05-16 18:56:10 +02:00
|
|
|
test_wire_plugin.conf \
|
|
|
|
test_wire_plugin_transactions_test.conf
|
2016-04-10 17:10:20 +02:00
|
|
|
|
2016-04-07 11:09:30 +02:00
|
|
|
plugindir = $(libdir)/taler
|
2016-01-24 16:44:57 +01:00
|
|
|
|
|
|
|
plugin_LTLIBRARIES = \
|
2016-01-25 11:31:06 +01:00
|
|
|
libtaler_plugin_wire_sepa.la \
|
2016-01-24 16:44:57 +01:00
|
|
|
libtaler_plugin_wire_test.la
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = \
|
|
|
|
libtaler_plugin_wire_template.la
|
|
|
|
|
2016-01-25 14:57:32 +01:00
|
|
|
lib_LTLIBRARIES = \
|
|
|
|
libtalerwire.la
|
|
|
|
|
2016-01-24 16:44:57 +01:00
|
|
|
|
|
|
|
libtaler_plugin_wire_test_la_SOURCES = \
|
|
|
|
plugin_wire_test.c
|
|
|
|
libtaler_plugin_wire_test_la_LIBADD = \
|
|
|
|
$(LTLIBINTL)
|
|
|
|
libtaler_plugin_wire_test_la_LDFLAGS = \
|
|
|
|
$(TALER_PLUGIN_LDFLAGS) \
|
2016-01-25 11:08:19 +01:00
|
|
|
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
2016-01-24 16:44:57 +01:00
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2016-04-17 20:03:57 +02:00
|
|
|
-lgnunetcurl \
|
2016-01-24 16:44:57 +01:00
|
|
|
-lgnunetutil $(XLIB)
|
|
|
|
|
|
|
|
|
2016-01-25 11:31:06 +01:00
|
|
|
libtaler_plugin_wire_sepa_la_SOURCES = \
|
|
|
|
plugin_wire_sepa.c
|
|
|
|
libtaler_plugin_wire_sepa_la_LIBADD = \
|
|
|
|
$(LTLIBINTL)
|
|
|
|
libtaler_plugin_wire_sepa_la_LDFLAGS = \
|
|
|
|
$(TALER_PLUGIN_LDFLAGS) \
|
2016-03-19 15:23:11 +01:00
|
|
|
$(top_builddir)/src/json/libtalerjson.la \
|
2016-01-25 11:31:06 +01:00
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2016-03-19 15:23:11 +01:00
|
|
|
-lgnunetjson \
|
2016-01-25 11:31:06 +01:00
|
|
|
-lgnunetutil $(XLIB)
|
|
|
|
|
2016-01-24 16:44:57 +01:00
|
|
|
|
|
|
|
libtaler_plugin_wire_template_la_SOURCES = \
|
|
|
|
plugin_wire_template.c
|
|
|
|
libtaler_plugin_wire_template_la_LIBADD = \
|
|
|
|
$(LTLIBINTL)
|
|
|
|
libtaler_plugin_wire_template_la_LDFLAGS = \
|
|
|
|
$(TALER_PLUGIN_LDFLAGS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
|
|
|
-lgnunetutil $(XLIB)
|
2016-01-25 12:51:04 +01:00
|
|
|
|
|
|
|
|
2016-01-25 14:57:32 +01:00
|
|
|
libtalerwire_la_SOURCES = \
|
|
|
|
wire.c
|
|
|
|
libtalerwire_la_LIBADD = \
|
2016-01-27 15:05:39 +01:00
|
|
|
-lgnunetutil \
|
2016-01-25 14:57:32 +01:00
|
|
|
$(XLIB)
|
|
|
|
libtalerwire_la_LDFLAGS = \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
-export-dynamic -no-undefined
|
|
|
|
|
2016-01-25 12:51:04 +01:00
|
|
|
|
2016-04-01 20:35:22 +02:00
|
|
|
AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
|
|
|
|
|
2016-01-25 12:51:04 +01:00
|
|
|
TESTS = \
|
2016-04-11 13:16:12 +02:00
|
|
|
test_sepa_wireformat \
|
|
|
|
test_wire_plugin
|
2016-01-25 12:51:04 +01:00
|
|
|
|
|
|
|
check_PROGRAMS= \
|
2016-04-11 13:16:12 +02:00
|
|
|
test_sepa_wireformat \
|
2017-05-16 18:56:10 +02:00
|
|
|
test_wire_plugin \
|
|
|
|
test_wire_plugin_transactions_test
|
2016-01-25 12:51:04 +01:00
|
|
|
|
|
|
|
|
|
|
|
test_sepa_wireformat_SOURCES = \
|
|
|
|
test_sepa_wireformat.c
|
|
|
|
test_sepa_wireformat_LDADD = \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
2016-01-25 14:57:32 +01:00
|
|
|
libtalerwire.la \
|
2016-01-25 12:51:04 +01:00
|
|
|
$(top_builddir)/src/util/libtalerutil.la
|
2016-04-11 13:16:12 +02:00
|
|
|
|
|
|
|
|
|
|
|
test_wire_plugin_SOURCES = \
|
|
|
|
test_wire_plugin.c
|
|
|
|
test_wire_plugin_LDADD = \
|
2016-04-11 15:59:24 +02:00
|
|
|
-lgnunetjson \
|
2016-04-11 13:16:12 +02:00
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
|
|
|
libtalerwire.la \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la
|
2017-05-16 18:56:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
test_wire_plugin_transactions_test_SOURCES = \
|
|
|
|
test_wire_plugin_transactions_test.c
|
|
|
|
test_wire_plugin_transactions_test_LDADD = \
|
|
|
|
-lgnunetjson \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
|
|
|
libtalerwire.la \
|
|
|
|
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la
|