aboutsummaryrefslogtreecommitdiff
path: root/src/backend/Makefile.am
blob: fed9c0a211c96f5bd3b1742e814d61605c90eb95 (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
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/backend-lib/

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-exchange \
  taler-merchant-httpd \
  taler-merchant-webhook \
  taler-merchant-wirewatch

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_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-rewards-ID.c \
    taler-merchant-httpd_get-rewards-ID.h \
  taler-merchant-httpd_helper.c \
    taler-merchant-httpd_helper.h \
  taler-merchant-httpd_private-get-rewards.c \
    taler-merchant-httpd_private-get-rewards.h \
  taler-merchant-httpd_private-get-rewards-ID.c \
    taler-merchant-httpd_private-get-rewards-ID.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-instances-ID.c \
    taler-merchant-httpd_private-delete-instances-ID.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-reserves-ID.c \
    taler-merchant-httpd_private-delete-reserves-ID.h \
  taler-merchant-httpd_private-delete-templates-ID.c \
    taler-merchant-httpd_private-delete-templates-ID.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-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-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-reserves.c \
    taler-merchant-httpd_private-get-reserves.h \
  taler-merchant-httpd_private-get-reserves-ID.c \
    taler-merchant-httpd_private-get-reserves-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-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-templates-ID.c \
    taler-merchant-httpd_private-patch-templates-ID.h \
  taler-merchant-httpd_private-patch-webhooks-ID.c \
    taler-merchant-httpd_private-patch-webhooks-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-products-ID.c \
    taler-merchant-httpd_private-patch-products-ID.h \
  taler-merchant-httpd_private-post-account.c \
    taler-merchant-httpd_private-post-account.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-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-products-ID-lock.c \
    taler-merchant-httpd_private-post-products-ID-lock.h \
  taler-merchant-httpd_private-post-reserves.c \
    taler-merchant-httpd_private-post-reserves.h \
  taler-merchant-httpd_private-post-reserves-ID-authorize-reward.c \
    taler-merchant-httpd_private-post-reserves-ID-authorize-reward.h \
  taler-merchant-httpd_private-post-templates.c \
    taler-merchant-httpd_private-post-templates.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-rewards-ID-pickup.c \
    taler-merchant-httpd_post-rewards-ID-pickup.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_reserves.c \
    taler-merchant-httpd_reserves.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 \
  -ltalerexchange \
  -ltalertemplating \
  -ltalermhd \
  -ltalerbank \
  -ltalerkyclogic \
  -ltalerjson \
  -ltalerutil \
  -ltalerpq \
  -lmicrohttpd \
  -ljansson \
  -lgnunetcurl \
  -lgnunetjson \
  -lgnunetutil \
  @QR_LIBS@ \
  $(XLIB)
taler_merchant_httpd_CFLAGS = \
  @QR_CFLAGS@ \
  $(AM_CFLAGS)


taler_merchant_exchange_SOURCES = \
  taler-merchant-exchange.c
taler_merchant_exchange_LDADD = \
  $(top_builddir)/src/backenddb/libtalermerchantdb.la \
  -ltalerexchange \
  -ltalerjson \
  -ltalerutil \
  -ltalerpq \
  -lgnunetjson \
  -lgnunetcurl \
  -lgnunetutil \
  -lcurl \
  $(XLIB)
taler_merchant_exchange_CFLAGS = \
  $(AM_CFLAGS)


taler_merchant_webhook_SOURCES = \
  taler-merchant-webhook.c
taler_merchant_webhook_LDADD = \
  $(top_builddir)/src/backenddb/libtalermerchantdb.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 \
  -ltalermhd \
  -ltalerjson \
  -ltalerutil \
  -ltalerpq \
  -ljansson \
  -lgnunetcurl \
  -lgnunetjson \
  -lgnunetutil \
  -lcurl \
  $(XLIB)
taler_merchant_wirewatch_CFLAGS = \
  $(AM_CFLAGS)