Makefile.am 1.14 KB
Newer Older
1
SUBDIRS = . testutils tests
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/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += $(BOOST_INCLUDES) $(PGSQL_CPPFLAGS)

AM_CXXFLAGS = $(KEA_CXXFLAGS)

CLEANFILES = *.gcno *.gcda

lib_LTLIBRARIES = libkea-pgsql.la
libkea_pgsql_la_SOURCES  = pgsql_connection.cc pgsql_connection.h
libkea_pgsql_la_SOURCES += pgsql_exchange.cc pgsql_exchange.h


libkea_pgsql_la_LIBADD  = $(top_builddir)/src/lib/database/libkea-database.la
libkea_pgsql_la_LIBADD += $(top_builddir)/src/lib/cc/libkea-cc.la
libkea_pgsql_la_LIBADD += $(top_builddir)/src/lib/asiolink/libkea-asiolink.la
libkea_pgsql_la_LIBADD += $(top_builddir)/src/lib/log/libkea-log.la
libkea_pgsql_la_LIBADD += $(top_builddir)/src/lib/util/libkea-util.la
libkea_pgsql_la_LIBADD += $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
libkea_pgsql_la_LIBADD += $(LOG4CPLUS_LIBS) $(BOOST_LIBS)

23
libkea_pgsql_la_LDFLAGS = -no-undefined -version-info 1:0:0
24 25 26 27

libkea_pgsql_la_LDFLAGS += $(PGSQL_LIBS)

# Specify the headers for copying into the installation directory tree.
28
libkea_pgsql_includedir = $(pkgincludedir)/pgsql
29
libkea_pgsql_include_HEADERS = \
30 31
	pgsql_connection.h \
	pgsql_exchange.h