Makefile.am 857 Bytes
Newer Older
1
2
3
4
5
SUBDIRS = .

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

6
AM_CXXFLAGS = $(KEA_CXXFLAGS)
7
8
9
10
11
12
13

CLEANFILES = *.gcno *.gcda

if HAVE_GTEST

noinst_LTLIBRARIES = libdhcpsrvtest.la

14
libdhcpsrvtest_la_SOURCES  = config_result_check.cc config_result_check.h
15
16
17
18
19
if HAVE_MYSQL
libdhcpsrvtest_la_SOURCES += mysql_schema.cc mysql_schema.h
libdhcpsrvtest_la_SOURCES += schema_mysql_copy.h
endif

20
libdhcpsrvtest_la_CXXFLAGS = $(AM_CXXFLAGS)
21
22
23
24
libdhcpsrvtest_la_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES)
if HAVE_MYSQL
libdhcpsrvtest_la_CPPFLAGS += $(MYSQL_CPPFLAGS)
endif
25
libdhcpsrvtest_la_LDFLAGS  = $(AM_LDFLAGS)
26
27
28
if HAVE_MYSQL
libdhcpsrvtest_la_LDFLAGS  += $(MYSQL_LIBS)
endif
29
30
libdhcpsrvtest_la_LIBADD   = $(top_builddir)/src/lib/cc/libkea-cc.la
libdhcpsrvtest_la_LIBADD  += $(top_builddir)/src/lib/log/libkea-log.la
31
32

endif