aboutsummaryrefslogtreecommitdiff
path: root/src/pq/Makefile.am
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-28 20:37:51 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-28 20:37:51 +0100
commitc4b63c13029b9d731b826ffab4a9d59005b0c6a5 (patch)
tree9759b338c7766c767eced6be160b855db531fbd0 /src/pq/Makefile.am
parentbc8f6e81a4d737625e05e5e268d0d682489873d5 (diff)
move PostGres-specific logic out of libtalerutil
Diffstat (limited to 'src/pq/Makefile.am')
-rw-r--r--src/pq/Makefile.am16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/pq/Makefile.am b/src/pq/Makefile.am
new file mode 100644
index 000000000..cd7a5c93f
--- /dev/null
+++ b/src/pq/Makefile.am
@@ -0,0 +1,16 @@
+AM_CPPFLAGS = -I$(top_srcdir)/src/include $(LIBGCRYPT_CFLAGS) $(POSTGRESQL_CPPFLAGS)
+
+lib_LTLIBRARIES = \
+ libtalerpq.la
+
+libtalerpq_la_SOURCES = \
+ db_pq.c
+
+libtalerpq_la_LIBADD = \
+ -lgnunetutil \
+ -lpq
+
+libtalerpq_la_LDFLAGS = \
+ $(POSTGRESQL_LDFLAGS) \
+ -version-info 0:0:0 \
+ -export-dynamic -no-undefined