aboutsummaryrefslogtreecommitdiff
path: root/src/backend/Makefile.am
blob: d5ddda41af4c1f4a4affadfd94d25c81deeed64f (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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
# 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 = \
  kudos.conf \
  merchant.conf

EXTRA_DIST = \
  $(pkgcfg_DATA)

bin_PROGRAMS = \
  taler-merchant-depositcheck \
  taler-merchant-exchangekeyupdate \
  taler-merchant-httpd \
  taler-merchant-kyccheck \
  taler-merchant-reconciliation \
  taler-merchant-webhook \
  taler-merchant-wirewatch

taler_merchant_depositcheck_SOURCES = \
  taler-merchant-depositcheck.c
taler_merchant_depositcheck_LDADD = \
  $(top_builddir)/src/backenddb/libtalermerchantdb.la \
  $(top_builddir)/src/util/libtalermerchantutil.la \
  -ltalerexchange \
  -ltalerjson \
  -ltalerutil \
  -ltalerpq \
  -ljansson \
  -lgnunetcurl \
  -lgnunetjson \
  -lgnunetutil \
  -lcurl \
  $(XLIB)
taler_merchant_depositcheck_CFLAGS = \
  $(AM_CFLAGS)


taler_merchant_exchangekeyupdate_SOURCES = \
  taler-merchant-exchangekeyupdate.c
taler_merchant_exchangekeyupdate_LDADD = \
  $(top_builddir)/src/backenddb/libtalermerchantdb.la \
  $(top_builddir)/src/util/libtalermerchantutil.la \
  -ltalerexchange \
  -ltalerjson \
  -ltalerutil \
  -ltalerpq \
  -lgnunetjson \
  -lgnunetcurl \
  -lgnunetutil \
  -lcurl \
  $(XLIB)
taler_merchant_exchangekeyupdate_CFLAGS = \
  $(AM_CFLAGS)


taler_merchant_httpd_SOURCES = \
  taler-merchant-httpd.c taler-merchant-httpd.h \
  taler-merchant-httpd_config.c taler-merchant-httpd_config.h \
  taler-merchant-httpd_contract.c taler-merchant-httpd_contract.h \
  taler-merchant-httpd_exchanges.c taler-merchant-httpd_exchanges.h \
  taler-merchant-httpd_get-orders-ID.c \
    taler-merchant-httpd_get-orders-ID.h \
  taler-merchant-httpd_get-templates-ID.c \
    taler-merchant-httpd_get-templates-ID.h \
  taler-merchant-httpd_helper.c \
    taler-merchant-httpd_helper.h \
  taler-merchant-httpd_mhd.c \
    taler-merchant-httpd_mhd.h \
  taler-merchant-httpd_private-delete-account-ID.c \
    taler-merchant-httpd_private-delete-account-ID.h \
  taler-merchant-httpd_private-delete-categories-ID.c \
    taler-merchant-httpd_private-delete-categories-ID.h \
  taler-merchant-httpd_private-delete-instances-ID.c \
    taler-merchant-httpd_private-delete-instances-ID.h \
  taler-merchant-httpd_private-delete-instances-ID-token.c \
    taler-merchant-httpd_private-delete-instances-ID-token.h \
  taler-merchant-httpd_private-delete-products-ID.c \
    taler-merchant-httpd_private-delete-products-ID.h \
  taler-merchant-httpd_private-delete-orders-ID.c \
    taler-merchant-httpd_private-delete-orders-ID.h \
  taler-merchant-httpd_private-delete-otp-devices-ID.c \
    taler-merchant-httpd_private-delete-otp-devices-ID.h \
  taler-merchant-httpd_private-delete-templates-ID.c \
    taler-merchant-httpd_private-delete-templates-ID.h \
  taler-merchant-httpd_private-delete-token-families-SLUG.c \
    taler-merchant-httpd_private-delete-token-families-SLUG.h \
  taler-merchant-httpd_private-delete-transfers-ID.c \
    taler-merchant-httpd_private-delete-transfers-ID.h \
  taler-merchant-httpd_private-delete-webhooks-ID.c \
    taler-merchant-httpd_private-delete-webhooks-ID.h \
  taler-merchant-httpd_private-get-accounts.c \
    taler-merchant-httpd_private-get-accounts.h \
  taler-merchant-httpd_private-get-accounts-ID.c \
    taler-merchant-httpd_private-get-accounts-ID.h \
  taler-merchant-httpd_private-get-categories.c \
    taler-merchant-httpd_private-get-categories.h \
  taler-merchant-httpd_private-get-categories-ID.c \
    taler-merchant-httpd_private-get-categories-ID.h \
  taler-merchant-httpd_private-get-instances.c \
    taler-merchant-httpd_private-get-instances.h \
  taler-merchant-httpd_private-get-instances-ID.c \
    taler-merchant-httpd_private-get-instances-ID.h \
  taler-merchant-httpd_private-get-instances-ID-kyc.c \
    taler-merchant-httpd_private-get-instances-ID-kyc.h \
  taler-merchant-httpd_private-get-pos.c \
    taler-merchant-httpd_private-get-pos.h \
  taler-merchant-httpd_private-get-products.c \
    taler-merchant-httpd_private-get-products.h \
  taler-merchant-httpd_private-get-products-ID.c \
    taler-merchant-httpd_private-get-products-ID.h \
  taler-merchant-httpd_private-get-orders.c \
    taler-merchant-httpd_private-get-orders.h \
  taler-merchant-httpd_private-get-orders-ID.c \
    taler-merchant-httpd_private-get-orders-ID.h \
  taler-merchant-httpd_private-get-otp-devices.c \
    taler-merchant-httpd_private-get-otp-devices.h \
  taler-merchant-httpd_private-get-otp-devices-ID.c \
    taler-merchant-httpd_private-get-otp-devices-ID.h \
  taler-merchant-httpd_private-get-transfers.c \
    taler-merchant-httpd_private-get-transfers.h \
  taler-merchant-httpd_private-get-templates.c \
    taler-merchant-httpd_private-get-templates.h \
  taler-merchant-httpd_private-get-templates-ID.c \
    taler-merchant-httpd_private-get-templates-ID.h \
  taler-merchant-httpd_private-get-token-families.c \
    taler-merchant-httpd_private-get-token-families.h \
  taler-merchant-httpd_private-get-token-families-SLUG.c \
    taler-merchant-httpd_private-get-token-families-SLUG.h \
  taler-merchant-httpd_private-get-webhooks.c \
    taler-merchant-httpd_private-get-webhooks.h \
  taler-merchant-httpd_private-get-webhooks-ID.c \
    taler-merchant-httpd_private-get-webhooks-ID.h \
  taler-merchant-httpd_private-patch-accounts-ID.c \
    taler-merchant-httpd_private-patch-accounts-ID.h \
  taler-merchant-httpd_private-patch-categories-ID.c \
    taler-merchant-httpd_private-patch-categories-ID.h \
  taler-merchant-httpd_private-patch-instances-ID.c \
    taler-merchant-httpd_private-patch-instances-ID.h \
  taler-merchant-httpd_private-patch-orders-ID-forget.c \
    taler-merchant-httpd_private-patch-orders-ID-forget.h \
  taler-merchant-httpd_private-patch-otp-devices-ID.c \
    taler-merchant-httpd_private-patch-otp-devices-ID.h \
  taler-merchant-httpd_private-patch-products-ID.c \
    taler-merchant-httpd_private-patch-products-ID.h \
  taler-merchant-httpd_private-patch-templates-ID.c \
    taler-merchant-httpd_private-patch-templates-ID.h \
  taler-merchant-httpd_private-patch-token-families-SLUG.c \
    taler-merchant-httpd_private-patch-token-families-SLUG.h \
  taler-merchant-httpd_private-patch-webhooks-ID.c \
    taler-merchant-httpd_private-patch-webhooks-ID.h \
  taler-merchant-httpd_private-post-account.c \
    taler-merchant-httpd_private-post-account.h \
  taler-merchant-httpd_private-post-categories.c \
    taler-merchant-httpd_private-post-categories.h \
  taler-merchant-httpd_private-post-instances.c \
    taler-merchant-httpd_private-post-instances.h \
  taler-merchant-httpd_private-post-instances-ID-auth.c \
    taler-merchant-httpd_private-post-instances-ID-auth.h \
  taler-merchant-httpd_private-post-instances-ID-token.c \
    taler-merchant-httpd_private-post-instances-ID-token.h \
  taler-merchant-httpd_private-post-orders-ID-refund.c \
    taler-merchant-httpd_private-post-orders-ID-refund.h \
  taler-merchant-httpd_private-post-orders.c \
    taler-merchant-httpd_private-post-orders.h \
  taler-merchant-httpd_private-post-products.c \
    taler-merchant-httpd_private-post-products.h \
  taler-merchant-httpd_private-post-otp-devices.c \
    taler-merchant-httpd_private-post-otp-devices.h \
  taler-merchant-httpd_private-post-products-ID-lock.c \
    taler-merchant-httpd_private-post-products-ID-lock.h \
  taler-merchant-httpd_private-post-templates.c \
    taler-merchant-httpd_private-post-templates.h \
  taler-merchant-httpd_private-post-token-families.c \
    taler-merchant-httpd_private-post-token-families.h \
  taler-merchant-httpd_private-post-transfers.c \
    taler-merchant-httpd_private-post-transfers.h \
  taler-merchant-httpd_private-post-webhooks.c \
    taler-merchant-httpd_private-post-webhooks.h \
  taler-merchant-httpd_post-orders-ID-abort.c \
    taler-merchant-httpd_post-orders-ID-abort.h \
  taler-merchant-httpd_post-orders-ID-claim.c \
    taler-merchant-httpd_post-orders-ID-claim.h \
  taler-merchant-httpd_post-orders-ID-pay.c \
    taler-merchant-httpd_post-orders-ID-pay.h \
  taler-merchant-httpd_post-orders-ID-paid.c \
    taler-merchant-httpd_post-orders-ID-paid.h \
  taler-merchant-httpd_post-orders-ID-refund.c \
    taler-merchant-httpd_post-orders-ID-refund.h \
  taler-merchant-httpd_post-using-templates.c \
    taler-merchant-httpd_post-using-templates.h \
  taler-merchant-httpd_qr.c \
    taler-merchant-httpd_qr.h \
  taler-merchant-httpd_spa.c \
    taler-merchant-httpd_spa.h \
  taler-merchant-httpd_statics.c \
    taler-merchant-httpd_statics.h

taler_merchant_httpd_LDADD = \
  $(top_builddir)/src/backenddb/libtalermerchantdb.la \
  $(top_builddir)/src/bank/libtalermerchantbank.la \
  $(top_builddir)/src/util/libtalermerchantutil.la \
  -ltalerexchange \
  -ltalertemplating \
  -ltalermhd \
  -ltalerbank \
  -ltalerkyclogic \
  -ltalerjson \
  -ltalerutil \
  -ltalerpq \
  -lmicrohttpd \
  -ljansson \
  -lgnunetcurl \
  -lgnunetjson \
  -lgnunetutil \
  @QR_LIBS@ \
  $(XLIB)

if HAVE_DONAU
taler_merchant_httpd_LDADD += \
  -ldonau
endif

taler_merchant_httpd_CFLAGS = \
  @QR_CFLAGS@ \
  $(AM_CFLAGS)


taler_merchant_kyccheck_SOURCES = \
  taler-merchant-kyccheck.c
taler_merchant_kyccheck_LDADD = \
  $(top_builddir)/src/backenddb/libtalermerchantdb.la \
  $(top_builddir)/src/util/libtalermerchantutil.la \
  -ltalerexchange \
  -ltalerjson \
  -ltalerutil \
  -ltalerpq \
  -lgnunetjson \
  -lgnunetcurl \
  -lgnunetutil \
  -lcurl \
  $(XLIB)
taler_merchant_kyccheck_CFLAGS = \
  $(AM_CFLAGS)


taler_merchant_reconciliation_SOURCES = \
  taler-merchant-reconciliation.c
taler_merchant_reconciliation_LDADD = \
  $(top_builddir)/src/backenddb/libtalermerchantdb.la \
  $(top_builddir)/src/util/libtalermerchantutil.la \
  -ltalerexchange \
  -ltalerjson \
  -ltalerutil \
  -ltalerpq \
  -lgnunetjson \
  -lgnunetcurl \
  -lgnunetutil \
  -lcurl \
  $(XLIB)
taler_merchant_reconciliation_CFLAGS = \
  $(AM_CFLAGS)



taler_merchant_webhook_SOURCES = \
  taler-merchant-webhook.c
taler_merchant_webhook_LDADD = \
  $(top_builddir)/src/backenddb/libtalermerchantdb.la \
  $(top_builddir)/src/util/libtalermerchantutil.la \
  -ltalertemplating \
  -ltalermhd \
  -ltalerjson \
  -ltalerutil \
  -ltalerpq \
  -ljansson \
  -lgnunetcurl \
  -lgnunetjson \
  -lgnunetutil \
  -lcurl \
  $(XLIB)
taler_merchant_webhook_CFLAGS = \
  $(AM_CFLAGS)


taler_merchant_wirewatch_SOURCES = \
  taler-merchant-wirewatch.c
taler_merchant_wirewatch_LDADD = \
  $(top_builddir)/src/bank/libtalermerchantbank.la \
  $(top_builddir)/src/backenddb/libtalermerchantdb.la \
  $(top_builddir)/src/util/libtalermerchantutil.la \
  -ltalermhd \
  -ltalerjson \
  -ltalerutil \
  -ltalerpq \
  -ljansson \
  -lgnunetcurl \
  -lgnunetjson \
  -lgnunetutil \
  -lcurl \
  $(XLIB)
taler_merchant_wirewatch_CFLAGS = \
  $(AM_CFLAGS)