-rps: open channel when inserting peer in view
[oweals/gnunet.git] / src / postgres / Makefile.am
1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include $(POSTGRESQL_CPPFLAGS)
3
4 if MINGW
5   WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
6 endif
7
8 if USE_COVERAGE
9   AM_CFLAGS = --coverage
10 endif
11
12 if HAVE_POSTGRESQL
13 lib_LTLIBRARIES = libgnunetpostgres.la
14 endif
15
16 libgnunetpostgres_la_SOURCES = \
17   postgres.c
18 libgnunetpostgres_la_LIBADD = -lpq \
19  $(top_builddir)/src/util/libgnunetutil.la
20 libgnunetpostgres_la_LDFLAGS = \
21  $(POSTGRESQL_LDFLAGS) \
22  $(GN_LIB_LDFLAGS) \
23   -version-info 0:0:0
24