2015-03-28 11:06:00 +01:00
|
|
|
# This Makefile.am is in the public domain
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/pq/ $(POSTGRESQL_CPPFLAGS)
|
|
|
|
|
2015-04-13 13:57:38 +02:00
|
|
|
if USE_COVERAGE
|
|
|
|
AM_CFLAGS = --coverage -O0
|
|
|
|
XLIB = -lgcov
|
|
|
|
endif
|
|
|
|
|
2015-03-28 11:06:00 +01:00
|
|
|
plugindir = $(libdir)/taler
|
|
|
|
|
2015-04-13 12:57:05 +02:00
|
|
|
if HAVE_POSTGRESQL
|
2015-03-28 11:06:00 +01:00
|
|
|
plugin_LTLIBRARIES = \
|
|
|
|
libtaler_plugin_mintdb_postgres.la
|
2015-04-13 12:57:05 +02:00
|
|
|
endif
|
2015-03-28 11:06:00 +01:00
|
|
|
|
2015-03-28 12:32:24 +01:00
|
|
|
EXTRA_DIST = \
|
|
|
|
plugin_mintdb_common.c \
|
|
|
|
test-mint-db-postgres.conf
|
2015-03-28 11:06:00 +01:00
|
|
|
|
|
|
|
libtaler_plugin_mintdb_postgres_la_SOURCES = \
|
|
|
|
plugin_mintdb_postgres.c
|
|
|
|
libtaler_plugin_mintdb_postgres_la_LIBADD = \
|
|
|
|
$(LTLIBINTL)
|
|
|
|
libtaler_plugin_mintdb_postgres_la_LDFLAGS = \
|
|
|
|
$(TALER_PLUGIN_LDFLAGS) \
|
|
|
|
-lpq \
|
2015-04-13 13:57:38 +02:00
|
|
|
-lgnunetutil $(XLIB)
|
2015-03-28 11:06:00 +01:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = \
|
|
|
|
libtalermintdb.la
|
|
|
|
|
|
|
|
libtalermintdb_la_SOURCES = \
|
|
|
|
mintdb_keyio.c \
|
|
|
|
mintdb_plugin.c
|
|
|
|
|
|
|
|
libtalermintdb_la_LIBADD = \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2015-04-13 13:57:38 +02:00
|
|
|
-lgnunetutil $(XLIB)
|
2015-03-28 11:06:00 +01:00
|
|
|
|
|
|
|
libtalermintdb_la_LDFLAGS = \
|
|
|
|
$(POSTGRESQL_LDFLAGS) \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
-no-undefined
|
|
|
|
|
|
|
|
|
|
|
|
check_PROGRAMS = \
|
|
|
|
test-mintdb-deposits \
|
|
|
|
test-mintdb-keyio \
|
2015-06-11 15:55:46 +02:00
|
|
|
test-mintdb-postgres \
|
2015-06-18 13:49:23 +02:00
|
|
|
perf-mintdb
|
2015-03-28 11:06:00 +01:00
|
|
|
|
2015-04-10 17:45:15 +02:00
|
|
|
TESTS = \
|
|
|
|
test-mintdb-postgres
|
|
|
|
|
2015-03-28 11:06:00 +01:00
|
|
|
test_mintdb_deposits_SOURCES = \
|
|
|
|
test_mintdb_deposits.c
|
|
|
|
test_mintdb_deposits_LDADD = \
|
|
|
|
libtalermintdb.la \
|
|
|
|
$(top_srcdir)/src/util/libtalerutil.la \
|
|
|
|
$(top_srcdir)/src/pq/libtalerpq.la \
|
|
|
|
-lgnunetutil \
|
|
|
|
-ljansson \
|
2015-06-09 13:55:05 +02:00
|
|
|
-lpq
|
2015-03-28 11:06:00 +01:00
|
|
|
|
|
|
|
test_mintdb_keyio_SOURCES = \
|
|
|
|
test_mintdb_keyio.c
|
|
|
|
test_mintdb_keyio_LDADD = \
|
|
|
|
libtalermintdb.la \
|
|
|
|
$(top_srcdir)/src/util/libtalerutil.la \
|
|
|
|
$(top_srcdir)/src/pq/libtalerpq.la \
|
2015-06-09 13:55:05 +02:00
|
|
|
-lgnunetutil
|
2015-03-28 11:06:00 +01:00
|
|
|
|
|
|
|
test_mintdb_postgres_SOURCES = \
|
|
|
|
test_mintdb.c
|
|
|
|
test_mintdb_postgres_LDADD = \
|
|
|
|
libtalermintdb.la \
|
|
|
|
$(top_srcdir)/src/util/libtalerutil.la \
|
|
|
|
$(top_srcdir)/src/pq/libtalerpq.la \
|
|
|
|
-lgnunetutil -ljansson
|
2015-06-11 15:55:46 +02:00
|
|
|
|
|
|
|
perf_mintdb_SOURCES = \
|
2015-06-18 13:49:23 +02:00
|
|
|
perf_taler_mintdb.c \
|
|
|
|
perf_taler_mintdb_init.c \
|
|
|
|
perf_taler_mintdb_interpreter.c
|
2015-06-11 15:55:46 +02:00
|
|
|
|
|
|
|
perf_mintdb_LDADD = \
|
2015-06-18 13:49:23 +02:00
|
|
|
libtalermintdb.la \
|
2015-06-11 15:55:46 +02:00
|
|
|
$(top_srcdir)/src/util/libtalerutil.la \
|
2015-06-17 15:13:29 +02:00
|
|
|
$(top_srcdir)/src/pq/libtalerpq.la \
|
2015-06-18 13:49:23 +02:00
|
|
|
-ljansson \
|
|
|
|
-lgnunetutil
|
2015-06-11 15:55:46 +02:00
|
|
|
|
|
|
|
|
2015-03-28 11:06:00 +01:00
|
|
|
EXTRA_test_mintdb_postgres_DEPENDENCIES = \
|
|
|
|
libtaler_plugin_mintdb_postgres.la
|