diff options
author | Robb Matzke <matzke@llnl.gov> | 1999-11-01 15:21:16 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1999-11-01 15:21:16 (GMT) |
commit | eb8747499d505f2cdcb448fffb127eba48dcccd8 (patch) | |
tree | 1a83fbf43326af6be447995f1012e2fa6f969784 /config/depend1.in | |
parent | 7dec251c1a4d8c780a6f8833d51e0815648ec134 (diff) | |
download | hdf5-eb8747499d505f2cdcb448fffb127eba48dcccd8.zip hdf5-eb8747499d505f2cdcb448fffb127eba48dcccd8.tar.gz hdf5-eb8747499d505f2cdcb448fffb127eba48dcccd8.tar.bz2 |
[svn-r1802] Changes since 19991019
----------------------
./MANIFEST
./configure.in
./configure [REGENERATED]
Added more checking for `make' features.
./Makefile.in
./doc/Makefile.in
./doc/html/Makefile.in
./doc/html/Tutor/Makefile.in
./examples/Makefile.in
./pablo/Makefile.in
./src/Makefile.in
./test/Makefile.in
./testpar/Makefile.in
./tools/Makefile.in
./config/commence.in
./config/conclude.in
./config/depend.in [REMOVED]
./config/depend1.in [NEW]
./config/depend2.in [NEW]
./config/depend3.in [NEW]
./config/depend4.in [NEW]
./config/dependN.in [NEW]
The directory search stuff was moved into commence.in, thereby
shortening the Makefile.in prologues.
./doc/html/Dependencies [NEW]
./doc/html/Tutor/Dependencies [NEW]
./examples/Dependencies [NEW]
./src/Dependencies [NEW]
./test/Dependencies [NEW]
./testpar/Dependencies [NEW]
./tools/Dependencies [NEW]
The `.distdep' files were all renamed to `Dependencies' to make them
more obvious. They are required (but may be empty) in every directory
that has a Makefile.in that ends with @CONCLUDE@ (you'll get an
obvious error from make if you forgot to create one).
./bin/trace
./src/H5.c
Added H5E_major_t and H5E_minor_t although tracing only prints the
integer value.
./src/H5E.c
./src/H5Epublic.h
Added tracing information.
./src/H5FDcore.c
./src/H5FDfamily.c
./src/H5FDgass.c
./src/H5FDmpio.c
./src/H5FDsec2.c
./src/H5FDstdio.c
Fixed places where FUNC_LEAVE() evaluated it's argument more than
once.
Added tracing information.
Wrapped long lines.
./config/gnu-flags
Fixed a syntax error when we don't have a gnu compiler.
Diffstat (limited to 'config/depend1.in')
-rw-r--r-- | config/depend1.in | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/config/depend1.in b/config/depend1.in new file mode 100644 index 0000000..0e714b9 --- /dev/null +++ b/config/depend1.in @@ -0,0 +1,51 @@ +## -*- makefile -*- + +## We keep a list of dependencies in `.depend' for each of the source +## files on which it depends. When one of the source files is modified +## we remove its record from .depend and regenerate its dependencies, +## tacking them onto the end of .depend. By including the .depend file +## into the makefile, we're telling make that the makefile depends on +## the dependency list in the .depend file. +## +## This is as fast as the `.d' method described in the GNU make manual +## for automatic dependencies, but has the added advantage that all +## dependencies are stored in one place. The advantage over the +## `makedepend' program is that only those files that are out of date +## have dependency information rebuilt, and the Makefile is not +## modified. +## +## This is also where tracing information is updated. The $(TRACE) +## program is run on each source file to make sure that the H5TRACE() +## macros are up to date. If they are then the file is not modified, +## otherwise the file is changed and a backup is saved by appending a +## tilde to the file name. +## +.PRECIOUS: $(srcdir)/Dependencies +$(srcdir)/Dependencies: .depend + -@echo '## This file is machine generated on GNU systems.' >$@ + -@echo '## Only temporary changes may be made here.' >>@ + -@echo >>@ + -srcdir=$(srcdir) perl -p $(top_srcdir)/bin/distdep .depend >>$@ + +.PRECIOUS: .depend +.depend: $(LIB_SRC) $(TEST_SRC) $(PROG_SRC) + @touch .depend + @for dep in $? dummy; do \ + if [ $$dep != "dummy" ]; then \ + echo Building dependencies for $$dep; \ + obj=`echo $$dep | sed 's/\.c/\\\\.lo/'`; \ + sed '\%$$obj%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \ + $(TRACE) $$dep; \ + $(CC) -M -MG $(CPPFLAGS) $$dep 2>/dev/null | \ + sed 's/\.o/.lo/' >>$@; \ + fi; \ + done; + -@echo '## This file is machine generated on GNU systems.' \ + >$(srcdir)/Dependencies + -@echo '## Only temporary changes may be made here.' \ + >>$(srcdir)/Dependencies + -@echo >>$(srcdir)/Dependencies + -perl -p $(top_srcdir)/bin/distdep .depend >>$(srcdir)/Dependencies + +-include .depend + |