blob: 6136cdd604a4ae0efdddf67df5a5e00e5bbed42e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/backend
if USE_COVERAGE
AM_CFLAGS = --coverage -O0
XLIB = -lgcov
endif
lib_LTLIBRARIES = \
libtalermerchant.la
libtalermerchant_la_LDFLAGS = \
-version-info 2:0:0 \
-no-undefined
libtalermerchant_la_SOURCES = \
merchant_api_common.c merchant_api_common.h \
merchant_api_proposal.c \
merchant_api_pay.c \
merchant_api_track_transaction.c \
merchant_api_track_transfer.c \
merchant_api_history.c \
merchant_api_refund.c
libtalermerchant_la_LIBADD = \
-ltalerexchange \
-ltalerjson \
-ltalerutil \
-lgnunetcurl \
-lgnunetjson \
-lgnunetutil \
-ljansson \
$(XLIB)
if HAVE_LIBCURL
libtalermerchant_la_LIBADD += -lcurl
else
if HAVE_LIBGNURL
libtalermerchant_la_LIBADD += -lgnurl
endif
endif
if HAVE_TALERFAKEBANK
check_PROGRAMS = \
test_merchant_api
endif
TESTS = \
$(check_PROGRAMS)
test_merchant_api_SOURCES = \
test_merchant_api.c
test_merchant_api_LDADD = \
$(top_srcdir)/src/backenddb/libtalermerchantdb.la \
libtalermerchant.la \
$(LIBGCRYPT_LIBS) \
-ltalerfakebank \
-ltalerexchange \
-ltalerjson \
-ltalerutil \
-lgnunetjson \
-lgnunetcurl \
-lgnunetutil \
-ljansson
EXTRA_DIST = \
test_merchant_api.conf \
test_merchant_api_home/.local/share/taler/exchange/offline-keys/master.priv \
test_merchant_api_home/.config/taler/merchant/wire/test.json \
test_merchant_api_home/.config/taler/test.json \
test_merchant.priv
|