X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fpostgres%2FMakefile.am;h=6f37e1918634ad0787b7ca9921451e1b2223db72;hb=d72d8e05401ace44b57432463f136bcfe55cee03;hp=85fac752f755c17e15a0fea2b1f38174f2aebe0a;hpb=9ae1afe31607cbfba772976f793008c65fb1a08e;p=oweals%2Fgnunet.git diff --git a/src/postgres/Makefile.am b/src/postgres/Makefile.am index 85fac752f..6f37e1918 100644 --- 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 @@ -8,13 +9,16 @@ if USE_COVERAGE AM_CFLAGS = --coverage endif +if HAVE_POSTGRESQL lib_LTLIBRARIES = libgnunetpostgres.la +endif libgnunetpostgres_la_SOURCES = \ postgres.c libgnunetpostgres_la_LIBADD = -lpq \ - $(top_builddir)/src/util/libgnunetutil.la + $(top_builddir)/src/util/libgnunetutil.la libgnunetpostgres_la_LDFLAGS = \ + $(POSTGRESQL_LDFLAGS) \ $(GN_LIB_LDFLAGS) \ -version-info 0:0:0