exchange/src/sq/Makefile.am

41 lines
752 B
Makefile
Raw Normal View History

2020-06-02 17:57:39 +02:00
# 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 \
2020-11-12 22:25:59 +01:00
-lsqlite3 \
$(XLIB)
2020-06-02 17:57:39 +02:00
libtalersq_la_LDFLAGS = \
$(SQLITE_LDFLAGS) \
-version-info 0:0:0 \
2021-07-29 23:56:46 +02:00
-no-undefined
2020-06-02 17:57:39 +02:00
check_PROGRAMS= \
test_sq
2020-11-12 22:25:59 +01:00
TESTS = \
$(check_PROGRAMS)
2020-06-02 17:57:39 +02:00
test_sq_SOURCES = \
test_sq.c
test_sq_LDADD = \
libtalersq.la \
$(top_builddir)/src/util/libtalerutil.la \
-lgnunetsq \
-lgnunetutil \
-ljansson \
2020-11-12 22:25:59 +01:00
-lsqlite3 \
$(XLIB)