summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-02-07 20:33:28 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-02-07 20:33:28 (GMT)
commita3ec241c61b1ae751235f457d88473a8019fc83c (patch)
tree7f01154e439faa58b87031b91e9f37c2cf74aea7
parentd08dacbecb5b01aed3d969dc4b3801595c06bf03 (diff)
downloadhdf5-a3ec241c61b1ae751235f457d88473a8019fc83c.zip
hdf5-a3ec241c61b1ae751235f457d88473a8019fc83c.tar.gz
hdf5-a3ec241c61b1ae751235f457d88473a8019fc83c.tar.bz2
[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
-rw-r--r--config/depend1.in5
1 files 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