From: Amos Jeffries Date: Mon, 3 Aug 2015 03:44:59 +0000 (-0700) Subject: Fix distclean file left after rev.14203 X-Git-Tag: merge-candidate-3-v1^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea5fa143ea5a7bba195ef4adaad23baab4e29f1b;p=thirdparty%2Fsquid.git Fix distclean file left after rev.14203 --- diff --git a/src/icmp/Makefile.am b/src/icmp/Makefile.am index a83038e670..18bfe454a0 100644 --- a/src/icmp/Makefile.am +++ b/src/icmp/Makefile.am @@ -37,6 +37,15 @@ libicmp_la_SOURCES = \ net_db.h \ net_db.cc +# pinger depends on these but install/dist is done elsewhere. +COPIED_SOURCE= \ + debug.cc \ + globals.cc \ + SquidConfig.cc \ + SquidNew.cc \ + stub_HelperChildConfig.cc \ + time.cc + # ICMP lookup helper pinger_SOURCES = \ Icmp.h \ @@ -47,17 +56,7 @@ pinger_SOURCES = \ Icmp6.h \ Icmp6.cc \ pinger.cc - -# depends on these but install/dist is done elsewhere. -# TODO: remove when these are cleaned up in their own way. -nodist_pinger_SOURCES = \ - debug.cc \ - globals.cc \ - SquidConfig.cc \ - SquidNew.cc \ - stub_HelperChildConfig.cc \ - time.cc - +nodist_pinger_SOURCES = $(COPIED_SOURCE) pinger_LDFLAGS = $(LIBADD_DL) pinger_LDADD=\ libicmp-core.la \ @@ -66,6 +65,8 @@ pinger_LDADD=\ $(COMPAT_LIB) \ $(XTRA_LIBS) +CLEANFILES += $(COPIED_SOURCE) + ##install-pinger: ## @f=$(PINGER_EXE); \ ## if test -f $(libexecdir)/$$f; then \