From: Amos Jeffries Date: Thu, 24 Jul 2014 06:31:02 +0000 (-0700) Subject: Fix distclean on BSD X-Git-Tag: SQUID_3_5_0_1~135 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2160f065cad340fc94056c6a9e9477e00fce51af;p=thirdparty%2Fsquid.git Fix distclean on BSD --- diff --git a/test-suite/Makefile.am b/test-suite/Makefile.am index 5a6a3d5ef6..b20bf6f4a4 100644 --- a/test-suite/Makefile.am +++ b/test-suite/Makefile.am @@ -52,8 +52,9 @@ check_PROGRAMS += debug \ tcp_banger2_LDADD = $(top_builddir)/lib/libmiscutil.la - -DEBUG_SOURCE = test_tools.cc stub_debug.cc stub_SBuf.cc stub_tools.cc stub_fatal.cc +STUBS = stub_debug.cc stub_SBuf.cc stub_tools.cc stub_fatal.cc +DEBUG_SOURCE = test_tools.cc $(STUBS) +CLEANFILES += $(STUBS) stub_debug.cc: $(top_srcdir)/src/tests/stub_debug.cc cp $(top_srcdir)/src/tests/stub_debug.cc . @@ -67,8 +68,6 @@ stub_tools.cc: $(top_srcdir)/src/tests/stub_tools.cc stub_fatal.cc: $(top_srcdir)/src/tests/stub_fatal.cc cp $(top_srcdir)/src/tests/stub_fatal.cc . -CLEANFILES += stub_debug.cc stub_tools.cc stub_fatal.cc - ## XXX: somewhat broken. Its meant to test our debugs() implementation. ## but it has never been linked to the actual src/debug.cc implementation !! ## all it tests are the stream operators and macro in src/Debug.h