summaryrefslogtreecommitdiffstats
path: root/src/lib/cql/Makefile.am
blob: 055b0e0ffb10cde8c654c45253d3cf1d8e204310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SUBDIRS = . testutils tests

AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += $(BOOST_INCLUDES) $(CQL_CPPFLAGS)

AM_CXXFLAGS = $(KEA_CXXFLAGS)

CLEANFILES = *.gcno *.gcda

lib_LTLIBRARIES = libkea-cql.la
libkea_cql_la_SOURCES  = cql_connection.cc cql_connection.h
libkea_cql_la_SOURCES += cql_exchange.cc cql_exchange.h
libkea_cql_la_SOURCES += sql_common.h

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

libkea_cql_la_LDFLAGS = -no-undefined -version-info 15:0:0

libkea_cql_la_LDFLAGS += $(CQL_LIBS)

# Specify the headers for copying into the installation directory tree.
libkea_cql_includedir = $(pkgincludedir)/cql
libkea_cql_include_HEADERS = \
	cql_connection.h \
	cql_exchange.h \
	sql_common.h