summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-26 20:05:44 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-26 20:05:58 +0200
commit5da22c60de9e79081a10f6ea70266a8032aa52c1 (patch)
tree0995d0fa628d723a2dead8a6cef1bc20919b9afa /src
parent94f0d80cc115ce93e88b64f8e3d0fa81e853f6d3 (diff)
downloadexchange-5da22c60de9e79081a10f6ea70266a8032aa52c1.tar.gz
exchange-5da22c60de9e79081a10f6ea70266a8032aa52c1.tar.bz2
exchange-5da22c60de9e79081a10f6ea70266a8032aa52c1.zip
turn teah_common.c into libtalercurl, fixes many ugly issues in build system
Diffstat (limited to 'src')
-rw-r--r--src/curl/Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/curl/Makefile.am b/src/curl/Makefile.am
new file mode 100644
index 000000000..7ddfe4d66
--- /dev/null
+++ b/src/curl/Makefile.am
@@ -0,0 +1,20 @@
+# 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 = \
+ libtalercurl.la
+
+libtalercurl_la_LDFLAGS = \
+ -version-info 0:0:0 \
+ -no-undefined
+libtalercurl_la_SOURCES = \
+ curl.c
+libtalercurl_la_LIBADD = \
+ -lgnunetcurl \
+ -lgnunetutil \
+ $(XLIB)