aboutsummaryrefslogtreecommitdiff
path: root/src/util/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/Makefile.am')
-rw-r--r--src/util/Makefile.am39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
new file mode 100644
index 00000000..c06de792
--- /dev/null
+++ b/src/util/Makefile.am
@@ -0,0 +1,39 @@
+# This Makefile.am is in the public domain
+AM_CPPFLAGS = -I$(top_srcdir)/src/include $(LIBGCRYPT_CFLAGS)
+
+if USE_COVERAGE
+ AM_CFLAGS = --coverage -O0
+ XLIB = -lgcov
+endif
+
+
+pkgcfgdir = $(prefix)/share/sync/config.d/
+
+pkgcfg_DATA = \
+ merchant-paths.conf
+
+bin_PROGRAMS = \
+ taler-merchant-config
+
+taler_merchant_config_SOURCES = \
+ taler-merchant-config.c
+taler_merchant_config_LDADD = \
+ libtalermerchantutil.la \
+ -lgnunetutil \
+ $(XLIB)
+
+EXTRA_DIST = \
+ $(bin_SCRIPTS) \
+ $(pkgcfg_DATA)
+
+lib_LTLIBRARIES = \
+ libtalermerchantutil.la
+
+libtalermerchantutil_la_SOURCES = \
+ os_installation.c
+libtalermerchantutil_la_LIBADD = \
+ -lgnunetutil \
+ $(XLIB)
+libtalermerchantutil_la_LDFLAGS = \
+ -version-info 0:0:0 \
+ -export-dynamic -no-undefined