diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-11-18 20:31:53 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-11-18 20:31:53 (GMT) |
commit | 0f870b0f479c8f561def96e689fc8835b70de156 (patch) | |
tree | 2d15f750a4b6d5f9e2ad7c7be76c94c387ddab23 /tools | |
parent | 0426d8d7e17a69ce3e6d870ad981d366c466c42d (diff) | |
download | hdf5-0f870b0f479c8f561def96e689fc8835b70de156.zip hdf5-0f870b0f479c8f561def96e689fc8835b70de156.tar.gz hdf5-0f870b0f479c8f561def96e689fc8835b70de156.tar.bz2 |
[svn-r11741] Purpose:
Bug fix
Description:
Fortran type generation was broken in two ways. Fixed both.
Solution:
Firstly, there were a couple of path problems. Fixed a typo and
specified the full path of a file.
Secondly, the dependencies weren't right when building with HDF5-specific
commands (make lib, make check-s, etc.). Tweaked dependencies
to fix the problem.
Platforms tested:
mir, modi4, sleipnir
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile.in | 22 | ||||
-rw-r--r-- | tools/gifconv/Makefile.in | 22 | ||||
-rw-r--r-- | tools/h5diff/Makefile.in | 22 | ||||
-rw-r--r-- | tools/h5dump/Makefile.in | 22 | ||||
-rwxr-xr-x | tools/h5import/Makefile.in | 22 | ||||
-rw-r--r-- | tools/h5jam/Makefile.in | 22 | ||||
-rw-r--r-- | tools/h5ls/Makefile.in | 22 | ||||
-rw-r--r-- | tools/h5repack/Makefile.in | 22 | ||||
-rw-r--r-- | tools/lib/Makefile.in | 22 | ||||
-rw-r--r-- | tools/misc/Makefile.in | 22 |
10 files changed, 160 insertions, 60 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in index aebc030..d7962e7 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -660,13 +660,14 @@ check-install: installcheck # lib/progs/tests targets recurse into subdirectories. build-* targets # build files in this directory. -# BUILT_SOURCES contain targets that need to be built before anything else -# in the directory (e.g., Fortran type detection) -build-lib: $(BUILT_SOURCES) $(LIB) -build-progs: $(BUILT_SOURCES) $(LIB) $(PROGS) -build-tests: $(BUILT_SOURCES) $(LIB) $(PROGS) $(TESTS) +build-lib: $(LIB) +build-progs: $(LIB) $(PROGS) +build-tests: $(LIB) $(PROGS) $(TESTS) -lib progs tests check-s check-p check-clean :: +# General rule for recursive building targets. +# BUILT_SOURCES contain targets that need to be built before anything else +# in the directory (e.g., for Fortran type detection) +lib progs tests check-s check-p :: $(BUILT_SOURCES) @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; @for d in X $(SUBDIRS); do \ if test $$d != X && test $$d != .; then \ @@ -674,6 +675,15 @@ lib progs tests check-s check-p check-clean :: fi; \ done +# General rule for recursive cleaning targets. Like the rule above, +# but doesn't require building BUILT_SOURCES. +check-clean :: + @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; + @for d in X $(SUBDIRS); do \ + if test $$d != X && test $$d != .; then \ + (set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \ + fi; \ + done # Tell Automake to build tests when the user types `make all' (this is # not its default behavior). Also build EXTRA_LIB and EXTRA_PROG since # Automake won't build them automatically, either. diff --git a/tools/gifconv/Makefile.in b/tools/gifconv/Makefile.in index 1843e51..20190f3 100644 --- a/tools/gifconv/Makefile.in +++ b/tools/gifconv/Makefile.in @@ -661,13 +661,14 @@ check-install: installcheck # lib/progs/tests targets recurse into subdirectories. build-* targets # build files in this directory. -# BUILT_SOURCES contain targets that need to be built before anything else -# in the directory (e.g., Fortran type detection) -build-lib: $(BUILT_SOURCES) $(LIB) -build-progs: $(BUILT_SOURCES) $(LIB) $(PROGS) -build-tests: $(BUILT_SOURCES) $(LIB) $(PROGS) $(TESTS) +build-lib: $(LIB) +build-progs: $(LIB) $(PROGS) +build-tests: $(LIB) $(PROGS) $(TESTS) -lib progs tests check-s check-p check-clean :: +# General rule for recursive building targets. +# BUILT_SOURCES contain targets that need to be built before anything else +# in the directory (e.g., for Fortran type detection) +lib progs tests check-s check-p :: $(BUILT_SOURCES) @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; @for d in X $(SUBDIRS); do \ if test $$d != X && test $$d != .; then \ @@ -675,6 +676,15 @@ lib progs tests check-s check-p check-clean :: fi; \ done +# General rule for recursive cleaning targets. Like the rule above, +# but doesn't require building BUILT_SOURCES. +check-clean :: + @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; + @for d in X $(SUBDIRS); do \ + if test $$d != X && test $$d != .; then \ + (set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \ + fi; \ + done # Tell Automake to build tests when the user types `make all' (this is # not its default behavior). Also build EXTRA_LIB and EXTRA_PROG since # Automake won't build them automatically, either. diff --git a/tools/h5diff/Makefile.in b/tools/h5diff/Makefile.in index 775c764..168fbaf 100644 --- a/tools/h5diff/Makefile.in +++ b/tools/h5diff/Makefile.in @@ -701,13 +701,14 @@ check-install: installcheck # lib/progs/tests targets recurse into subdirectories. build-* targets # build files in this directory. -# BUILT_SOURCES contain targets that need to be built before anything else -# in the directory (e.g., Fortran type detection) -build-lib: $(BUILT_SOURCES) $(LIB) -build-progs: $(BUILT_SOURCES) $(LIB) $(PROGS) -build-tests: $(BUILT_SOURCES) $(LIB) $(PROGS) $(TESTS) +build-lib: $(LIB) +build-progs: $(LIB) $(PROGS) +build-tests: $(LIB) $(PROGS) $(TESTS) -lib progs tests check-s check-p check-clean :: +# General rule for recursive building targets. +# BUILT_SOURCES contain targets that need to be built before anything else +# in the directory (e.g., for Fortran type detection) +lib progs tests check-s check-p :: $(BUILT_SOURCES) @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; @for d in X $(SUBDIRS); do \ if test $$d != X && test $$d != .; then \ @@ -715,6 +716,15 @@ lib progs tests check-s check-p check-clean :: fi; \ done +# General rule for recursive cleaning targets. Like the rule above, +# but doesn't require building BUILT_SOURCES. +check-clean :: + @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; + @for d in X $(SUBDIRS); do \ + if test $$d != X && test $$d != .; then \ + (set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \ + fi; \ + done # Tell Automake to build tests when the user types `make all' (this is # not its default behavior). Also build EXTRA_LIB and EXTRA_PROG since # Automake won't build them automatically, either. diff --git a/tools/h5dump/Makefile.in b/tools/h5dump/Makefile.in index bab5765..a0bc999 100644 --- a/tools/h5dump/Makefile.in +++ b/tools/h5dump/Makefile.in @@ -676,13 +676,14 @@ check-install: installcheck # lib/progs/tests targets recurse into subdirectories. build-* targets # build files in this directory. -# BUILT_SOURCES contain targets that need to be built before anything else -# in the directory (e.g., Fortran type detection) -build-lib: $(BUILT_SOURCES) $(LIB) -build-progs: $(BUILT_SOURCES) $(LIB) $(PROGS) -build-tests: $(BUILT_SOURCES) $(LIB) $(PROGS) $(TESTS) +build-lib: $(LIB) +build-progs: $(LIB) $(PROGS) +build-tests: $(LIB) $(PROGS) $(TESTS) -lib progs tests check-s check-p check-clean :: +# General rule for recursive building targets. +# BUILT_SOURCES contain targets that need to be built before anything else +# in the directory (e.g., for Fortran type detection) +lib progs tests check-s check-p :: $(BUILT_SOURCES) @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; @for d in X $(SUBDIRS); do \ if test $$d != X && test $$d != .; then \ @@ -690,6 +691,15 @@ lib progs tests check-s check-p check-clean :: fi; \ done +# General rule for recursive cleaning targets. Like the rule above, +# but doesn't require building BUILT_SOURCES. +check-clean :: + @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; + @for d in X $(SUBDIRS); do \ + if test $$d != X && test $$d != .; then \ + (set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \ + fi; \ + done # Tell Automake to build tests when the user types `make all' (this is # not its default behavior). Also build EXTRA_LIB and EXTRA_PROG since # Automake won't build them automatically, either. diff --git a/tools/h5import/Makefile.in b/tools/h5import/Makefile.in index 163bcae..1ca807b 100755 --- a/tools/h5import/Makefile.in +++ b/tools/h5import/Makefile.in @@ -669,13 +669,14 @@ check-install: installcheck # lib/progs/tests targets recurse into subdirectories. build-* targets # build files in this directory. -# BUILT_SOURCES contain targets that need to be built before anything else -# in the directory (e.g., Fortran type detection) -build-lib: $(BUILT_SOURCES) $(LIB) -build-progs: $(BUILT_SOURCES) $(LIB) $(PROGS) -build-tests: $(BUILT_SOURCES) $(LIB) $(PROGS) $(TESTS) +build-lib: $(LIB) +build-progs: $(LIB) $(PROGS) +build-tests: $(LIB) $(PROGS) $(TESTS) -lib progs tests check-s check-p check-clean :: +# General rule for recursive building targets. +# BUILT_SOURCES contain targets that need to be built before anything else +# in the directory (e.g., for Fortran type detection) +lib progs tests check-s check-p :: $(BUILT_SOURCES) @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; @for d in X $(SUBDIRS); do \ if test $$d != X && test $$d != .; then \ @@ -683,6 +684,15 @@ lib progs tests check-s check-p check-clean :: fi; \ done +# General rule for recursive cleaning targets. Like the rule above, +# but doesn't require building BUILT_SOURCES. +check-clean :: + @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; + @for d in X $(SUBDIRS); do \ + if test $$d != X && test $$d != .; then \ + (set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \ + fi; \ + done # Tell Automake to build tests when the user types `make all' (this is # not its default behavior). Also build EXTRA_LIB and EXTRA_PROG since # Automake won't build them automatically, either. diff --git a/tools/h5jam/Makefile.in b/tools/h5jam/Makefile.in index 3945184..c513703 100644 --- a/tools/h5jam/Makefile.in +++ b/tools/h5jam/Makefile.in @@ -696,13 +696,14 @@ check-install: installcheck # lib/progs/tests targets recurse into subdirectories. build-* targets # build files in this directory. -# BUILT_SOURCES contain targets that need to be built before anything else -# in the directory (e.g., Fortran type detection) -build-lib: $(BUILT_SOURCES) $(LIB) -build-progs: $(BUILT_SOURCES) $(LIB) $(PROGS) -build-tests: $(BUILT_SOURCES) $(LIB) $(PROGS) $(TESTS) +build-lib: $(LIB) +build-progs: $(LIB) $(PROGS) +build-tests: $(LIB) $(PROGS) $(TESTS) -lib progs tests check-s check-p check-clean :: +# General rule for recursive building targets. +# BUILT_SOURCES contain targets that need to be built before anything else +# in the directory (e.g., for Fortran type detection) +lib progs tests check-s check-p :: $(BUILT_SOURCES) @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; @for d in X $(SUBDIRS); do \ if test $$d != X && test $$d != .; then \ @@ -710,6 +711,15 @@ lib progs tests check-s check-p check-clean :: fi; \ done +# General rule for recursive cleaning targets. Like the rule above, +# but doesn't require building BUILT_SOURCES. +check-clean :: + @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; + @for d in X $(SUBDIRS); do \ + if test $$d != X && test $$d != .; then \ + (set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \ + fi; \ + done # Tell Automake to build tests when the user types `make all' (this is # not its default behavior). Also build EXTRA_LIB and EXTRA_PROG since # Automake won't build them automatically, either. diff --git a/tools/h5ls/Makefile.in b/tools/h5ls/Makefile.in index c274c82..59e1d24 100644 --- a/tools/h5ls/Makefile.in +++ b/tools/h5ls/Makefile.in @@ -649,13 +649,14 @@ check-install: installcheck # lib/progs/tests targets recurse into subdirectories. build-* targets # build files in this directory. -# BUILT_SOURCES contain targets that need to be built before anything else -# in the directory (e.g., Fortran type detection) -build-lib: $(BUILT_SOURCES) $(LIB) -build-progs: $(BUILT_SOURCES) $(LIB) $(PROGS) -build-tests: $(BUILT_SOURCES) $(LIB) $(PROGS) $(TESTS) +build-lib: $(LIB) +build-progs: $(LIB) $(PROGS) +build-tests: $(LIB) $(PROGS) $(TESTS) -lib progs tests check-s check-p check-clean :: +# General rule for recursive building targets. +# BUILT_SOURCES contain targets that need to be built before anything else +# in the directory (e.g., for Fortran type detection) +lib progs tests check-s check-p :: $(BUILT_SOURCES) @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; @for d in X $(SUBDIRS); do \ if test $$d != X && test $$d != .; then \ @@ -663,6 +664,15 @@ lib progs tests check-s check-p check-clean :: fi; \ done +# General rule for recursive cleaning targets. Like the rule above, +# but doesn't require building BUILT_SOURCES. +check-clean :: + @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; + @for d in X $(SUBDIRS); do \ + if test $$d != X && test $$d != .; then \ + (set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \ + fi; \ + done # Tell Automake to build tests when the user types `make all' (this is # not its default behavior). Also build EXTRA_LIB and EXTRA_PROG since # Automake won't build them automatically, either. diff --git a/tools/h5repack/Makefile.in b/tools/h5repack/Makefile.in index 7a99891..9f20870 100644 --- a/tools/h5repack/Makefile.in +++ b/tools/h5repack/Makefile.in @@ -726,13 +726,14 @@ check-install: installcheck # lib/progs/tests targets recurse into subdirectories. build-* targets # build files in this directory. -# BUILT_SOURCES contain targets that need to be built before anything else -# in the directory (e.g., Fortran type detection) -build-lib: $(BUILT_SOURCES) $(LIB) -build-progs: $(BUILT_SOURCES) $(LIB) $(PROGS) -build-tests: $(BUILT_SOURCES) $(LIB) $(PROGS) $(TESTS) +build-lib: $(LIB) +build-progs: $(LIB) $(PROGS) +build-tests: $(LIB) $(PROGS) $(TESTS) -lib progs tests check-s check-p check-clean :: +# General rule for recursive building targets. +# BUILT_SOURCES contain targets that need to be built before anything else +# in the directory (e.g., for Fortran type detection) +lib progs tests check-s check-p :: $(BUILT_SOURCES) @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; @for d in X $(SUBDIRS); do \ if test $$d != X && test $$d != .; then \ @@ -740,6 +741,15 @@ lib progs tests check-s check-p check-clean :: fi; \ done +# General rule for recursive cleaning targets. Like the rule above, +# but doesn't require building BUILT_SOURCES. +check-clean :: + @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; + @for d in X $(SUBDIRS); do \ + if test $$d != X && test $$d != .; then \ + (set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \ + fi; \ + done # Tell Automake to build tests when the user types `make all' (this is # not its default behavior). Also build EXTRA_LIB and EXTRA_PROG since # Automake won't build them automatically, either. diff --git a/tools/lib/Makefile.in b/tools/lib/Makefile.in index 8900ad3..b01a6e2 100644 --- a/tools/lib/Makefile.in +++ b/tools/lib/Makefile.in @@ -659,13 +659,14 @@ check-install: installcheck # lib/progs/tests targets recurse into subdirectories. build-* targets # build files in this directory. -# BUILT_SOURCES contain targets that need to be built before anything else -# in the directory (e.g., Fortran type detection) -build-lib: $(BUILT_SOURCES) $(LIB) -build-progs: $(BUILT_SOURCES) $(LIB) $(PROGS) -build-tests: $(BUILT_SOURCES) $(LIB) $(PROGS) $(TESTS) +build-lib: $(LIB) +build-progs: $(LIB) $(PROGS) +build-tests: $(LIB) $(PROGS) $(TESTS) -lib progs tests check-s check-p check-clean :: +# General rule for recursive building targets. +# BUILT_SOURCES contain targets that need to be built before anything else +# in the directory (e.g., for Fortran type detection) +lib progs tests check-s check-p :: $(BUILT_SOURCES) @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; @for d in X $(SUBDIRS); do \ if test $$d != X && test $$d != .; then \ @@ -673,6 +674,15 @@ lib progs tests check-s check-p check-clean :: fi; \ done +# General rule for recursive cleaning targets. Like the rule above, +# but doesn't require building BUILT_SOURCES. +check-clean :: + @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; + @for d in X $(SUBDIRS); do \ + if test $$d != X && test $$d != .; then \ + (set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \ + fi; \ + done # Tell Automake to build tests when the user types `make all' (this is # not its default behavior). Also build EXTRA_LIB and EXTRA_PROG since # Automake won't build them automatically, either. diff --git a/tools/misc/Makefile.in b/tools/misc/Makefile.in index ab4fa2b..806d8e2 100644 --- a/tools/misc/Makefile.in +++ b/tools/misc/Makefile.in @@ -754,13 +754,14 @@ h5redeploy: h5redeploy.in # lib/progs/tests targets recurse into subdirectories. build-* targets # build files in this directory. -# BUILT_SOURCES contain targets that need to be built before anything else -# in the directory (e.g., Fortran type detection) -build-lib: $(BUILT_SOURCES) $(LIB) -build-progs: $(BUILT_SOURCES) $(LIB) $(PROGS) -build-tests: $(BUILT_SOURCES) $(LIB) $(PROGS) $(TESTS) +build-lib: $(LIB) +build-progs: $(LIB) $(PROGS) +build-tests: $(LIB) $(PROGS) $(TESTS) -lib progs tests check-s check-p check-clean :: +# General rule for recursive building targets. +# BUILT_SOURCES contain targets that need to be built before anything else +# in the directory (e.g., for Fortran type detection) +lib progs tests check-s check-p :: $(BUILT_SOURCES) @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; @for d in X $(SUBDIRS); do \ if test $$d != X && test $$d != .; then \ @@ -768,6 +769,15 @@ lib progs tests check-s check-p check-clean :: fi; \ done +# General rule for recursive cleaning targets. Like the rule above, +# but doesn't require building BUILT_SOURCES. +check-clean :: + @$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1; + @for d in X $(SUBDIRS); do \ + if test $$d != X && test $$d != .; then \ + (set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \ + fi; \ + done # Tell Automake to build tests when the user types `make all' (this is # not its default behavior). Also build EXTRA_LIB and EXTRA_PROG since # Automake won't build them automatically, either. |