aboutsummaryrefslogtreecommitdiff
path: root/src/bank-lib/Makefile.am
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-01-25 10:20:40 +0100
committerChristian Grothoff <christian@grothoff.org>2016-01-25 10:20:40 +0100
commit941cb8182f052bbd6344ba7daf91f3aa792027bd (patch)
tree2981759aae0048edd0948e6fcf73b6029c9f6eeb /src/bank-lib/Makefile.am
parent5c58c43609609e6871c7105c7ca8fc3d794dca04 (diff)
adding first version of thebank-lib
Diffstat (limited to 'src/bank-lib/Makefile.am')
-rw-r--r--src/bank-lib/Makefile.am47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/bank-lib/Makefile.am b/src/bank-lib/Makefile.am
new file mode 100644
index 000000000..5b3b4d25f
--- /dev/null
+++ b/src/bank-lib/Makefile.am
@@ -0,0 +1,47 @@
+# 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 = \
+ libtalerbank.la
+
+libtalerbank_la_LDFLAGS = \
+ -version-info 0:0:0 \
+ -no-undefined
+
+libtalerbank_la_SOURCES = \
+ bank_api_context.c bank_api_context.h \
+ bank_api_json.c bank_api_json.h \
+ bank_api_admin.c
+
+libtalerbank_la_LIBADD = \
+ -lgnunetutil \
+ -ljansson \
+ $(XLIB)
+
+if HAVE_LIBCURL
+libtalerbank_la_LIBADD += -lcurl
+else
+if HAVE_LIBGNURL
+libtalerbank_la_LIBADD += -lgnurl
+endif
+endif
+
+#check_PROGRAMS = \
+# test_bank_api
+
+#TESTS = \
+# $(check_PROGRAMS)
+
+#test_bank_api_SOURCES = \
+# test_bank_api.c
+#test_bank_api_LDADD = \
+# libtalerbank.la \
+# $(LIBGCRYPT_LIBS) \
+# $(top_builddir)/src/util/libtalerutil.la \
+# -lgnunetutil \
+# -ljansson