2016-10-06 15:17:10 +02:00
|
|
|
# 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
|
|
|
|
|
2020-01-17 01:55:01 +01:00
|
|
|
sqldir = $(prefix)/share/taler/sql/auditor/
|
|
|
|
|
|
|
|
sql_DATA = \
|
|
|
|
0000.sql \
|
|
|
|
0001.sql
|
|
|
|
|
2016-10-06 15:17:10 +02:00
|
|
|
EXTRA_DIST = \
|
2016-11-04 00:37:47 +01:00
|
|
|
auditordb-postgres.conf \
|
2020-01-17 01:55:01 +01:00
|
|
|
test-auditor-db-postgres.conf \
|
|
|
|
$(sql_DATA) \
|
|
|
|
9999.sql
|
2016-10-06 15:17:10 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
2016-11-04 00:37:47 +01:00
|
|
|
#EXTRA_test_auditordb_postgres_DEPENDENCIES = \
|
|
|
|
# libtaler_plugin_auditordb_postgres.la
|
|
|
|
|
|
|
|
|
|
|
|
check_PROGRAMS = \
|
|
|
|
test-auditordb-postgres
|
|
|
|
|
|
|
|
AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
|
|
|
|
TESTS = \
|
|
|
|
test-auditordb-postgres
|
|
|
|
|
|
|
|
test_auditordb_postgres_SOURCES = \
|
|
|
|
test_auditordb.c
|
|
|
|
test_auditordb_postgres_LDADD = \
|
|
|
|
libtalerauditordb.la \
|
|
|
|
$(top_srcdir)/src/pq/libtalerpq.la \
|
|
|
|
$(top_srcdir)/src/util/libtalerutil.la \
|
|
|
|
-lgnunetutil
|