aboutsummaryrefslogtreecommitdiff
path: root/src/bank-lib/Makefile.am
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-17 23:14:23 +0200
committerChristian Grothoff <christian@grothoff.org>2016-04-17 23:14:23 +0200
commit8d503b17e3bd2f1ee4d54c13bb7c4221e4b6068b (patch)
tree0c73d67b6456ea3dfebd258ce3a690c563389394 /src/bank-lib/Makefile.am
parent4dcd70ac2bcf2642e1725f55cc26739bd91e4d1e (diff)
move fake bank implementation to new library to re-use the code in upcoming testcases in preparation of fixing #4399
Diffstat (limited to 'src/bank-lib/Makefile.am')
-rw-r--r--src/bank-lib/Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/bank-lib/Makefile.am b/src/bank-lib/Makefile.am
index dc52f8e0c..e833c533c 100644
--- a/src/bank-lib/Makefile.am
+++ b/src/bank-lib/Makefile.am
@@ -9,6 +9,9 @@ endif
lib_LTLIBRARIES = \
libtalerbank.la
+noinst_LTLIBRARIES = \
+ libfakebank.la
+
libtalerbank_la_LDFLAGS = \
-version-info 0:0:0 \
-no-undefined
@@ -24,6 +27,17 @@ libtalerbank_la_LIBADD = \
-ljansson \
$(XLIB)
+libfakebank_la_SOURCES = \
+ fakebank.c
+
+libfakebank_la_LIBADD = \
+ $(top_builddir)/src/json/libtalerjson.la \
+ -lgnunetjson \
+ -lgnunetutil \
+ -ljansson \
+ $(XLIB)
+
+
if HAVE_LIBCURL
libtalerbank_la_LIBADD += -lcurl
else