2015-02-08 00:17:40 +01:00
|
|
|
# This Makefile.am is in the public domain
|
2015-01-28 20:53:21 +01:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/pq/ $(POSTGRESQL_CPPFLAGS)
|
2015-01-08 18:37:20 +01:00
|
|
|
|
2015-03-20 23:51:28 +01:00
|
|
|
plugindir = $(libdir)/taler
|
|
|
|
|
|
|
|
plugin_LTLIBRARIES = \
|
|
|
|
libtaler_plugin_mintdb_postgres.la
|
|
|
|
|
2015-03-22 13:02:11 +01:00
|
|
|
EXTRA_DIST = plugin_mintdb_common.c
|
|
|
|
|
2015-03-20 23:51:28 +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 \
|
|
|
|
-lgnunetutil
|
|
|
|
|
2015-01-08 18:37:20 +01:00
|
|
|
lib_LTLIBRARIES = \
|
2015-01-09 18:18:59 +01:00
|
|
|
libtalermint_common.la
|
2015-01-08 18:37:20 +01:00
|
|
|
|
2015-01-09 18:18:59 +01:00
|
|
|
libtalermint_common_la_SOURCES = \
|
2015-01-28 15:03:47 +01:00
|
|
|
key_io.c key_io.h \
|
2015-03-27 19:58:40 +01:00
|
|
|
plugin.c plugin.h
|
2015-01-08 18:37:20 +01:00
|
|
|
|
2015-01-09 18:18:59 +01:00
|
|
|
libtalermint_common_la_LIBADD = \
|
2015-01-08 18:37:20 +01:00
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2015-03-20 23:51:28 +01:00
|
|
|
-lgnunetutil
|
2015-01-08 18:37:20 +01:00
|
|
|
|
2015-01-09 18:18:59 +01:00
|
|
|
libtalermint_common_la_LDFLAGS = \
|
2015-01-08 18:37:20 +01:00
|
|
|
$(POSTGRESQL_LDFLAGS) \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
-no-undefined
|
|
|
|
|
|
|
|
|
|
|
|
bin_PROGRAMS = \
|
|
|
|
taler-mint-keyup \
|
|
|
|
taler-mint-keycheck \
|
|
|
|
taler-mint-reservemod \
|
|
|
|
taler-mint-httpd \
|
|
|
|
taler-mint-dbinit
|
|
|
|
|
|
|
|
taler_mint_keyup_SOURCES = \
|
|
|
|
taler-mint-keyup.c
|
|
|
|
|
|
|
|
taler_mint_keyup_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2015-01-28 20:37:51 +01:00
|
|
|
$(top_builddir)/src/pq/libtalerpq.la \
|
2015-01-09 18:18:59 +01:00
|
|
|
$(top_builddir)/src/mint/libtalermint_common.la \
|
2015-01-08 18:37:20 +01:00
|
|
|
-lpq \
|
|
|
|
-lgnunetutil
|
|
|
|
taler_mint_keyup_LDFLAGS = $(POSTGRESQL_LDFLAGS)
|
|
|
|
|
|
|
|
|
|
|
|
taler_mint_keycheck_SOURCES = \
|
|
|
|
taler-mint-keycheck.c
|
|
|
|
|
|
|
|
taler_mint_keycheck_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2015-01-28 20:37:51 +01:00
|
|
|
$(top_builddir)/src/pq/libtalerpq.la \
|
2015-01-09 18:18:59 +01:00
|
|
|
$(top_builddir)/src/mint/libtalermint_common.la \
|
2015-01-08 18:37:20 +01:00
|
|
|
-lgnunetutil \
|
|
|
|
-lpq
|
|
|
|
taler_mint_keycheck_LDFLAGS = $(POSTGRESQL_LDFLAGS)
|
|
|
|
|
|
|
|
taler_mint_reservemod_SOURCES = \
|
|
|
|
taler-mint-reservemod.c
|
|
|
|
taler_mint_reservemod_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2015-01-28 20:37:51 +01:00
|
|
|
$(top_builddir)/src/pq/libtalerpq.la \
|
2015-01-09 18:18:59 +01:00
|
|
|
$(top_builddir)/src/mint/libtalermint_common.la \
|
2015-01-08 18:37:20 +01:00
|
|
|
-lpq \
|
|
|
|
-lgnunetutil
|
|
|
|
taler_mint_reservemod_LDFLAGS = \
|
|
|
|
$(POSTGRESQL_LDFLAGS)
|
|
|
|
|
|
|
|
taler_mint_httpd_SOURCES = \
|
|
|
|
taler-mint-httpd.c \
|
2015-01-28 20:10:59 +01:00
|
|
|
taler-mint-httpd_keystate.c taler-mint-httpd_keystate.h \
|
|
|
|
taler-mint-httpd_db.c taler-mint-httpd_db.h \
|
2015-01-16 13:50:07 +01:00
|
|
|
taler-mint-httpd_parsing.c taler-mint-httpd_parsing.h \
|
|
|
|
taler-mint-httpd_responses.c taler-mint-httpd_responses.h \
|
2015-01-08 18:37:20 +01:00
|
|
|
taler-mint-httpd_mhd.c \
|
|
|
|
taler-mint-httpd_deposit.c \
|
|
|
|
taler-mint-httpd_withdraw.c \
|
|
|
|
taler-mint-httpd_refresh.c
|
|
|
|
taler_mint_httpd_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2015-01-28 20:37:51 +01:00
|
|
|
$(top_builddir)/src/pq/libtalerpq.la \
|
2015-01-09 18:18:59 +01:00
|
|
|
$(top_builddir)/src/mint/libtalermint_common.la \
|
2015-01-08 18:37:20 +01:00
|
|
|
-lpq \
|
|
|
|
-lmicrohttpd \
|
|
|
|
-ljansson \
|
|
|
|
-lgnunetutil \
|
|
|
|
-lpthread
|
|
|
|
taler_mint_httpd_LDFLAGS = \
|
|
|
|
$(POSTGRESQL_LDFLAGS)
|
|
|
|
|
|
|
|
|
|
|
|
taler_mint_dbinit_SOURCES = \
|
|
|
|
taler-mint-dbinit.c
|
|
|
|
taler_mint_dbinit_LDADD = \
|
|
|
|
$(LIBGCRYPT_LIBS) \
|
|
|
|
$(top_builddir)/src/util/libtalerutil.la \
|
2015-01-28 20:37:51 +01:00
|
|
|
$(top_builddir)/src/pq/libtalerpq.la \
|
2015-01-09 18:18:59 +01:00
|
|
|
$(top_builddir)/src/mint/libtalermint_common.la \
|
2015-01-08 18:37:20 +01:00
|
|
|
-lpq \
|
|
|
|
-lgnunetutil
|
|
|
|
taler_mint_dbinit_LDFLAGS = $(POSTGRESQL_LDFLAGS)
|
|
|
|
|
|
|
|
check_PROGRAMS = \
|
|
|
|
test-mint-deposits \
|
2015-03-05 15:59:22 +01:00
|
|
|
test-mint-common \
|
2015-03-26 18:31:59 +01:00
|
|
|
test-mint-db-postgres
|
2015-01-08 18:37:20 +01:00
|
|
|
|
|
|
|
test_mint_deposits_SOURCES = \
|
|
|
|
test_mint_deposits.c
|
|
|
|
test_mint_deposits_LDADD = \
|
2015-01-09 18:18:59 +01:00
|
|
|
libtalermint_common.la \
|
2015-01-08 18:37:20 +01:00
|
|
|
$(top_srcdir)/src/util/libtalerutil.la \
|
2015-01-30 14:17:42 +01:00
|
|
|
$(top_srcdir)/src/pq/libtalerpq.la \
|
2015-01-08 18:37:20 +01:00
|
|
|
-lgnunetutil \
|
2015-01-30 14:17:42 +01:00
|
|
|
-ljansson \
|
2015-01-08 18:37:20 +01:00
|
|
|
-lpq
|
|
|
|
|
|
|
|
test_mint_common_SOURCES = \
|
|
|
|
test_mint_common.c
|
|
|
|
test_mint_common_LDADD = \
|
2015-01-09 18:18:59 +01:00
|
|
|
libtalermint_common.la \
|
2015-01-08 18:37:20 +01:00
|
|
|
$(top_srcdir)/src/util/libtalerutil.la \
|
2015-01-30 14:17:42 +01:00
|
|
|
$(top_srcdir)/src/pq/libtalerpq.la \
|
2015-01-08 18:37:20 +01:00
|
|
|
-lgnunetutil
|
2015-03-05 15:59:22 +01:00
|
|
|
|
2015-03-26 18:31:59 +01:00
|
|
|
test_mint_db_postgres_SOURCES = \
|
2015-03-05 15:59:22 +01:00
|
|
|
test_mint_db.c
|
2015-03-26 18:31:59 +01:00
|
|
|
test_mint_db_postgres_LDADD = \
|
2015-03-05 15:59:22 +01:00
|
|
|
libtalermint_common.la \
|
|
|
|
$(top_srcdir)/src/util/libtalerutil.la \
|
|
|
|
$(top_srcdir)/src/pq/libtalerpq.la \
|
2015-03-19 21:52:11 +01:00
|
|
|
-lgnunetutil -ljansson
|
2015-03-26 19:27:53 +01:00
|
|
|
EXTRA_test_mint_db_postgres_DEPENDENCIES = \
|
|
|
|
libtaler_plugin_mintdb_postgres.la
|