From b802c46622fbcf7d05d2472e0739ca075f5b2e5b Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 11 Jul 2005 00:07:29 -0500 Subject: [svn-r11062] Purpose: bug fix Description: rwdsetexample and attrexample both modify the same file created by dsetexample. Need to serialize all three of them. Platforms tested: Did 50 times of make check in fortran/examples. It used to fail at least once. Now it does not fail. --- fortran/examples/Makefile.am | 5 ++++- fortran/examples/Makefile.in | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/fortran/examples/Makefile.am b/fortran/examples/Makefile.am index 92dabfb..88d1c98 100644 --- a/fortran/examples/Makefile.am +++ b/fortran/examples/Makefile.am @@ -51,9 +51,12 @@ CLEANFILES=*.h5 $(EXTRA_PROG) HDF_FORTRAN=yes # Some examples depend on files created by other examples. -rwdsetexample.chkexe_ attrexample.chkexe_: dsetexample.chkexe_ grpdsetexample.chkexe_: grpsexample.chkexe_ refregexample.chkexe_: refobjexample.chkexe_ +# rwdsetexample and attrexample both modify the same file created by +# dsetexample. Serialize them. +rwdsetexample.chkexe_: dsetexample.chkexe_ +attrexample.chkexe_: rwdsetexample.chkexe_ # Tell automake how to build examples using h5fc # Additional dependencies for the examples are listed below diff --git a/fortran/examples/Makefile.in b/fortran/examples/Makefile.in index 728c2cd..deabfd9 100644 --- a/fortran/examples/Makefile.in +++ b/fortran/examples/Makefile.in @@ -491,9 +491,12 @@ uninstall-am: uninstall-info-am uninstall-local # Some examples depend on files created by other examples. -rwdsetexample.chkexe_ attrexample.chkexe_: dsetexample.chkexe_ grpdsetexample.chkexe_: grpsexample.chkexe_ refregexample.chkexe_: refobjexample.chkexe_ +# rwdsetexample and attrexample both modify the same file created by +# dsetexample. Serialize them. +rwdsetexample.chkexe_: dsetexample.chkexe_ +attrexample.chkexe_: rwdsetexample.chkexe_ # Tell automake how to build examples using h5fc # Additional dependencies for the examples are listed below -- cgit v0.12