meson.build (11590B)
1 # This build file is in the public domain 2 install_data('kudos.conf', 'merchant.conf', 'tops.conf', install_dir: pkgcfgdir) 3 4 5 configure_file( 6 input: 'taler-merchant-report-generator-email', 7 output: 'taler-merchant-report-generator-email', 8 install: true, 9 copy: true, 10 install_dir: get_option('bindir'), 11 ) 12 13 configure_file( 14 input: 'taler-merchant-report-generator-file', 15 output: 'taler-merchant-report-generator-file', 16 install: true, 17 copy: true, 18 install_dir: get_option('bindir'), 19 ) 20 21 22 executable( 23 'taler-merchant-depositcheck', 24 ['taler-merchant-depositcheck.c'], 25 dependencies: [ 26 libtalermerchantutil_dep, 27 talerutil_dep, 28 talerjson_dep, 29 libtalermerchantdb_dep, 30 talerpq_dep, 31 talerexchange_dep, 32 gnunetutil_dep, 33 gnunetjson_dep, 34 gnunetcurl_dep, 35 pq_dep, 36 curl_dep, 37 json_dep, 38 ], 39 include_directories: [incdir, configuration_inc], 40 install: true, 41 ) 42 43 44 executable( 45 'taler-merchant-exchangekeyupdate', 46 ['taler-merchant-exchangekeyupdate.c'], 47 dependencies: [ 48 libtalermerchantutil_dep, 49 talerutil_dep, 50 talerjson_dep, 51 libtalermerchantdb_dep, 52 talerpq_dep, 53 talerexchange_dep, 54 gnunetutil_dep, 55 gnunetjson_dep, 56 gnunetcurl_dep, 57 pq_dep, 58 curl_dep, 59 json_dep, 60 ], 61 include_directories: [incdir, configuration_inc], 62 install: true, 63 ) 64 65 66 67 taler_merchant_httpd_SOURCES = [ 68 'taler-merchant-httpd.c', 69 'taler-merchant-httpd_auth.c', 70 'taler-merchant-httpd_contract.c', 71 'taler-merchant-httpd_dispatcher.c', 72 'taler-merchant-httpd_exchanges.c', 73 'taler-merchant-httpd_get-orders-ORDER_ID.c', 74 'taler-merchant-httpd_get-sessions-SESSION_ID.c', 75 'taler-merchant-httpd_get-products-IMAGE_HASH-image.c', 76 'taler-merchant-httpd_get-config.c', 77 'taler-merchant-httpd_get-exchanges.c', 78 'taler-merchant-httpd_get-templates-TEMPLATE_ID.c', 79 'taler-merchant-httpd_helper.c', 80 'taler-merchant-httpd_mhd.c', 81 'taler-merchant-httpd_get-terms.c', 82 'taler-merchant-httpd_mfa.c', 83 'taler-merchant-httpd_delete-private-accounts-H_WIRE.c', 84 'taler-merchant-httpd_delete-private-categories-CATEGORY_ID.c', 85 'taler-merchant-httpd_delete-private-units-UNIT.c', 86 'taler-merchant-httpd_delete-management-instances-INSTANCE.c', 87 'taler-merchant-httpd_delete-private-token.c', 88 'taler-merchant-httpd_delete-private-tokens-SERIAL.c', 89 'taler-merchant-httpd_delete-private-products-PRODUCT_ID.c', 90 'taler-merchant-httpd_delete-private-orders-ORDER_ID.c', 91 'taler-merchant-httpd_delete-private-otp-devices-DEVICE_ID.c', 92 'taler-merchant-httpd_delete-private-templates-TEMPLATE_ID.c', 93 'taler-merchant-httpd_delete-private-tokenfamilies-TOKEN_FAMILY_SLUG.c', 94 'taler-merchant-httpd_delete-private-transfers-TID.c', 95 'taler-merchant-httpd_delete-private-webhooks-WEBHOOK_ID.c', 96 'taler-merchant-httpd_get-private-accounts.c', 97 'taler-merchant-httpd_get-private-accounts-H_WIRE.c', 98 'taler-merchant-httpd_get-private-categories.c', 99 'taler-merchant-httpd_get-private-units.c', 100 'taler-merchant-httpd_get-private-categories-CATEGORY_ID.c', 101 'taler-merchant-httpd_get-private-units-UNIT.c', 102 'taler-merchant-httpd_get-management-instances.c', 103 'taler-merchant-httpd_get-management-instances-INSTANCE.c', 104 'taler-merchant-httpd_get-private-kyc.c', 105 'taler-merchant-httpd_get-private-tokens.c', 106 'taler-merchant-httpd_get-private-pos.c', 107 'taler-merchant-httpd_get-private-products.c', 108 'taler-merchant-httpd_get-private-products-PRODUCT_ID.c', 109 'taler-merchant-httpd_get-private-orders.c', 110 'taler-merchant-httpd_get-private-orders-ORDER_ID.c', 111 'taler-merchant-httpd_get-private-otp-devices.c', 112 'taler-merchant-httpd_get-private-otp-devices-DEVICE_ID.c', 113 'taler-merchant-httpd_get-private-incoming.c', 114 'taler-merchant-httpd_get-private-incoming-ID.c', 115 'taler-merchant-httpd_get-private-transfers.c', 116 'taler-merchant-httpd_get-private-templates.c', 117 'taler-merchant-httpd_get-private-templates-TEMPLATE_ID.c', 118 'taler-merchant-httpd_get-private-tokenfamilies.c', 119 'taler-merchant-httpd_get-private-tokenfamilies-TOKEN_FAMILY_SLUG.c', 120 'taler-merchant-httpd_get-private-webhooks.c', 121 'taler-merchant-httpd_get-private-webhooks-WEBHOOK_ID.c', 122 'taler-merchant-httpd_patch-private-accounts-H_WIRE.c', 123 'taler-merchant-httpd_patch-private-categories-CATEGORY_ID.c', 124 'taler-merchant-httpd_patch-private-units-UNIT.c', 125 'taler-merchant-httpd_patch-management-instances-INSTANCE.c', 126 'taler-merchant-httpd_patch-private-orders-ORDER_ID-forget.c', 127 'taler-merchant-httpd_patch-private-otp-devices-DEVICE_ID.c', 128 'taler-merchant-httpd_patch-private-products-PRODUCT_ID.c', 129 'taler-merchant-httpd_patch-private-templates-TEMPLATE_ID.c', 130 'taler-merchant-httpd_patch-private-tokenfamilies-TOKEN_FAMILY_SLUG.c', 131 'taler-merchant-httpd_patch-private-webhooks-WEBHOOK_ID.c', 132 'taler-merchant-httpd_post-private-accounts.c', 133 'taler-merchant-httpd_post-private-categories.c', 134 'taler-merchant-httpd_post-private-units.c', 135 'taler-merchant-httpd_post-management-instances.c', 136 'taler-merchant-httpd_post-management-instances-INSTANCE-auth.c', 137 'taler-merchant-httpd_post-private-token.c', 138 'taler-merchant-httpd_post-private-orders-ORDER_ID-refund.c', 139 'taler-merchant-httpd_post-private-orders.c', 140 'taler-merchant-httpd_post-private-products.c', 141 'taler-merchant-httpd_post-private-otp-devices.c', 142 'taler-merchant-httpd_post-private-products-PRODUCT_ID-lock.c', 143 'taler-merchant-httpd_post-private-templates.c', 144 'taler-merchant-httpd_post-private-tokenfamilies.c', 145 'taler-merchant-httpd_post-private-transfers.c', 146 'taler-merchant-httpd_post-private-webhooks.c', 147 'taler-merchant-httpd_post-private-accounts-H_WIRE-kycauth.c', 148 'taler-merchant-httpd_post-private-accept-tos-early.c', 149 'taler-merchant-httpd_post-challenge-ID.c', 150 'taler-merchant-httpd_post-challenge-ID-confirm.c', 151 'taler-merchant-httpd_post-orders-ORDER_ID-abort.c', 152 'taler-merchant-httpd_post-orders-ORDER_ID-claim.c', 153 'taler-merchant-httpd_post-orders-ORDER_ID-pay.c', 154 'taler-merchant-httpd_post-orders-ORDER_ID-paid.c', 155 'taler-merchant-httpd_post-orders-ORDER_ID-refund.c', 156 'taler-merchant-httpd_post-orders-ORDER_ID-unclaim.c', 157 'taler-merchant-httpd_post-templates-TEMPLATE_ID.c', 158 'taler-merchant-httpd_post-reports-REPORT_ID.c', 159 'taler-merchant-httpd_get-private-statistics-amount-SLUG.c', 160 'taler-merchant-httpd_get-private-statistics-counter-SLUG.c', 161 'taler-merchant-httpd_get-private-statistics-report-transactions.c', 162 'taler-merchant-httpd_qr.c', 163 'taler-merchant-httpd_get-webui.c', 164 'taler-merchant-httpd_delete-private-reports-REPORT_ID.c', 165 'taler-merchant-httpd_get-private-reports-REPORT_ID.c', 166 'taler-merchant-httpd_get-private-reports.c', 167 'taler-merchant-httpd_patch-private-reports-REPORT_ID.c', 168 'taler-merchant-httpd_post-private-reports.c', 169 'taler-merchant-httpd_delete-private-pots-POT_ID.c', 170 'taler-merchant-httpd_get-private-pots-POT_ID.c', 171 'taler-merchant-httpd_get-private-pots.c', 172 'taler-merchant-httpd_patch-private-pots-POT_ID.c', 173 'taler-merchant-httpd_post-private-pots.c', 174 'taler-merchant-httpd_delete-private-groups-GROUP_ID.c', 175 'taler-merchant-httpd_get-private-groups.c', 176 'taler-merchant-httpd_patch-private-groups-GROUP_ID.c', 177 'taler-merchant-httpd_post-private-groups.c', 178 'taler-merchant-httpd_statics.c', 179 'taler-merchant-httpd_get-private-donau.c', 180 'taler-merchant-httpd_post-private-donau.c', 181 'taler-merchant-httpd_delete-private-donau-DONAU_SERIAL.c', 182 ] 183 184 executable( 185 'taler-merchant-httpd', 186 taler_merchant_httpd_SOURCES, 187 dependencies: [ 188 donau_dep, 189 donaujson_dep, 190 libtalermerchantutil_dep, 191 libtalermerchantbank_dep, 192 talerutil_dep, 193 talerjson_dep, 194 libtalermerchantdb_dep, 195 talerpq_dep, 196 talerkyclogic_dep, 197 talerbank_dep, 198 talermhd_dep, 199 talerexchange_dep, 200 talertemplating_dep, 201 gnunetutil_dep, 202 gnunetjson_dep, 203 gnunetcurl_dep, 204 pq_dep, 205 mhd_dep, 206 json_dep, 207 qrencode_dep, 208 ], 209 include_directories: [incdir, configuration_inc], 210 install: true, 211 ) 212 213 214 215 executable( 216 'taler-merchant-kyccheck', 217 ['taler-merchant-kyccheck.c'], 218 dependencies: [ 219 libtalermerchantutil_dep, 220 talerutil_dep, 221 talerjson_dep, 222 libtalermerchantdb_dep, 223 talerpq_dep, 224 talerexchange_dep, 225 gnunetutil_dep, 226 gnunetjson_dep, 227 gnunetcurl_dep, 228 pq_dep, 229 curl_dep, 230 json_dep, 231 ], 232 include_directories: [incdir, configuration_inc], 233 install: true, 234 ) 235 236 237 238 executable( 239 'taler-merchant-reconciliation', 240 ['taler-merchant-reconciliation.c'], 241 dependencies: [ 242 libtalermerchantutil_dep, 243 talerutil_dep, 244 talerjson_dep, 245 libtalermerchantdb_dep, 246 talerpq_dep, 247 talerexchange_dep, 248 gnunetpq_dep, 249 gnunetutil_dep, 250 gnunetjson_dep, 251 gnunetcurl_dep, 252 pq_dep, 253 curl_dep, 254 ], 255 include_directories: [incdir, configuration_inc], 256 install: true, 257 ) 258 259 260 261 executable( 262 'taler-merchant-report-generator', 263 ['taler-merchant-report-generator.c'], 264 dependencies: [ 265 libtalermerchantutil_dep, 266 talerutil_dep, 267 talerjson_dep, 268 libtalermerchantdb_dep, 269 talerpq_dep, 270 talercurl_dep, 271 talerexchange_dep, 272 gnunetpq_dep, 273 gnunetutil_dep, 274 gnunetjson_dep, 275 gnunetcurl_dep, 276 pq_dep, 277 curl_dep, 278 json_dep, 279 ], 280 include_directories: [incdir, configuration_inc], 281 install: true, 282 ) 283 284 285 286 executable( 287 'taler-merchant-webhook', 288 ['taler-merchant-webhook.c'], 289 dependencies: [ 290 libtalermerchantutil_dep, 291 talerutil_dep, 292 talerjson_dep, 293 libtalermerchantdb_dep, 294 talermhd_dep, 295 talerpq_dep, 296 talerexchange_dep, 297 gnunetutil_dep, 298 gnunetjson_dep, 299 gnunetcurl_dep, 300 pq_dep, 301 curl_dep, 302 json_dep, 303 ], 304 include_directories: [incdir, configuration_inc], 305 install: true, 306 ) 307 308 309 executable( 310 'taler-merchant-wirewatch', 311 ['taler-merchant-wirewatch.c'], 312 dependencies: [ 313 libtalermerchantutil_dep, 314 libtalermerchantbank_dep, 315 talerutil_dep, 316 talerjson_dep, 317 libtalermerchantdb_dep, 318 talermhd_dep, 319 talerpq_dep, 320 talerexchange_dep, 321 gnunetutil_dep, 322 gnunetjson_dep, 323 gnunetcurl_dep, 324 pq_dep, 325 curl_dep, 326 json_dep, 327 ], 328 include_directories: [incdir, configuration_inc], 329 install: true, 330 ) 331 332 333 334 if donau_dep.found() 335 executable( 336 'taler-merchant-donaukeyupdate', 337 ['taler-merchant-donaukeyupdate.c'], 338 dependencies: [ 339 libtalermerchantutil_dep, 340 talerutil_dep, 341 talerjson_dep, 342 libtalermerchantdb_dep, 343 talermhd_dep, 344 talerpq_dep, 345 talerexchange_dep, 346 gnunetutil_dep, 347 gnunetjson_dep, 348 gnunetcurl_dep, 349 pq_dep, 350 curl_dep, 351 donau_dep, 352 ], 353 include_directories: [incdir, configuration_inc], 354 install: true, 355 ) 356 357 endif