blob: f27dec3d304521c7d3b6f8f9f675a6e65d0eab7f (
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
|
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(LIBGCRYPT_CFLAGS) $(SQLITE_CPPFLAGS)
if USE_COVERAGE
AM_CFLAGS = --coverage -O0
XLIB = -lgcov
endif
lib_LTLIBRARIES = \
libtalersq.la
libtalersq_la_SOURCES = \
sq_query_helper.c \
sq_result_helper.c
libtalersq_la_LIBADD = \
$(top_builddir)/src/util/libtalerutil.la \
-lgnunetutil -ljansson \
-lsqlite3 \
$(XLIB)
libtalersq_la_LDFLAGS = \
$(SQLITE_LDFLAGS) \
-version-info 0:0:0 \
-no-undefined
check_PROGRAMS= \
test_sq
TESTS = \
$(check_PROGRAMS)
test_sq_SOURCES = \
test_sq.c
test_sq_LDADD = \
libtalersq.la \
$(top_builddir)/src/util/libtalerutil.la \
-lgnunetsq \
-lgnunetutil \
-ljansson \
-lsqlite3 \
$(XLIB)
|