aboutsummaryrefslogtreecommitdiff
path: root/src/wire/Makefile.am
blob: 0ed5f7be91cd98f461811830ccea57eb425d0b19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# 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

pkgcfgdir = $(prefix)/share/taler/config.d/

pkgcfg_DATA = \
  wire-sepa.conf \
  wire-test.conf


EXTRA_DIST = \
  wire-sepa.conf \
  wire-test.conf

plugindir = $(libdir)/taler

plugin_LTLIBRARIES = \
  libtaler_plugin_wire_sepa.la \
  libtaler_plugin_wire_test.la

noinst_LTLIBRARIES = \
  libtaler_plugin_wire_template.la

lib_LTLIBRARIES = \
  libtalerwire.la


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) \
  $(top_builddir)/src/bank-lib/libtalerbank.la \
  $(top_builddir)/src/util/libtalerutil.la \
  -lgnunetutil $(XLIB)


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) \
  $(top_builddir)/src/json/libtalerjson.la \
  $(top_builddir)/src/util/libtalerutil.la \
  -lgnunetjson \
  -lgnunetutil $(XLIB)


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)


libtalerwire_la_SOURCES = \
  wire.c
libtalerwire_la_LIBADD = \
  -lgnunetutil \
  $(XLIB)
libtalerwire_la_LDFLAGS = \
  -version-info 0:0:0 \
  -export-dynamic -no-undefined


AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;

TESTS = \
 test_sepa_wireformat

check_PROGRAMS= \
 test_sepa_wireformat



test_sepa_wireformat_SOURCES = \
  test_sepa_wireformat.c
test_sepa_wireformat_LDADD = \
  -lgnunetutil \
  -ljansson \
  libtalerwire.la \
  $(top_builddir)/src/util/libtalerutil.la