aboutsummaryrefslogtreecommitdiff
path: root/src/mhd/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/mhd/Makefile.am')
-rw-r--r--src/mhd/Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mhd/Makefile.am b/src/mhd/Makefile.am
new file mode 100644
index 000000000..2c6d464f1
--- /dev/null
+++ b/src/mhd/Makefile.am
@@ -0,0 +1,24 @@
+# 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
+
+lib_LTLIBRARIES = \
+ libtalermhd.la
+
+libtalermhd_la_SOURCES = \
+ mhd_responses.c
+libtalermhd_la_LDFLAGS = \
+ -version-info 0:0:0 \
+ -export-dynamic -no-undefined
+libtalermhd_la_LIBADD = \
+ -lgnunetjson \
+ $(top_builddir)/src/json/libtalerjson.la \
+ $(top_builddir)/src/util/libtalerutil.la \
+ -lgnunetutil \
+ -ljansson \
+ $(XLIB)
+