summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-11-15 17:48:48 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-11-15 17:48:48 (GMT)
commit6d4c58fb7d768e94a3c61e45ccfde00074615f7b (patch)
tree3781583421f1cc168c86e937b94df5b2cbc67581
parent1af9fe5775012f0a7d6db5eb996bf739f2fcacc9 (diff)
downloadhdf5-6d4c58fb7d768e94a3c61e45ccfde00074615f7b.zip
hdf5-6d4c58fb7d768e94a3c61e45ccfde00074615f7b.tar.gz
hdf5-6d4c58fb7d768e94a3c61e45ccfde00074615f7b.tar.bz2
[svn-r2929] Purpose:
Fix Description: Changed so that only *.c files are run through the tracing program. This is so the fortran stuff won't return spurious warnings. Platforms tested: Linux
-rw-r--r--config/depend1.in22
1 files changed, 13 insertions, 9 deletions
diff --git a/config/depend1.in b/config/depend1.in
index e07f4bf..b46d0e8 100644
--- a/config/depend1.in
+++ b/config/depend1.in
@@ -34,15 +34,19 @@ $(srcdir)/Dependencies: .depend
@touch .depend
@for dep in $? dummy; do \
if [ $$dep != "dummy" ]; then \
- echo Building dependencies for $$dep; \
- obj=`basename $$dep .c`.lo; \
- sed '\%^'"$$obj"':%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \
- $(TRACE) $$dep; \
- $(CC) -M -MG $(CPPFLAGS) $$dep 2>/dev/null | \
- sed 's% $(srcdir)/% $$(srcdir)/%g' | \
- sed 's% $(top_srcdir)/% $$(top_srcdir)/%g' | \
- sed 's% $(top_builddir)/% $$(top_builddir)/%g' | \
- sed 's/\.o/.lo/' >>$@; \
+ case "$$dep" in \
+ *.c) \
+ echo Building dependencies for $$dep; \
+ obj=`basename $$dep .c`.lo; \
+ sed '\%^'"$$obj"':%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \
+ $(TRACE) $$dep; \
+ $(CC) -M -MG $(CPPFLAGS) $$dep 2>/dev/null | \
+ sed 's% $(srcdir)/% $$(srcdir)/%g' | \
+ sed 's% $(top_srcdir)/% $$(top_srcdir)/%g' | \
+ sed 's% $(top_builddir)/% $$(top_builddir)/%g' | \
+ sed 's/\.o/.lo/' >>$@; \
+ ;; \
+ esac; \
fi; \
done;