diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-04-05 17:04:07 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-04-05 17:04:07 (GMT) |
commit | 8bbacc3ae3fa084209cd223f3aaf34824411f6df (patch) | |
tree | 06b7acfc787036c027cd506534ea0998d66dc0ac /config/depend1.in | |
parent | 576213d960a7627e3abc6d3bc6c3849721f3ca81 (diff) | |
download | hdf5-8bbacc3ae3fa084209cd223f3aaf34824411f6df.zip hdf5-8bbacc3ae3fa084209cd223f3aaf34824411f6df.tar.gz hdf5-8bbacc3ae3fa084209cd223f3aaf34824411f6df.tar.bz2 |
[svn-r3778] Purpose:
Update
Description:
Changed the way .depend and Dependencies files were being generated.
Instead of gathering all files which are ``#included'', we only pick
out the ones which are local to us.
Solution:
Changed -M flag to -MM and changed
#include <hdf5_files.h>
to
#include "hdf5_files.h"
in the source code.
Platforms tested:
Linux
Diffstat (limited to 'config/depend1.in')
-rw-r--r-- | config/depend1.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/depend1.in b/config/depend1.in index b46d0e8..bc9aea0 100644 --- a/config/depend1.in +++ b/config/depend1.in @@ -39,16 +39,16 @@ $(srcdir)/Dependencies: .depend 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' | \ + $(TRACE) $$dep; \ + $(CC) -MM -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; + done -include .depend |