blob: 115ea50557f0800adb6d0e7956c6ebc437b745d7 (
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(LIBGCRYPT_CFLAGS)
if USE_COVERAGE
AM_CFLAGS = --coverage -O0
XLIB = -lgcov
endif
pkgcfgdir = $(prefix)/share/taler/config.d/
pkgcfg_DATA = \
paths.conf \
taler-exchange-secmod-eddsa.conf \
taler-exchange-secmod-rsa.conf \
taler-exchange-secmod-cs.conf
EXTRA_DIST = \
$(pkgcfg_DATA) \
taler-config.in \
test_helper_eddsa.conf \
test_helper_rsa.conf \
test_helper_cs.conf
bin_PROGRAMS = \
taler-exchange-secmod-eddsa \
taler-exchange-secmod-rsa \
taler-exchange-secmod-cs
bin_SCRIPTS = \
taler-config
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 $@
CLEANFILES = \
taler-config
taler_exchange_secmod_rsa_SOURCES = \
taler-exchange-secmod-rsa.c taler-exchange-secmod-rsa.h \
secmod_common.c secmod_common.h
taler_exchange_secmod_rsa_LDADD = \
libtalerutil.la \
-lgnunetutil \
-lpthread \
$(LIBGCRYPT_LIBS) \
$(XLIB)
taler_exchange_secmod_cs_SOURCES = \
taler-exchange-secmod-cs.c taler-exchange-secmod-cs.h \
secmod_common.c secmod_common.h
taler_exchange_secmod_cs_LDADD = \
libtalerutil.la \
-lgnunetutil \
-lpthread \
$(LIBGCRYPT_LIBS) \
$(XLIB)
taler_exchange_secmod_eddsa_SOURCES = \
taler-exchange-secmod-eddsa.c taler-exchange-secmod-eddsa.h \
secmod_common.c secmod_common.h
taler_exchange_secmod_eddsa_LDADD = \
libtalerutil.la \
-lgnunetutil \
-lpthread \
$(LIBGCRYPT_LIBS) \
$(XLIB)
lib_LTLIBRARIES = \
libtalerutil.la
libtalerutil_la_SOURCES = \
age_restriction.c \
amount.c \
aml_signatures.c \
auditor_signatures.c \
config.c \
crypto.c \
crypto_confirmation.c \
crypto_contract.c \
crypto_helper_common.c crypto_helper_common.h \
crypto_helper_rsa.c \
crypto_helper_cs.c \
crypto_helper_esign.c \
crypto_wire.c \
denom.c \
exchange_signatures.c \
getopt.c \
lang.c \
iban.c \
merchant_signatures.c \
mhd.c \
offline_signatures.c \
payto.c \
secmod_signatures.c \
taler_error_codes.c \
url.c \
util.c \
wallet_signatures.c \
yna.c \
os_installation.c
libtalerutil_la_LIBADD = \
-lgnunetutil \
-lgnunetjson \
-lsodium \
-ljansson \
$(LIBGCRYPT_LIBS) \
-lmicrohttpd $(XLIB) \
-lz \
-lm
libtalerutil_la_LDFLAGS = \
-version-info 0:0:0 \
-no-undefined
AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
check_PROGRAMS = \
test_age_restriction \
test_amount \
test_crypto \
test_helper_eddsa \
test_helper_rsa \
test_helper_cs \
test_payto \
test_url
TESTS = \
$(check_PROGRAMS)
test_age_restriction_SOURCES = \
test_age_restriction.c
test_age_restriction_LDADD = \
-lgnunetutil \
libtalerutil.la
test_amount_SOURCES = \
test_amount.c
test_amount_LDADD = \
-lgnunetutil \
libtalerutil.la
test_crypto_SOURCES = \
test_crypto.c
test_crypto_LDADD = \
libtalerutil.la \
-lgnunetutil \
-ljansson
test_payto_SOURCES = \
test_payto.c
test_payto_LDADD = \
-lgnunetutil \
libtalerutil.la
test_helper_eddsa_SOURCES = \
test_helper_eddsa.c
test_helper_eddsa_LDADD = \
-lgnunetutil \
libtalerutil.la
test_helper_rsa_SOURCES = \
test_helper_rsa.c
test_helper_rsa_LDADD = \
-lgnunetutil \
libtalerutil.la
test_helper_cs_SOURCES = \
test_helper_cs.c
test_helper_cs_LDADD = \
-lgnunetutil \
libtalerutil.la
test_url_SOURCES = \
test_url.c
test_url_LDADD = \
-lgnunetutil \
libtalerutil.la
|