blob: 4a4ea4f0fe67c07f0a0bc2a00c5c0298c558719f (
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
|
# 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 = \
libsync.la \
libsynctesting.la
libsync_la_LDFLAGS = \
-version-info 0:0:0 \
-no-undefined
libsync_la_SOURCES = \
sync_api_curl_defaults.c sync_api_curl_defaults.h \
sync_api_download.c \
sync_api_upload.c
libsync_la_LIBADD = \
-lgnunetcurl \
-lgnunetjson \
-ltalerjson \
-ltalerutil \
-lgnunetutil \
-ljansson \
$(XLIB)
libsynctesting_la_LDFLAGS = \
-version-info 0:0:0 \
-no-undefined
libsynctesting_la_SOURCES = \
testing_api_cmd_backup_download.c \
testing_api_cmd_backup_upload.c \
testing_api_helpers.c \
testing_api_trait_account_pub.c \
testing_api_trait_account_priv.c \
testing_api_trait_hash.c
libsynctesting_la_LIBADD = \
libsync.la \
-ltalerexchange \
-ltalerjson \
-ltalerutil \
-lgnunetcurl \
-lgnunetjson \
-lgnunetutil \
-ljansson \
-ltalertesting \
$(XLIB)
check_PROGRAMS = \
test_sync_api
TESTS = \
$(check_PROGRAMS)
test_sync_api_SOURCES = \
test_sync_api.c
test_sync_api_LDADD = \
libsync.la \
libsynctesting.la \
-ltalertesting \
-ltalermerchanttesting \
-ltalerfakebank \
-ltalerbank \
-ltalerexchange \
-ltalermerchant \
-ltalerjson \
-ltalerutil \
-lgnunetjson \
-lgnunetcurl \
-lgnunetutil \
-ljansson
if HAVE_LIBCURL
libsync_la_LIBADD += -lcurl
else
if HAVE_LIBGNURL
libsync_la_LIBADD += -lgnurl
endif
endif
|