mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[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
This commit is contained in:
parent
1af9fe5775
commit
6d4c58fb7d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user