aboutsummaryrefslogtreecommitdiff
path: root/src/pq/Makefile.am
blob: 341baa53c6757c59759f35e969b1dba747bcc41f (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
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(LIBGCRYPT_CFLAGS) $(POSTGRESQL_CPPFLAGS)

if USE_COVERAGE
  AM_CFLAGS = --coverage -O0
  XLIB = -lgcov
endif

talerincludedir = $(includedir)/taler

lib_LTLIBRARIES = \
  libtalerpq.la

libtalerpq_la_SOURCES = \
  db_pq.c

libtalerpq_la_LIBADD = \
  -lgnunetutil \
  -lpq $(XLIB)

libtalerpq_la_LDFLAGS = \
  $(POSTGRESQL_LDFLAGS) \
  -version-info 0:0:0 \
  -export-dynamic -no-undefined