projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added helper for handling the "view" in rps
[oweals/gnunet.git]
/
src
/
postgres
/
Makefile.am
diff --git
a/src/postgres/Makefile.am
b/src/postgres/Makefile.am
index 85fac752f755c17e15a0fea2b1f38174f2aebe0a..6f37e1918634ad0787b7ca9921451e1b2223db72 100644
(file)
--- a/
src/postgres/Makefile.am
+++ b/
src/postgres/Makefile.am
@@
-1,4
+1,5
@@
-AM_CPPFLAGS = -I$(top_srcdir)/src/include
+# This Makefile.am is in the public domain
+AM_CPPFLAGS = -I$(top_srcdir)/src/include $(POSTGRESQL_CPPFLAGS)
if MINGW
WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
if MINGW
WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
@@
-8,13
+9,16
@@
if USE_COVERAGE
AM_CFLAGS = --coverage
endif
AM_CFLAGS = --coverage
endif
+if HAVE_POSTGRESQL
lib_LTLIBRARIES = libgnunetpostgres.la
lib_LTLIBRARIES = libgnunetpostgres.la
+endif
libgnunetpostgres_la_SOURCES = \
postgres.c
libgnunetpostgres_la_LIBADD = -lpq \
libgnunetpostgres_la_SOURCES = \
postgres.c
libgnunetpostgres_la_LIBADD = -lpq \
- $(top_builddir)/src/util/libgnunetutil.la
+ $(top_builddir)/src/util/libgnunetutil.la
libgnunetpostgres_la_LDFLAGS = \
libgnunetpostgres_la_LDFLAGS = \
+ $(POSTGRESQL_LDFLAGS) \
$(GN_LIB_LDFLAGS) \
-version-info 0:0:0
$(GN_LIB_LDFLAGS) \
-version-info 0:0:0