------------------------------------------------------------ revno: 13510 revision-id: squid3@treenet.co.nz-20140724063102-z7dm2s1nwk1vsfnc parent: chtsanti@users.sourceforge.net-20140723132805-ihsh3m62odngsheg committer: Amos Jeffries branch nick: trunk timestamp: Wed 2014-07-23 23:31:02 -0700 message: Fix distclean on BSD ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20140724063102-z7dm2s1nwk1vsfnc # target_branch: http://bzr.squid-cache.org/bzr/squid3/trunk/ # testament_sha1: ab06a502c867705011b5a0d7ac19b437dcbf21ca # timestamp: 2014-07-24 06:54:15 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/trunk/ # base_revision_id: chtsanti@users.sourceforge.net-20140723132805-\ # ihsh3m62odngsheg # # Begin patch === modified file 'test-suite/Makefile.am' --- test-suite/Makefile.am 2014-07-23 12:51:55 +0000 +++ test-suite/Makefile.am 2014-07-24 06:31:02 +0000 @@ -52,8 +52,9 @@ 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_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