blob: e8ec402728b133f049170ab412bdb95b20ae1e4a (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/pq/ $(POSTGRESQL_CPPFLAGS)
if USE_COVERAGE
AM_CFLAGS = --coverage -O0
XLIB = -lgcov
endif
pkgcfgdir = $(prefix)/share/taler/config.d/
pkgcfg_DATA = \
auditordb-postgres.conf
EXTRA_DIST = \
auditordb-postgres.conf
plugindir = $(libdir)/taler
if HAVE_POSTGRESQL
plugin_LTLIBRARIES = \
libtaler_plugin_auditordb_postgres.la
endif
libtaler_plugin_auditordb_postgres_la_SOURCES = \
plugin_auditordb_postgres.c
libtaler_plugin_auditordb_postgres_la_LIBADD = \
$(LTLIBINTL)
libtaler_plugin_auditordb_postgres_la_LDFLAGS = \
$(TALER_PLUGIN_LDFLAGS) \
$(top_builddir)/src/pq/libtalerpq.la \
$(top_builddir)/src/util/libtalerutil.la \
-lpq \
-lgnunetpq \
-lgnunetutil $(XLIB)
lib_LTLIBRARIES = \
libtalerauditordb.la
libtalerauditordb_la_SOURCES = \
auditordb_plugin.c
libtalerauditordb_la_LIBADD = \
$(top_builddir)/src/util/libtalerutil.la \
-lgnunetutil $(XLIB)
libtalerauditordb_la_LDFLAGS = \
$(POSTGRESQL_LDFLAGS) \
-version-info 0:0:0 \
-no-undefined
EXTRA_test_auditordb_postgres_DEPENDENCIES = \
libtaler_plugin_auditordb_postgres.la
|