blob: 0c44570ed1c849b84d6ed62fda7f8f05bb688e21 (
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(LIBGCRYPT_CFLAGS) $(POSTGRESQL_CPPFLAGS)
if USE_COVERAGE
AM_CFLAGS = --coverage -O0
XLIB = -lgcov
endif
if WALLET_ONLY
lib_LTLIBRARIES = \
libtalerutil_wallet.la
else
lib_LTLIBRARIES = \
libtalerutil.la
endif
libtalerutil_wallet_la_SOURCES = \
amount.c \
crypto.c \
util.c
libtalerutil_wallet_la_LIBADD = \
-lgnunetutil_taler_wallet \
$(LIBGCRYPT_LIBS) \
$(XLIB)
libtalerutil_wallet_la_LDFLAGS = \
-version-info 0:0:0 \
-export-dynamic -no-undefined
libtalerutil_la_SOURCES = \
amount.c \
crypto.c \
util.c \
json.c \
os_installation.c \
wireformats.c
libtalerutil_la_LIBADD = \
-lgnunetutil \
$(LIBGCRYPT_LIBS) \
-ljansson \
-lmicrohttpd $(XLIB)
libtalerutil_la_LDFLAGS = \
-version-info 0:0:0 \
-export-dynamic -no-undefined
TESTS = \
test_amount \
test_crypto \
test_json \
test_wireformats
check_PROGRAMS= \
test_amount \
test_crypto \
test_json \
test_wireformats
test_amount_SOURCES = \
test_amount.c
test_amount_LDADD = \
-lgnunetutil \
libtalerutil.la
test_crypto_SOURCES = \
test_crypto.c
test_crypto_LDADD = \
-lgnunetutil \
libtalerutil.la
test_json_SOURCES = \
test_json.c
test_json_LDADD = \
-lgnunetutil \
-ljansson \
libtalerutil.la
test_wireformats_SOURCES = \
test_wireformats.c
test_wireformats_LDADD = \
-lgnunetutil \
-ljansson \
libtalerutil.la
|