From 040eee1aa49b49df4698d83a05af57c220127fd1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 13:36:04 +0200 Subject: Adding upstream version 2.2.0. Signed-off-by: Daniel Baumann --- src/lib/util/unittests/Makefile.am | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/lib/util/unittests/Makefile.am (limited to 'src/lib/util/unittests/Makefile.am') diff --git a/src/lib/util/unittests/Makefile.am b/src/lib/util/unittests/Makefile.am new file mode 100644 index 0000000..fc339a4 --- /dev/null +++ b/src/lib/util/unittests/Makefile.am @@ -0,0 +1,33 @@ +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/io/libkea-util-io.la +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 -- cgit v1.2.3