Makefile.am (5441B)
1 # This Makefile.am is in the public domain 2 AM_CPPFLAGS = -I$(top_srcdir)/src/include 3 4 if USE_COVERAGE 5 AM_CFLAGS = --coverage -O0 6 XLIB = -lgcov 7 endif 8 9 pkgcfgdir = $(prefix)/share/taler-exchange/config.d/ 10 11 pkgcfg_DATA = \ 12 kyclogic.conf \ 13 kyclogic-kycaid.conf \ 14 kyclogic-oauth2.conf \ 15 kyclogic-persona.conf 16 17 bin_SCRIPTS = \ 18 taler-exchange-helper-measure-challenger-email-context-check \ 19 taler-exchange-helper-measure-challenger-postal-context-check \ 20 taler-exchange-helper-measure-challenger-sms-context-check \ 21 taler-exchange-helper-measure-clear-continue \ 22 taler-exchange-helper-measure-defaults-but-investigate \ 23 taler-exchange-helper-measure-freeze \ 24 taler-exchange-helper-measure-inform-investigate \ 25 taler-exchange-helper-measure-none \ 26 taler-exchange-helper-measure-preserve-but-investigate \ 27 taler-exchange-helper-measure-preserve-set-expiration \ 28 taler-exchange-helper-measure-tops-address-check \ 29 taler-exchange-helper-measure-tops-3rdparty-check \ 30 taler-exchange-helper-measure-tops-kyx-check \ 31 taler-exchange-helper-measure-tops-postal-check \ 32 taler-exchange-helper-measure-tops-sms-check \ 33 taler-exchange-helper-measure-test-form \ 34 taler-exchange-helper-measure-test-oauth \ 35 taler-exchange-helper-measure-update-from-context \ 36 taler-exchange-helper-measure-validate-accepted-tos \ 37 taler-exchange-kyc-kycaid-converter.sh \ 38 taler-exchange-kyc-persona-converter.sh \ 39 taler-exchange-kyc-oauth2-test-converter.sh \ 40 taler-exchange-kyc-challenger-email-converter \ 41 taler-exchange-kyc-challenger-postal-converter \ 42 taler-exchange-kyc-challenger-sms-converter \ 43 taler-exchange-kyc-oauth2-challenger.sh \ 44 taler-exchange-kyc-oauth2-nda.sh 45 46 EXTRA_DIST = \ 47 $(pkgcfg_DATA) \ 48 $(bin_SCRIPTS) \ 49 sample.conf 50 51 lib_LTLIBRARIES = \ 52 libtalerkyclogic.la 53 54 libtalerkyclogic_la_SOURCES = \ 55 kyclogic_api.c \ 56 kyclogic_sanctions.c 57 libtalerkyclogic_la_LIBADD = \ 58 $(top_builddir)/src/json/libtalerjson.la \ 59 $(top_builddir)/src/util/libtalerutil.la \ 60 -lgnunetjson \ 61 -lgnunetutil \ 62 -ljansson \ 63 $(XLIB) 64 libtalerkyclogic_la_LDFLAGS = \ 65 -version-info 3:0:0 \ 66 -no-undefined 67 68 69 bin_PROGRAMS = \ 70 taler-exchange-helper-sanctions-dummy \ 71 taler-exchange-kyc-tester 72 73 taler_exchange_kyc_tester_SOURCES = \ 74 taler-exchange-kyc-tester.c 75 taler_exchange_kyc_tester_LDADD = \ 76 $(LIBGCRYPT_LIBS) \ 77 libtalerkyclogic.la \ 78 $(top_builddir)/src/mhd/libtalermhd.la \ 79 $(top_builddir)/src/json/libtalerjson.la \ 80 $(top_builddir)/src/templating/libtalertemplating.la \ 81 $(top_builddir)/src/util/libtalerutil.la \ 82 -lmicrohttpd \ 83 -lgnunetcurl \ 84 -lgnunetutil \ 85 -lgnunetjson \ 86 -ljansson \ 87 -lcurl \ 88 -lz \ 89 $(XLIB) 90 91 taler_exchange_helper_sanctions_dummy_SOURCES = \ 92 taler-exchange-helper-sanctions-dummy.c 93 taler_exchange_helper_sanctions_dummy_LDADD = \ 94 $(LIBGCRYPT_LIBS) \ 95 libtalerkyclogic.la \ 96 $(top_builddir)/src/mhd/libtalermhd.la \ 97 $(top_builddir)/src/json/libtalerjson.la \ 98 $(top_builddir)/src/util/libtalerutil.la \ 99 -lgnunetutil \ 100 -lgnunetjson \ 101 -ljansson \ 102 $(XLIB) 103 104 105 106 plugindir = $(libdir)/taler-exchange 107 108 plugin_LTLIBRARIES = \ 109 libtaler_plugin_kyclogic_kycaid.la \ 110 libtaler_plugin_kyclogic_oauth2.la \ 111 libtaler_plugin_kyclogic_persona.la \ 112 libtaler_plugin_kyclogic_template.la 113 114 libtaler_plugin_kyclogic_template_la_SOURCES = \ 115 plugin_kyclogic_template.c 116 libtaler_plugin_kyclogic_template_la_LIBADD = \ 117 $(LTLIBINTL) 118 libtaler_plugin_kyclogic_template_la_LDFLAGS = \ 119 $(TALER_PLUGIN_LDFLAGS) \ 120 -lgnunetcurl \ 121 -lgnunetutil \ 122 $(XLIB) 123 124 libtaler_plugin_kyclogic_oauth2_la_SOURCES = \ 125 plugin_kyclogic_oauth2.c 126 libtaler_plugin_kyclogic_oauth2_la_LIBADD = \ 127 $(LTLIBINTL) 128 libtaler_plugin_kyclogic_oauth2_la_LDFLAGS = \ 129 $(TALER_PLUGIN_LDFLAGS) \ 130 $(top_builddir)/src/templating/libtalertemplating.la \ 131 $(top_builddir)/src/mhd/libtalermhd.la \ 132 $(top_builddir)/src/curl/libtalercurl.la \ 133 $(top_builddir)/src/json/libtalerjson.la \ 134 $(top_builddir)/src/util/libtalerutil.la \ 135 -lgnunetcurl \ 136 -lgnunetjson \ 137 -lgnunetutil \ 138 -lmicrohttpd \ 139 -ljansson \ 140 -lcurl \ 141 $(XLIB) 142 143 libtaler_plugin_kyclogic_kycaid_la_SOURCES = \ 144 plugin_kyclogic_kycaid.c 145 libtaler_plugin_kyclogic_kycaid_la_LIBADD = \ 146 $(LTLIBINTL) 147 libtaler_plugin_kyclogic_kycaid_la_LDFLAGS = \ 148 $(TALER_PLUGIN_LDFLAGS) \ 149 $(top_builddir)/src/templating/libtalertemplating.la \ 150 $(top_builddir)/src/mhd/libtalermhd.la \ 151 $(top_builddir)/src/json/libtalerjson.la \ 152 $(top_builddir)/src/curl/libtalercurl.la \ 153 $(top_builddir)/src/util/libtalerutil.la \ 154 -lgnunetcurl \ 155 -lgnunetjson \ 156 -lgnunetutil \ 157 -lmicrohttpd \ 158 -ljansson \ 159 -lcurl \ 160 $(XLIB) 161 162 libtaler_plugin_kyclogic_persona_la_SOURCES = \ 163 plugin_kyclogic_persona.c 164 libtaler_plugin_kyclogic_persona_la_LIBADD = \ 165 $(LTLIBINTL) 166 libtaler_plugin_kyclogic_persona_la_DEPENDENCIES = \ 167 libtalerkyclogic.la 168 libtaler_plugin_kyclogic_persona_la_LDFLAGS = \ 169 $(TALER_PLUGIN_LDFLAGS) \ 170 libtalerkyclogic.la \ 171 $(top_builddir)/src/mhd/libtalermhd.la \ 172 $(top_builddir)/src/json/libtalerjson.la \ 173 $(top_builddir)/src/curl/libtalercurl.la \ 174 $(top_builddir)/src/templating/libtalertemplating.la \ 175 $(top_builddir)/src/util/libtalerutil.la \ 176 -lgnunetcurl \ 177 -lgnunetjson \ 178 -lgnunetutil \ 179 -lmicrohttpd \ 180 -ljansson \ 181 -lcurl \ 182 $(XLIB) 183 184 AM_TESTS_ENVIRONMENT=export TALER_EXCHANGE_PREFIX=$${TALER_EXCHANGE_PREFIX:-@libdir@};export PATH=$${TALER_EXCHANGE_PREFIX:-@prefix@}/bin:$$PATH;