diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-02-01 03:17:02 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-02-01 03:17:02 (GMT) |
commit | 26303241febadd20aea77fc8a1d48f05823170af (patch) | |
tree | 4ba1d92050fa6cc33feab6a38bc9778f71bbb146 /config/depend1.in | |
parent | 9f17319144fca94a852fd500487b0e4ae48e0997 (diff) | |
download | hdf5-26303241febadd20aea77fc8a1d48f05823170af.zip hdf5-26303241febadd20aea77fc8a1d48f05823170af.tar.gz hdf5-26303241febadd20aea77fc8a1d48f05823170af.tar.bz2 |
[svn-r9902] Purpose:
Configuration feature
Description:
HDF5 now uses automake to generate Makefiles
Solution:
Makefile.in files are now generated from Makefile.am files.
To reconfigure (after chaning a Makefile.am or configure.in):
/bin/sh bin/reconfigure.sh
Platforms tested:
Many
Diffstat (limited to 'config/depend1.in')
-rw-r--r-- | config/depend1.in | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/config/depend1.in b/config/depend1.in deleted file mode 100644 index 12beeca..0000000 --- a/config/depend1.in +++ /dev/null @@ -1,58 +0,0 @@ -## -*- 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. -## -$(srcdir)/Dependencies: .depend - @if test "$(srcdir)" != "."; then \ - echo '## This file is machine generated on GNU systems.' >$@; \ - echo '## Only temporary changes may be made here.' >>$@; \ - echo >>$@; \ - $(PERL) -p $(top_srcdir)/bin/distdep .depend >>$@; \ - else \ - echo 'Dependencies cannot be built when $$srcdir == $$builddir'; \ - fi - -.depend: $(LIB_SRC) $(TEST_SRC) $(PROG_SRC) - @touch .depend - @for dep in $? dummy; do \ - if test $$dep != "dummy" -a -n "$(PERL)"; then \ - case "$$dep" in \ - *.c) \ - echo Building dependencies for $$dep; \ - obj=`basename $$dep .c`.lo; \ - sed '\%^'"$$obj"':%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \ - $(TRACE) $$dep; \ - $(CC) -MM -MG $(CPPFLAGS) $$dep 2>/dev/null >>$@; \ - ;; \ - *.cpp) \ - echo Building dependencies for $$dep; \ - obj=`basename $$dep .cpp`.lo; \ - sed '\%^'"$$obj"':%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \ - $(TRACE) $$dep; \ - $(CXX) -MM -MG $(CPPFLAGS) $$dep 2>/dev/null >>$@; \ - ;; \ - esac; \ - fi; \ - done; \ - $(PERL) -w $(top_srcdir)/bin/dependencies --top_srcdir=$(top_srcdir) --top_builddir=$(top_builddir) $@; - --include .depend - |