blob: e74d12c923ca506af6713e3c8b0ed141c2fbc09d (
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
plugindir = $(libdir)/taler
if HAVE_POSTGRESQL
if HAVE_GNUNETPQ
plugin_LTLIBRARIES = \
libtaler_plugin_merchantdb_postgres.la
endif
endif
lib_LTLIBRARIES = \
libtalermerchantdb.la
libtalermerchantdb_la_SOURCES = \
merchantdb_plugin.c
libtalermerchantdb_la_LIBADD = \
$(LIBGCRYPT_LIBS) \
-ltalerutil \
-ltalerpq \
-lgnunetutil
libtalermerchantdb_la_LDFLAGS = \
$(POSTGRESQL_LDFLAGS) \
-version-info 0:0:0 \
-no-undefined
libtaler_plugin_merchantdb_postgres_la_SOURCES = \
plugin_merchantdb_postgres.c
libtaler_plugin_merchantdb_postgres_la_LIBADD = \
$(LTLIBINTL)
libtaler_plugin_merchantdb_postgres_la_LDFLAGS = \
$(TALER_PLUGIN_LDFLAGS) \
-lgnunetpq \
-ltalerpq \
-ltalerutil \
-lpq \
-lgnunetpostgres \
-lgnunetutil $(XLIB)
#check_PROGRAMS = \
# test-merchantdb-postgres
#
#test_merchantdb_postgres_SOURCES = \
# test_merchantdb.c
#
#test_merchantdb_postgres_LDADD = \
# # TODO
#
#TESTS = \
# test-merchantdb-postgres
|