From ea5fa143ea5a7bba195ef4adaad23baab4e29f1b Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 2 Aug 2015 20:44:59 -0700 Subject: [PATCH] Fix distclean file left after rev.14203 --- src/icmp/Makefile.am | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) 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 \ -- 2.47.3