summaryrefslogtreecommitdiff
path: root/src/bank-lib/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/bank-lib/Makefile.am')
-rw-r--r--src/bank-lib/Makefile.am43
1 files changed, 40 insertions, 3 deletions
diff --git a/src/bank-lib/Makefile.am b/src/bank-lib/Makefile.am
index 967d95ed..bd1c7e8b 100644
--- a/src/bank-lib/Makefile.am
+++ b/src/bank-lib/Makefile.am
@@ -21,7 +21,8 @@ taler_bank_transfer_LDADD = \
lib_LTLIBRARIES = \
libtalerbank.la \
- libtalerfakebank.la
+ libtalerfakebank.la \
+ libtalerbanktesting.la
libtalerbank_la_LDFLAGS = \
-version-info 1:0:0 \
@@ -41,7 +42,6 @@ libtalerbank_la_LIBADD = \
-ljansson \
$(XLIB)
-
libtalerfakebank_la_LDFLAGS = \
-version-info 0:0:0 \
-no-undefined
@@ -57,6 +57,22 @@ libtalerfakebank_la_LIBADD = \
-lmicrohttpd \
$(XLIB)
+libtalerbanktesting_la_LDFLAGS = \
+ -version-info 0:0:0 \
+ -no-undefined
+
+libtalerbanktesting_la_SOURCES = \
+ testing_api_cmd_history.c \
+ testing_api_cmd_reject.c \
+ testing_api_helpers.c
+
+libtalerbanktesting_la_LIBADD = \
+ $(top_builddir)/src/json/libtalerjson.la \
+ -lgnunetjson \
+ -lgnunetutil \
+ -ljansson \
+ -lmicrohttpd \
+ $(XLIB)
if HAVE_LIBCURL
libtalerbank_la_LIBADD += -lcurl
@@ -68,7 +84,9 @@ endif
check_PROGRAMS = \
test_bank_api \
- test_bank_api_with_fakebank
+ test_bank_api_new \
+ test_bank_api_with_fakebank \
+ test_bank_api_with_fakebank_new
TESTS = \
$(check_PROGRAMS)
@@ -84,6 +102,15 @@ test_bank_api_LDADD = \
-lgnunetutil \
-ljansson
+test_bank_api_new_SOURCES = \
+ test_bank_api_new.c
+
+test_bank_api_new_LDADD = \
+ $(top_builddir)/src/exchange-lib/libtalertesting.la \
+ libtalerbanktesting.la \
+ -ltalerexchange \
+ -lgnunetutil \
+ libtalerbank.la
test_bank_api_with_fakebank_SOURCES = \
test_bank_interpreter.c test_bank_interpreter.h \
@@ -96,5 +123,15 @@ test_bank_api_with_fakebank_LDADD = \
-lgnunetutil \
-ljansson
+test_bank_api_with_fakebank_new_SOURCES = \
+ test_bank_api_with_fakebank_new.c
+
+test_bank_api_with_fakebank_new_LDADD = \
+ $(top_builddir)/src/exchange-lib/libtalertesting.la \
+ libtalerbanktesting.la \
+ -ltalerexchange \
+ -lgnunetutil \
+ libtalerbank.la
+
EXTRA_DIST = \
bank.conf