2015-02-08 00:17:40 +01:00
|
|
|
# This Makefile.am is in the public domain
|
2015-01-28 20:37:51 +01:00
|
|
|
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
|
|
|
|
|
2015-01-30 10:56:29 +01:00
|
|
|
talerincludedir = $(includedir)/taler
|
|
|
|
|
2015-01-28 20:37:51 +01:00
|
|
|
lib_LTLIBRARIES = \
|
|
|
|
libtalerpq.la
|
|
|
|
|
|
|
|
libtalerpq_la_SOURCES = \
|
2015-03-27 19:58:40 +01:00
|
|
|
db_pq.c
|
2015-01-28 20:37:51 +01:00
|
|
|
|
|
|
|
libtalerpq_la_LIBADD = \
|
|
|
|
-lgnunetutil \
|
2015-04-13 13:57:38 +02:00
|
|
|
-lpq $(XLIB)
|
2015-01-28 20:37:51 +01:00
|
|
|
|
|
|
|
libtalerpq_la_LDFLAGS = \
|
|
|
|
$(POSTGRESQL_LDFLAGS) \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
-export-dynamic -no-undefined
|