exchange/src/pq/Makefile.am

41 lines
766 B
Makefile
Raw Normal View History

# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(LIBGCRYPT_CFLAGS) $(POSTGRESQL_CPPFLAGS)
2015-04-13 13:57:38 +02:00
if USE_COVERAGE
AM_CFLAGS = --coverage -O0
XLIB = -lgcov
endif
lib_LTLIBRARIES = \
libtalerpq.la
libtalerpq_la_SOURCES = \
pq_query_helper.c \
pq_result_helper.c
libtalerpq_la_LIBADD = \
2015-05-07 14:36:49 +02:00
$(top_builddir)/src/util/libtalerutil.la \
2015-06-10 17:39:34 +02:00
-lgnunetutil -ljansson \
2020-11-12 22:25:59 +01:00
-lpq \
$(XLIB)
libtalerpq_la_LDFLAGS = \
$(POSTGRESQL_LDFLAGS) \
-version-info 0:0:0 \
-export-dynamic -no-undefined
2015-05-07 14:36:49 +02:00
check_PROGRAMS= \
test_pq
2020-11-12 22:25:59 +01:00
TESTS = \
$(check_PROGRAMS)
2015-05-07 14:36:49 +02:00
test_pq_SOURCES = \
test_pq.c
test_pq_LDADD = \
libtalerpq.la \
$(top_builddir)/src/util/libtalerutil.la \
-lgnunetpq \
-lgnunetutil \
-ljansson \
2020-11-12 22:25:59 +01:00
-lpq \
$(XLIB)