aboutsummaryrefslogtreecommitdiff
path: root/src/postgres/Makefile.am
blob: a9a7cdfae60e5cae698847b2daf5f331230aa333 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
AM_CPPFLAGS = -I$(top_srcdir)/src/include

if MINGW
  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
endif

if USE_COVERAGE
  AM_CFLAGS = --coverage
endif

if HAVE_POSTGRES
lib_LTLIBRARIES = libgnunetpostgres.la
endif

libgnunetpostgres_la_SOURCES = \
  postgres.c
libgnunetpostgres_la_LIBADD = -lpq \
 $(top_builddir)/src/util/libgnunetutil.la
libgnunetpostgres_la_LDFLAGS = \
 $(GN_LIB_LDFLAGS) \
  -version-info 0:0:0