From: Amos Jeffries Date: Sat, 26 Jul 2014 13:26:27 +0000 (+1200) Subject: BSD: Fix unit test link errors X-Git-Tag: SQUID_3_5_0_1~132 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9915890b6858f68cd2571a18dbc5fd44b4279365;p=thirdparty%2Fsquid.git BSD: Fix unit test link errors --- diff --git a/src/Makefile.am b/src/Makefile.am index 2b3caff2d4..452c3939c4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1381,6 +1381,8 @@ tests_testBoilerplate_SOURCES = \ tests/stub_debug.cc \ tests/stub_time.cc nodist_tests_testBoilerplate_SOURCES = \ + tests/stub_cbdata.cc \ + tests/stub_MemBuf.cc \ $(TESTSOURCES) tests_testBoilerplate_LDADD= \ $(SQUID_CPPUNIT_LIBS) \ diff --git a/test-suite/Makefile.am b/test-suite/Makefile.am index b20bf6f4a4..b9a32c4951 100644 --- a/test-suite/Makefile.am +++ b/test-suite/Makefile.am @@ -52,13 +52,19 @@ check_PROGRAMS += debug \ tcp_banger2_LDADD = $(top_builddir)/lib/libmiscutil.la -STUBS = stub_debug.cc stub_SBuf.cc stub_tools.cc stub_fatal.cc +STUBS = stub_cbdata.cc stub_debug.cc stub_MemBuf.cc stub_SBuf.cc stub_tools.cc stub_fatal.cc DEBUG_SOURCE = test_tools.cc $(STUBS) CLEANFILES += $(STUBS) +stub_cbdata.cc: $(top_srcdir)/src/tests/stub_cbdata.cc + cp $(top_srcdir)/src/tests/stub_cbdata.cc . + stub_debug.cc: $(top_srcdir)/src/tests/stub_debug.cc cp $(top_srcdir)/src/tests/stub_debug.cc . +stub_MemBuf.cc: $(top_srcdir)/src/tests/stub_MemBuf.cc + cp $(top_srcdir)/src/tests/stub_MemBuf.cc . + stub_SBuf.cc: $(top_srcdir)/src/tests/stub_SBuf.cc cp $(top_srcdir)/src/tests/stub_SBuf.cc .