aboutsummaryrefslogtreecommitdiff
path: root/src/wire/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/wire/Makefile.am')
-rw-r--r--src/wire/Makefile.am31
1 files changed, 29 insertions, 2 deletions
diff --git a/src/wire/Makefile.am b/src/wire/Makefile.am
index eb2e893fa..debb27828 100644
--- a/src/wire/Makefile.am
+++ b/src/wire/Makefile.am
@@ -6,6 +6,18 @@ if USE_COVERAGE
XLIB = -lgcov
endif
+pkgcfgdir = $(prefix)/share/taler/config.d/
+
+pkgcfg_DATA = \
+ wire-sepa.conf \
+ wire-test.conf
+
+
+EXTRA_DIST = \
+ wire-sepa.conf \
+ wire-test.conf \
+ test_wire_plugin.conf
+
plugindir = $(libdir)/taler
plugin_LTLIBRARIES = \
@@ -36,7 +48,9 @@ libtaler_plugin_wire_sepa_la_LIBADD = \
$(LTLIBINTL)
libtaler_plugin_wire_sepa_la_LDFLAGS = \
$(TALER_PLUGIN_LDFLAGS) \
+ $(top_builddir)/src/json/libtalerjson.la \
$(top_builddir)/src/util/libtalerutil.la \
+ -lgnunetjson \
-lgnunetutil $(XLIB)
@@ -60,11 +74,15 @@ libtalerwire_la_LDFLAGS = \
-export-dynamic -no-undefined
+AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
+
TESTS = \
- test_sepa_wireformat
+ test_sepa_wireformat \
+ test_wire_plugin
check_PROGRAMS= \
- test_sepa_wireformat
+ test_sepa_wireformat \
+ test_wire_plugin
@@ -76,3 +94,12 @@ test_sepa_wireformat_LDADD = \
libtalerwire.la \
$(top_builddir)/src/util/libtalerutil.la
+
+test_wire_plugin_SOURCES = \
+ test_wire_plugin.c
+test_wire_plugin_LDADD = \
+ -lgnunetjson \
+ -lgnunetutil \
+ -ljansson \
+ libtalerwire.la \
+ $(top_builddir)/src/util/libtalerutil.la