aboutsummaryrefslogtreecommitdiff
path: root/src/kyclogic/Makefile.am
blob: 0281553fc0617aec510861517d987c857404c6a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include

if USE_COVERAGE
  AM_CFLAGS = --coverage -O0
  XLIB = -lgcov
endif

pkgcfgdir = $(prefix)/share/taler/config.d/

pkgcfg_DATA = \
  kyclogic.conf \
  kyclogic-kycaid.conf \
  kyclogic-oauth2.conf \
  kyclogic-persona.conf

bin_SCRIPTS = \
  taler-exchange-kyc-kycaid-converter.sh \
  taler-exchange-kyc-persona-converter.sh \
  taler-exchange-kyc-oauth2-test-converter.sh \
  taler-exchange-kyc-oauth2-challenger.sh \
  taler-exchange-kyc-oauth2-nda.sh

EXTRA_DIST = \
  $(pkgcfg_DATA) \
  $(bin_SCRIPTS) \
  sample.conf

lib_LTLIBRARIES = \
  libtalerkyclogic.la

libtalerkyclogic_la_SOURCES = \
  kyclogic_api.c
libtalerkyclogic_la_LIBADD = \
  $(top_builddir)/src/util/libtalerutil.la \
  -ljansson \
  -lgnunetutil \
  $(XLIB)
libtalerkyclogic_la_LDFLAGS = \
  -version-info 0:0:0 \
  -no-undefined


bin_PROGRAMS = \
  taler-exchange-kyc-tester

taler_exchange_kyc_tester_SOURCES = \
  taler-exchange-kyc-tester.c
taler_exchange_kyc_tester_LDADD = \
  $(LIBGCRYPT_LIBS) \
  libtalerkyclogic.la \
  $(top_builddir)/src/mhd/libtalermhd.la \
  $(top_builddir)/src/json/libtalerjson.la \
  $(top_builddir)/src/templating/libtalertemplating.la \
  $(top_builddir)/src/util/libtalerutil.la \
  -lmicrohttpd \
  -lgnunetcurl \
  -lgnunetutil \
  -lgnunetjson \
  -ljansson \
  -lcurl \
  -lz \
  $(XLIB)



plugindir = $(libdir)/taler

plugin_LTLIBRARIES = \
  libtaler_plugin_kyclogic_kycaid.la \
  libtaler_plugin_kyclogic_oauth2.la \
  libtaler_plugin_kyclogic_persona.la \
  libtaler_plugin_kyclogic_template.la

libtaler_plugin_kyclogic_template_la_SOURCES = \
  plugin_kyclogic_template.c
libtaler_plugin_kyclogic_template_la_LIBADD = \
  $(LTLIBINTL)
libtaler_plugin_kyclogic_template_la_LDFLAGS = \
  $(TALER_PLUGIN_LDFLAGS) \
  -lgnunetcurl \
  -lgnunetutil \
  $(XLIB)

libtaler_plugin_kyclogic_oauth2_la_SOURCES = \
  plugin_kyclogic_oauth2.c
libtaler_plugin_kyclogic_oauth2_la_LIBADD = \
  $(LTLIBINTL)
libtaler_plugin_kyclogic_oauth2_la_LDFLAGS = \
  $(TALER_PLUGIN_LDFLAGS) \
  $(top_builddir)/src/templating/libtalertemplating.la \
  $(top_builddir)/src/mhd/libtalermhd.la \
  $(top_builddir)/src/json/libtalerjson.la \
  $(top_builddir)/src/util/libtalerutil.la \
  -lgnunetcurl \
  -lgnunetjson \
  -lgnunetutil \
  -lmicrohttpd \
  -ljansson \
  -lcurl \
  $(XLIB)

libtaler_plugin_kyclogic_kycaid_la_SOURCES = \
  plugin_kyclogic_kycaid.c
libtaler_plugin_kyclogic_kycaid_la_LIBADD = \
  $(LTLIBINTL)
libtaler_plugin_kyclogic_kycaid_la_LDFLAGS = \
  $(TALER_PLUGIN_LDFLAGS) \
  $(top_builddir)/src/templating/libtalertemplating.la \
  $(top_builddir)/src/mhd/libtalermhd.la \
  $(top_builddir)/src/json/libtalerjson.la \
  $(top_builddir)/src/curl/libtalercurl.la \
  $(top_builddir)/src/util/libtalerutil.la \
  -lgnunetcurl \
  -lgnunetjson \
  -lgnunetutil \
  -lmicrohttpd \
  -ljansson \
  -lcurl \
  $(XLIB)

libtaler_plugin_kyclogic_persona_la_SOURCES = \
  plugin_kyclogic_persona.c
libtaler_plugin_kyclogic_persona_la_LIBADD = \
  $(LTLIBINTL)
libtaler_plugin_kyclogic_persona_la_DEPENDENCIES = \
  libtalerkyclogic.la
libtaler_plugin_kyclogic_persona_la_LDFLAGS = \
  $(TALER_PLUGIN_LDFLAGS) \
  libtalerkyclogic.la \
  $(top_builddir)/src/mhd/libtalermhd.la \
  $(top_builddir)/src/json/libtalerjson.la \
  $(top_builddir)/src/curl/libtalercurl.la \
  $(top_builddir)/src/templating/libtalertemplating.la \
  $(top_builddir)/src/util/libtalerutil.la \
  -lgnunetcurl \
  -lgnunetjson \
  -lgnunetutil \
  -lmicrohttpd \
  -ljansson \
  -lcurl \
  $(XLIB)

AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;