summaryrefslogtreecommitdiffstats
path: root/src/lib/util/unittests/Makefile.am
blob: bd02a5139e601aaabbc3d4a55fc993176cd21d24 (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
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CXXFLAGS = $(KEA_CXXFLAGS)

if HAVE_GTEST
noinst_LTLIBRARIES = libutil_unittests.la
libutil_unittests_la_SOURCES = fork.h fork.cc
libutil_unittests_la_SOURCES += newhook.h newhook.cc
libutil_unittests_la_SOURCES += testdata.h testdata.cc
libutil_unittests_la_SOURCES += resource.h resource.cc
libutil_unittests_la_SOURCES += check_valgrind.h check_valgrind.cc
libutil_unittests_la_SOURCES += run_all.h run_all.cc
libutil_unittests_la_SOURCES += textdata.h
libutil_unittests_la_SOURCES += wiredata.h wiredata.cc
libutil_unittests_la_SOURCES += interprocess_util.h interprocess_util.cc

libutil_unittests_la_CPPFLAGS = $(AM_CPPFLAGS)
libutil_unittests_la_CPPFLAGS += $(GTEST_INCLUDES)

libutil_unittests_la_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
libutil_unittests_la_LIBADD  = $(top_builddir)/src/lib/util/libkea-util.la
libutil_unittests_la_LIBADD += $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
libutil_unittests_la_LIBADD += $(GTEST_LDADD)
endif

# For now, this isn't needed for libutil_unittests
EXTRA_DIST = mock_socketsession.h

CLEANFILES = *.gcno *.gcda