summaryrefslogtreecommitdiffstats
path: root/fortran/examples/Makefile.am
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-07-04 21:25:07 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-07-04 21:25:07 (GMT)
commitc80b03cf3310823e6343f24836227e3d91a5fa53 (patch)
tree7fcd65b42144354609720f8ad91cdaad9fec4e8e /fortran/examples/Makefile.am
parentddf9e4a4afc81c4be4ce38a13641ada81204b6ac (diff)
downloadhdf5-c80b03cf3310823e6343f24836227e3d91a5fa53.zip
hdf5-c80b03cf3310823e6343f24836227e3d91a5fa53.tar.gz
hdf5-c80b03cf3310823e6343f24836227e3d91a5fa53.tar.bz2
[svn-r11016] Purpose:
Bug fix Description: Added dependencies to examples Makefiles so that examples can be run in parallel. Solution: The examples directories (for C, C++, and Fortran) all have some dependencies explicitly spelled out in their Makefiles.am. This is a good short-term solution, and should prevent errors in the Daily Tests. Platforms tested: mir, modi4 (parallel and sequential)
Diffstat (limited to 'fortran/examples/Makefile.am')
-rw-r--r--fortran/examples/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/fortran/examples/Makefile.am b/fortran/examples/Makefile.am
index f6d53b3..57aadb1 100644
--- a/fortran/examples/Makefile.am
+++ b/fortran/examples/Makefile.am
@@ -50,6 +50,10 @@ CLEANFILES=*.h5 $(EXTRA_PROG)
# Mark this directory as part of the Fortran API
HDF_FORTRAN=yes
+# Some examples depend on files created by other examples.
+rwdsetexample.chkexe_ attrexample.chkexe_: dsetexample.chkexe_
+grpdsetexample.chkexe_: grpsexample.chkexe_
+
# Tell automake how to build examples using h5fc
# Additional dependencies for the examples are listed below
$(EXTRA_PROG): $(LIBHDF5) $(LIBH5F)