aboutsummaryrefslogtreecommitdiff
path: root/src/kyclogic/Makefile.am
blob: 53c0660a0da00abb690d90221ebebd722a504827 (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
# 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

EXTRA_DIST = \
  kyclogic.conf \
  kyclogic-oauth2.conf \
  sample.conf

lib_LTLIBRARIES = \
  libtalerkyclogic.la

libtalerkyclogic_la_SOURCES = \
  kyclogic_api.c
libtalerkyclogic_la_LIBADD = \
  $(top_builddir)/src/util/libtalerutil.la \
  -lgnunetutil \
  $(XLIB)


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/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_template.la

libtaler_plugin_kyclogic_template_la_SOURCES = \
  plugin_kyclogic_template.c
libtaler_plugin_kyclogic_template_la_LIBADD = \
  $(LTLIBINTL)

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/json/libtalerjson.la \
  $(top_builddir)/src/util/libtalerutil.la \
  -lgnunetutil \
  -ljansson \
  $(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/json/libtalerjson.la \
  $(top_builddir)/src/curl/libtalercurl.la \
  $(top_builddir)/src/util/libtalerutil.la \
  -lgnunetutil \
  -ljansson \
  -lcurl \
  $(XLIB)

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