aboutsummaryrefslogtreecommitdiff
path: root/src/wire/Makefile.am
blob: 67a559a36e26daedff92d0e540966f2def6cab0d (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
# 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

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


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