meson.build (11530B)
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-challenge-ID.c', 149 'taler-merchant-httpd_post-challenge-ID-confirm.c', 150 'taler-merchant-httpd_post-orders-ORDER_ID-abort.c', 151 'taler-merchant-httpd_post-orders-ORDER_ID-claim.c', 152 'taler-merchant-httpd_post-orders-ORDER_ID-pay.c', 153 'taler-merchant-httpd_post-orders-ORDER_ID-paid.c', 154 'taler-merchant-httpd_post-orders-ORDER_ID-refund.c', 155 'taler-merchant-httpd_post-orders-ORDER_ID-unclaim.c', 156 'taler-merchant-httpd_post-templates-TEMPLATE_ID.c', 157 'taler-merchant-httpd_post-reports-REPORT_ID.c', 158 'taler-merchant-httpd_get-private-statistics-amount-SLUG.c', 159 'taler-merchant-httpd_get-private-statistics-counter-SLUG.c', 160 'taler-merchant-httpd_get-private-statistics-report-transactions.c', 161 'taler-merchant-httpd_qr.c', 162 'taler-merchant-httpd_get-webui.c', 163 'taler-merchant-httpd_delete-private-reports-REPORT_ID.c', 164 'taler-merchant-httpd_get-private-reports-REPORT_ID.c', 165 'taler-merchant-httpd_get-private-reports.c', 166 'taler-merchant-httpd_patch-private-reports-REPORT_ID.c', 167 'taler-merchant-httpd_post-private-reports.c', 168 'taler-merchant-httpd_delete-private-pots-POT_ID.c', 169 'taler-merchant-httpd_get-private-pots-POT_ID.c', 170 'taler-merchant-httpd_get-private-pots.c', 171 'taler-merchant-httpd_patch-private-pots-POT_ID.c', 172 'taler-merchant-httpd_post-private-pots.c', 173 'taler-merchant-httpd_delete-private-groups-GROUP_ID.c', 174 'taler-merchant-httpd_get-private-groups.c', 175 'taler-merchant-httpd_patch-private-groups-GROUP_ID.c', 176 'taler-merchant-httpd_post-private-groups.c', 177 'taler-merchant-httpd_statics.c', 178 'taler-merchant-httpd_get-private-donau.c', 179 'taler-merchant-httpd_post-private-donau.c', 180 'taler-merchant-httpd_delete-private-donau-DONAU_SERIAL.c', 181 ] 182 183 executable( 184 'taler-merchant-httpd', 185 taler_merchant_httpd_SOURCES, 186 dependencies: [ 187 donau_dep, 188 donaujson_dep, 189 libtalermerchantutil_dep, 190 libtalermerchantbank_dep, 191 talerutil_dep, 192 talerjson_dep, 193 libtalermerchantdb_dep, 194 talerpq_dep, 195 talerkyclogic_dep, 196 talerbank_dep, 197 talermhd_dep, 198 talerexchange_dep, 199 talertemplating_dep, 200 gnunetutil_dep, 201 gnunetjson_dep, 202 gnunetcurl_dep, 203 pq_dep, 204 mhd_dep, 205 json_dep, 206 qrencode_dep, 207 ], 208 include_directories: [incdir, configuration_inc], 209 install: true, 210 ) 211 212 213 214 executable( 215 'taler-merchant-kyccheck', 216 ['taler-merchant-kyccheck.c'], 217 dependencies: [ 218 libtalermerchantutil_dep, 219 talerutil_dep, 220 talerjson_dep, 221 libtalermerchantdb_dep, 222 talerpq_dep, 223 talerexchange_dep, 224 gnunetutil_dep, 225 gnunetjson_dep, 226 gnunetcurl_dep, 227 pq_dep, 228 curl_dep, 229 json_dep, 230 ], 231 include_directories: [incdir, configuration_inc], 232 install: true, 233 ) 234 235 236 237 executable( 238 'taler-merchant-reconciliation', 239 ['taler-merchant-reconciliation.c'], 240 dependencies: [ 241 libtalermerchantutil_dep, 242 talerutil_dep, 243 talerjson_dep, 244 libtalermerchantdb_dep, 245 talerpq_dep, 246 talerexchange_dep, 247 gnunetpq_dep, 248 gnunetutil_dep, 249 gnunetjson_dep, 250 gnunetcurl_dep, 251 pq_dep, 252 curl_dep, 253 ], 254 include_directories: [incdir, configuration_inc], 255 install: true, 256 ) 257 258 259 260 executable( 261 'taler-merchant-report-generator', 262 ['taler-merchant-report-generator.c'], 263 dependencies: [ 264 libtalermerchantutil_dep, 265 talerutil_dep, 266 talerjson_dep, 267 libtalermerchantdb_dep, 268 talerpq_dep, 269 talercurl_dep, 270 talerexchange_dep, 271 gnunetpq_dep, 272 gnunetutil_dep, 273 gnunetjson_dep, 274 gnunetcurl_dep, 275 pq_dep, 276 curl_dep, 277 json_dep, 278 ], 279 include_directories: [incdir, configuration_inc], 280 install: true, 281 ) 282 283 284 285 executable( 286 'taler-merchant-webhook', 287 ['taler-merchant-webhook.c'], 288 dependencies: [ 289 libtalermerchantutil_dep, 290 talerutil_dep, 291 talerjson_dep, 292 libtalermerchantdb_dep, 293 talermhd_dep, 294 talerpq_dep, 295 talerexchange_dep, 296 gnunetutil_dep, 297 gnunetjson_dep, 298 gnunetcurl_dep, 299 pq_dep, 300 curl_dep, 301 json_dep, 302 ], 303 include_directories: [incdir, configuration_inc], 304 install: true, 305 ) 306 307 308 executable( 309 'taler-merchant-wirewatch', 310 ['taler-merchant-wirewatch.c'], 311 dependencies: [ 312 libtalermerchantutil_dep, 313 libtalermerchantbank_dep, 314 talerutil_dep, 315 talerjson_dep, 316 libtalermerchantdb_dep, 317 talermhd_dep, 318 talerpq_dep, 319 talerexchange_dep, 320 gnunetutil_dep, 321 gnunetjson_dep, 322 gnunetcurl_dep, 323 pq_dep, 324 curl_dep, 325 json_dep, 326 ], 327 include_directories: [incdir, configuration_inc], 328 install: true, 329 ) 330 331 332 333 if donau_dep.found() 334 executable( 335 'taler-merchant-donaukeyupdate', 336 ['taler-merchant-donaukeyupdate.c'], 337 dependencies: [ 338 libtalermerchantutil_dep, 339 talerutil_dep, 340 talerjson_dep, 341 libtalermerchantdb_dep, 342 talermhd_dep, 343 talerpq_dep, 344 talerexchange_dep, 345 gnunetutil_dep, 346 gnunetjson_dep, 347 gnunetcurl_dep, 348 pq_dep, 349 curl_dep, 350 donau_dep, 351 ], 352 include_directories: [incdir, configuration_inc], 353 install: true, 354 ) 355 356 endif