Makefile.am (3834B)
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 xml.c \ 115 yna.c \ 116 os_installation.c 117 118 libtalerutil_la_LIBADD = \ 119 -lgnunetutil \ 120 -lgnunetjson \ 121 -lsodium \ 122 -ljansson \ 123 $(LIBGCRYPT_LIBS) \ 124 -lmicrohttpd $(XLIB) \ 125 -lunistring \ 126 -lz \ 127 -lm 128 129 libtalerutil_la_LDFLAGS = \ 130 -version-info 12:0:2 \ 131 -no-undefined 132 133 134 AM_TESTS_ENVIRONMENT=export TALER_EXCHANGE_PREFIX=$${TALER_EXCHANGE_PREFIX:-@libdir@};export PATH=$${TALER_EXCHANGE_PREFIX:-@prefix@}/bin:$$PATH; 135 136 check_PROGRAMS = \ 137 test_age_restriction \ 138 test_amount \ 139 test_crypto \ 140 test_helper_eddsa \ 141 test_helper_rsa \ 142 test_helper_cs \ 143 test_payto \ 144 test_url 145 146 TESTS = \ 147 $(check_PROGRAMS) 148 149 test_age_restriction_SOURCES = \ 150 test_age_restriction.c 151 test_age_restriction_LDADD = \ 152 -lgnunetutil \ 153 libtalerutil.la 154 155 test_amount_SOURCES = \ 156 test_amount.c 157 test_amount_LDADD = \ 158 -lgnunetutil \ 159 libtalerutil.la 160 161 test_crypto_SOURCES = \ 162 test_crypto.c 163 test_crypto_LDADD = \ 164 libtalerutil.la \ 165 -lgnunetutil \ 166 -ljansson 167 168 test_payto_SOURCES = \ 169 test_payto.c 170 test_payto_LDADD = \ 171 -lgnunetutil \ 172 libtalerutil.la 173 174 test_helper_eddsa_SOURCES = \ 175 test_helper_eddsa.c 176 test_helper_eddsa_LDADD = \ 177 -lgnunetutil \ 178 libtalerutil.la 179 180 test_helper_rsa_SOURCES = \ 181 test_helper_rsa.c 182 test_helper_rsa_LDADD = \ 183 -lgnunetutil \ 184 libtalerutil.la 185 186 test_helper_cs_SOURCES = \ 187 test_helper_cs.c 188 test_helper_cs_LDADD = \ 189 -lgnunetutil \ 190 libtalerutil.la 191 192 test_url_SOURCES = \ 193 test_url.c 194 test_url_LDADD = \ 195 -lgnunetutil \ 196 libtalerutil.la