Makefile.am (3824B)
1 # This Makefile.am is in the public domain 2 AM_CPPFLAGS = -I$(top_srcdir)/src/include $(LIBGCRYPT_CFLAGS) 3 4 if USE_COVERAGE 5 AM_CFLAGS = --coverage -O0 6 XLIB = -lgcov 7 endif 8 9 10 pkgcfgadir = $(prefix)/share/taler-auditor/config.d/ 11 pkgcfgedir = $(prefix)/share/taler-exchange/config.d/ 12 13 pkgcfga_DATA = \ 14 auditor-paths.conf 15 16 pkgcfge_DATA = \ 17 currencies.conf \ 18 exchange-paths.conf \ 19 taler-exchange-secmod-eddsa.conf \ 20 taler-exchange-secmod-rsa.conf \ 21 taler-exchange-secmod-cs.conf 22 23 EXTRA_DIST = \ 24 $(pkgcfga_DATA) \ 25 $(pkgcfge_DATA) \ 26 test_helper_eddsa.conf \ 27 test_helper_rsa.conf \ 28 test_helper_cs.conf 29 30 bin_PROGRAMS = \ 31 taler-auditor-config \ 32 taler-exchange-secmod-eddsa \ 33 taler-exchange-secmod-rsa \ 34 taler-exchange-secmod-cs \ 35 taler-exchange-config 36 37 taler_auditor_config_SOURCES = \ 38 taler-auditor-config.c 39 taler_auditor_config_LDADD = \ 40 libtalerutil.la \ 41 -lgnunetutil \ 42 $(XLIB) 43 44 taler_exchange_config_SOURCES = \ 45 taler-exchange-config.c 46 taler_exchange_config_LDADD = \ 47 libtalerutil.la \ 48 -lgnunetutil \ 49 $(XLIB) 50 51 taler_exchange_secmod_rsa_SOURCES = \ 52 taler-exchange-secmod-rsa.c 53 taler_exchange_secmod_rsa_LDADD = \ 54 libtalerutil.la \ 55 -lgnunetutil \ 56 -lpthread \ 57 $(LIBGCRYPT_LIBS) \ 58 $(XLIB) 59 60 taler_exchange_secmod_cs_SOURCES = \ 61 taler-exchange-secmod-cs.c 62 taler_exchange_secmod_cs_LDADD = \ 63 libtalerutil.la \ 64 -lgnunetutil \ 65 -lpthread \ 66 $(LIBGCRYPT_LIBS) \ 67 $(XLIB) 68 69 taler_exchange_secmod_eddsa_SOURCES = \ 70 taler-exchange-secmod-eddsa.c 71 taler_exchange_secmod_eddsa_LDADD = \ 72 libtalerutil.la \ 73 -lgnunetutil \ 74 -lpthread \ 75 $(LIBGCRYPT_LIBS) \ 76 $(XLIB) 77 78 lib_LTLIBRARIES = \ 79 libtalerutil.la 80 81 libtalerutil_la_SOURCES = \ 82 age_restriction.c \ 83 amount.c \ 84 aml_signatures.c \ 85 auditor_signatures.c \ 86 config.c \ 87 crypto.c \ 88 crypto_confirmation.c \ 89 crypto_contract.c \ 90 crypto_helper_common.c crypto_helper_common.h \ 91 crypto_helper_rsa.c \ 92 crypto_helper_cs.c \ 93 crypto_helper_esign.c \ 94 crypto_wire.c \ 95 denom.c \ 96 exchange_signatures.c \ 97 getopt.c \ 98 lang.c \ 99 iban.c \ 100 kyc_signatures.c \ 101 merchant_signatures.c \ 102 offline_signatures.c \ 103 payto.c \ 104 secmod_common.c secmod_common.h \ 105 secmod_cs.c secmod_cs.h \ 106 secmod_eddsa.c secmod_eddsa.h \ 107 secmod_rsa.c secmod_rsa.h \ 108 secmod_signatures.c \ 109 taler_error_codes.c \ 110 tokens.c \ 111 url.c \ 112 util.c \ 113 wallet_signatures.c \ 114 yna.c \ 115 os_installation.c 116 117 libtalerutil_la_LIBADD = \ 118 -lgnunetutil \ 119 -lgnunetjson \ 120 -lsodium \ 121 -ljansson \ 122 $(LIBGCRYPT_LIBS) \ 123 -lmicrohttpd $(XLIB) \ 124 -lunistring \ 125 -lz \ 126 -lm 127 128 libtalerutil_la_LDFLAGS = \ 129 -version-info 10:0:0 \ 130 -no-undefined 131 132 133 AM_TESTS_ENVIRONMENT=export TALER_EXCHANGE_PREFIX=$${TALER_EXCHANGE_PREFIX:-@libdir@};export PATH=$${TALER_EXCHANGE_PREFIX:-@prefix@}/bin:$$PATH; 134 135 check_PROGRAMS = \ 136 test_age_restriction \ 137 test_amount \ 138 test_crypto \ 139 test_helper_eddsa \ 140 test_helper_rsa \ 141 test_helper_cs \ 142 test_payto \ 143 test_url 144 145 TESTS = \ 146 $(check_PROGRAMS) 147 148 test_age_restriction_SOURCES = \ 149 test_age_restriction.c 150 test_age_restriction_LDADD = \ 151 -lgnunetutil \ 152 libtalerutil.la 153 154 test_amount_SOURCES = \ 155 test_amount.c 156 test_amount_LDADD = \ 157 -lgnunetutil \ 158 libtalerutil.la 159 160 test_crypto_SOURCES = \ 161 test_crypto.c 162 test_crypto_LDADD = \ 163 libtalerutil.la \ 164 -lgnunetutil \ 165 -ljansson 166 167 test_payto_SOURCES = \ 168 test_payto.c 169 test_payto_LDADD = \ 170 -lgnunetutil \ 171 libtalerutil.la 172 173 test_helper_eddsa_SOURCES = \ 174 test_helper_eddsa.c 175 test_helper_eddsa_LDADD = \ 176 -lgnunetutil \ 177 libtalerutil.la 178 179 test_helper_rsa_SOURCES = \ 180 test_helper_rsa.c 181 test_helper_rsa_LDADD = \ 182 -lgnunetutil \ 183 libtalerutil.la 184 185 test_helper_cs_SOURCES = \ 186 test_helper_cs.c 187 test_helper_cs_LDADD = \ 188 -lgnunetutil \ 189 libtalerutil.la 190 191 test_url_SOURCES = \ 192 test_url.c 193 test_url_LDADD = \ 194 -lgnunetutil \ 195 libtalerutil.la