meson.build (5096B)
1 # This build file is in the public domain 2 3 # Libraries 4 5 libtalerexchange_la_SOURCES = [ 6 'exchange_api_delete-purses-PURSE_PUB.c', 7 'exchange_api_get-aml-OFFICER_PUB.c', 8 'exchange_api_get-aml-OFFICER_PUB-attributes-H_NORMALIZED_PAYTO.c', 9 'exchange_api_get-aml-OFFICER_PUB-decisions.c', 10 'exchange_api_get-aml-OFFICER_PUB-kyc-statistics-NAMES.c', 11 'exchange_api_get-aml-OFFICER_PUB-legitimizations.c', 12 'exchange_api_get-aml-OFFICER_PUB-measures.c', 13 'exchange_api_get-coins-COIN_PUB-history.c', 14 'exchange_api_get-contracts-CONTRACT_PUB.c', 15 'exchange_api_get-deposits-H_WIRE-MERCHANT_PUB-H_CONTRACT_TERMS-COIN_PUB.c', 16 'exchange_api_get-kyc-check-H_NORMALIZED_PAYTO.c', 17 'exchange_api_get-kyc-info-ACCESS_TOKEN.c', 18 'exchange_api_get-kyc-proof-PROVIDER_NAME.c', 19 'exchange_api_get-keys.c', 20 'exchange_api_get-management-keys.c', 21 'exchange_api_get-purses-PURSE_PUB-merge.c', 22 'exchange_api_get-reserves-RESERVE_PUB-attest.c', 23 'exchange_api_get-reserves-RESERVE_PUB.c', 24 'exchange_api_get-reserves-RESERVE_PUB-history.c', 25 'exchange_api_get-transfers-WTID.c', 26 'exchange_api_common.c', 27 'exchange_api_curl_defaults.c', 28 'exchange_api_handle.c', 29 'exchange_api_post-aml-OFFICER_PUB-decision.c', 30 'exchange_api_post-aml-OFFICER_PUB-render-form.c', 31 'exchange_api_post-auditors-AUDITOR_PUB-H_DENOM_PUB.c', 32 'exchange_api_post-batch-deposit.c', 33 'exchange_api_post-blinding-prepare.c', 34 'exchange_api_post-coins-COIN_PUB-refund.c', 35 'exchange_api_post-kyc-start-ID.c', 36 'exchange_api_post-kyc-upload-ID.c', 37 'exchange_api_post-kyc-wallet.c', 38 'exchange_api_post-management-aml-officers.c', 39 'exchange_api_post-management-auditors-AUDITOR_PUB-disable.c', 40 'exchange_api_post-management-auditors.c', 41 'exchange_api_post-management-denominations-H_DENOM_PUB-revoke.c', 42 'exchange_api_post-management-drain.c', 43 'exchange_api_post-management-global-fees.c', 44 'exchange_api_post-management-keys.c', 45 'exchange_api_post-management-partners.c', 46 'exchange_api_post-management-signkeys-EXCHANGE_PUB-revoke.c', 47 'exchange_api_post-management-wire-disable.c', 48 'exchange_api_post-management-wire-fee.c', 49 'exchange_api_post-management-wire.c', 50 'exchange_api_post-melt.c', 51 'exchange_api_post-purses-PURSE_PUB-create.c', 52 'exchange_api_post-purses-PURSE_PUB-deposit.c', 53 'exchange_api_post-purses-PURSE_PUB-merge.c', 54 'exchange_api_post-recoup-refresh.c', 55 'exchange_api_post-recoup-withdraw.c', 56 'exchange_api_post-reserves-RESERVE_PUB-attest.c', 57 'exchange_api_post-reserves-RESERVE_PUB-close.c', 58 'exchange_api_post-reserves-RESERVE_PUB-open.c', 59 'exchange_api_post-reserves-RESERVE_PUB-purse.c', 60 'exchange_api_post-reveal-melt.c', 61 'exchange_api_post-reveal-withdraw.c', 62 'exchange_api_post-withdraw.c', 63 'exchange_api_post-withdraw_blinded.c', 64 'exchange_api_refresh_common.c', 65 'exchange_api_restrictions.c', 66 'exchange_api_stefan.c', 67 ] 68 69 libtalerauditor = library( 70 'talerauditor', 71 [ 72 'auditor_api_curl_defaults.c', 73 'auditor_api_get_config.c', 74 'auditor_api_put_deposit_confirmation.c', 75 ], 76 soversion: solibversions['libtalerauditor']['soversion'], 77 version: solibversions['libtalerauditor']['soversion'], 78 install_rpath: rpath_option, 79 dependencies: [ 80 libtalercurl_dep, 81 libtalerjson_dep, 82 libtalerutil_dep, 83 gnunetutil_dep, 84 gnunetcurl_dep, 85 gnunetjson_dep, 86 json_dep, 87 curl_dep, 88 m_dep, 89 ], 90 include_directories: [incdir, configuration_inc], 91 install: true, 92 install_dir: get_option('libdir'), 93 ) 94 95 libtalerauditor_dep = declare_dependency(link_with: libtalerauditor) 96 pkg.generate( 97 libtalerauditor, 98 url: 'https://taler.net', 99 description: 'GNU Taler auditor library', 100 ) 101 102 103 libtalerexchange = library( 104 'talerexchange', 105 libtalerexchange_la_SOURCES, 106 soversion: solibversions['libtalerexchange']['soversion'], 107 version: solibversions['libtalerexchange']['soversion'], 108 install_rpath: rpath_option, 109 dependencies: [ 110 libtalerauditor_dep, 111 libtalerkyclogic_dep, 112 libtalercurl_dep, 113 libtalerjson_dep, 114 libtalerutil_dep, 115 gnunetutil_dep, 116 gnunetcurl_dep, 117 gnunetjson_dep, 118 json_dep, 119 curl_dep, 120 m_dep, 121 ], 122 include_directories: [incdir, configuration_inc], 123 install: true, 124 install_dir: get_option('libdir'), 125 ) 126 127 libtalerexchange_dep = declare_dependency(link_with: libtalerexchange) 128 pkg.generate( 129 libtalerexchange, 130 url: 'https://taler.net', 131 description: 'GNU Taler exchange library', 132 ) 133 134 135 test_stefan = executable( 136 'test_stefan', 137 ['test_stefan.c'.format(t)], 138 dependencies: [gnunetutil_dep, libtalerutil_dep, libtalerexchange_dep], 139 include_directories: [incdir, configuration_inc], 140 build_by_default: false, 141 install: false, 142 ) 143 test( 144 'test_stefan', 145 test_stefan, 146 workdir: meson.current_build_dir(), 147 suite: ['stefan', 'installcheck'], 148 ) 149