diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:15:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:15:43 +0000 |
commit | f5f56e1a1c4d9e9496fcb9d81131066a964ccd23 (patch) | |
tree | 49e44c6f87febed37efb953ab5485aa49f6481a7 /src/lib/util/unittests/Makefile.am | |
parent | Initial commit. (diff) | |
download | isc-kea-upstream.tar.xz isc-kea-upstream.zip |
Adding upstream version 2.4.1.upstream/2.4.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/lib/util/unittests/Makefile.am | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/lib/util/unittests/Makefile.am b/src/lib/util/unittests/Makefile.am new file mode 100644 index 0000000..2d6523c --- /dev/null +++ b/src/lib/util/unittests/Makefile.am @@ -0,0 +1,32 @@ +AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib +AM_CXXFLAGS = $(KEA_CXXFLAGS) + +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 +if HAVE_GTEST +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 +endif + +# For now, this isn't needed for libutil_unittests +EXTRA_DIST = mock_socketsession.h + +libutil_unittests_la_CPPFLAGS = $(AM_CPPFLAGS) +if HAVE_GTEST +libutil_unittests_la_CPPFLAGS += $(GTEST_INCLUDES) +endif + +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 +if HAVE_GTEST +libutil_unittests_la_LIBADD += $(GTEST_LDADD) +endif + +CLEANFILES = *.gcno *.gcda |