From a3ec241c61b1ae751235f457d88473a8019fc83c Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Sat, 7 Feb 2004 15:33:28 -0500 Subject: [svn-r8164] Purpose: Test cleanup Description: Move the perl postprocessing step on the .depend file out of the loop over all the files, which should get rid of redundant rescanning of the .depend file. Platforms tested: Linux 2.4 IA64 (titan) too minor to require h5committest --- config/depend1.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/depend1.in b/config/depend1.in index 7a27a6c..967f111 100644 --- a/config/depend1.in +++ b/config/depend1.in @@ -41,7 +41,6 @@ $(srcdir)/Dependencies: .depend sed '\%^'"$$obj"':%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \ $(TRACE) $$dep; \ $(CC) -MM -MG $(CPPFLAGS) $$dep 2>/dev/null >>$@; \ - $(PERL) -w $(top_srcdir)/bin/dependencies --top_srcdir=$(top_srcdir) --top_builddir=$(top_builddir) $@; \ ;; \ *.cpp) \ echo Building dependencies for $$dep; \ @@ -49,11 +48,11 @@ $(srcdir)/Dependencies: .depend sed '\%^'"$$obj"':%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \ $(TRACE) $$dep; \ $(CXX) -MM -MG $(CPPFLAGS) $$dep 2>/dev/null >>$@; \ - $(PERL) -w $(top_srcdir)/bin/dependencies --top_srcdir=$(top_srcdir) --top_builddir=$(top_builddir) $@; \ ;; \ esac; \ fi; \ - done + done; + $(PERL) -w $(top_srcdir)/bin/dependencies --top_srcdir=$(top_srcdir) --top_builddir=$(top_builddir) $@; -include .depend -- cgit v0.12