aboutsummaryrefslogtreecommitdiff
path: root/src/kyclogic/Makefile.am
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-08-05 15:08:47 +0200
committerChristian Grothoff <christian@grothoff.org>2022-08-05 15:08:47 +0200
commitb533026632963efcb01b9a193aa45806e02aafa1 (patch)
treed910c055f39ba0176a0bfa3375f12bd2af5b27e2 /src/kyclogic/Makefile.am
parent73b099cfd5edb3ae8a6e440ddf53d96fb9288558 (diff)
adding kyclogic plugin template
Diffstat (limited to 'src/kyclogic/Makefile.am')
-rw-r--r--src/kyclogic/Makefile.am36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/kyclogic/Makefile.am b/src/kyclogic/Makefile.am
new file mode 100644
index 000000000..4a4f60a48
--- /dev/null
+++ b/src/kyclogic/Makefile.am
@@ -0,0 +1,36 @@
+# 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-oauth2.conf
+
+EXTRA_DIST = \
+ kyclogic.conf \
+ kyclogic-oauth2.conf
+
+plugindir = $(libdir)/taler
+
+plugin_LTLIBRARIES = \
+ libtaler_plugin_kyclogic_oauth2.la
+
+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)
+
+AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;