summaryrefslogtreecommitdiffstats
path: root/fortran/examples/Makefile.in
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2000-10-11 23:34:17 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2000-10-11 23:34:17 (GMT)
commit7e85c72e8319e015bacc47638d3d1f46a6ab45b2 (patch)
tree4c84c7e951c91d298818fa77ac460db3e003a557 /fortran/examples/Makefile.in
parent717e5f47648d9dc7572d5189f6de3196ad1205e2 (diff)
downloadhdf5-7e85c72e8319e015bacc47638d3d1f46a6ab45b2.zip
hdf5-7e85c72e8319e015bacc47638d3d1f46a6ab45b2.tar.gz
hdf5-7e85c72e8319e015bacc47638d3d1f46a6ab45b2.tar.bz2
[svn-r2671] Purpose:
Bug fix Description: The setting does not work for the --srcdir option as source file names are hard set in the action lines. Solution: Changed the dependence targets to the form of *.lo and the action lines would use the *.lo files. This way, *.lo files are created when -srcdir option is used or not. Also added that they all depend on the C hdf5 library. Platforms tested: IRIX64 -64 with --srcdir
Diffstat (limited to 'fortran/examples/Makefile.in')
-rw-r--r--fortran/examples/Makefile.in60
1 files changed, 30 insertions, 30 deletions
diff --git a/fortran/examples/Makefile.in b/fortran/examples/Makefile.in
index cf1117f..d49fcbe 100644
--- a/fortran/examples/Makefile.in
+++ b/fortran/examples/Makefile.in
@@ -38,49 +38,49 @@ TEST_SRC=dsetexample.f90 fileexample.f90 rwdsetexample.f90 attrexample.f90 \
mountexample.f90 compound.f90
TEST_OBJ=$(TEST_SRC:.f90=.lo)
-## How to build the programs... they all depend on the Fortran HDF5 library
-$(TEST_PROGS): $(FLIB)
+## How to build the programs... they all depend on the Fortran & C hdf5 libraries
+$(TEST_PROGS): $(FLIB) $(HDF5LIB)
-dsetexample: dsetexample.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ dsetexample.f90 $(FLIB) $(LIBS) $(HDF5LIB)
+dsetexample: dsetexample.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ dsetexample.lo $(FLIB) $(LIBS) $(HDF5LIB)
-fileexample: fileexample.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ fileexample.f90 $(FLIB) $(LIBS) $(HDF5LIB)
+fileexample: fileexample.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ fileexample.lo $(FLIB) $(LIBS) $(HDF5LIB)
-rwdsetexample: rwdsetexample.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ rwdsetexample.f90 $(FLIB) $(LIBS) $(HDF5LIB)
+rwdsetexample: rwdsetexample.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ rwdsetexample.lo $(FLIB) $(LIBS) $(HDF5LIB)
-attrexample: attrexample.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ attrexample.f90 $(FLIB) $(LIBS) $(HDF5LIB)
+attrexample: attrexample.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ attrexample.lo $(FLIB) $(LIBS) $(HDF5LIB)
-groupexample: groupexample.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ groupexample.f90 $(FLIB) $(LIBS) $(HDF5LIB)
+groupexample: groupexample.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ groupexample.lo $(FLIB) $(LIBS) $(HDF5LIB)
-grpsexample: grpsexample.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ grpsexample.f90 $(FLIB) $(LIBS) $(HDF5LIB)
+grpsexample: grpsexample.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ grpsexample.lo $(FLIB) $(LIBS) $(HDF5LIB)
-grpdsetexample: grpdsetexample.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ grpdsetexample.f90 $(FLIB) $(LIBS) $(HDF5LIB)
+grpdsetexample: grpdsetexample.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ grpdsetexample.lo $(FLIB) $(LIBS) $(HDF5LIB)
-hyperslab: hyperslab.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ hyperslab.f90 $(FLIB) $(LIBS) $(HDF5LIB)
+hyperslab: hyperslab.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ hyperslab.lo $(FLIB) $(LIBS) $(HDF5LIB)
-selectele: selectele.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ selectele.f90 $(FLIB) $(LIBS) $(HDF5LIB)
+selectele: selectele.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ selectele.lo $(FLIB) $(LIBS) $(HDF5LIB)
-grpit: grpit.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ grpit.f90 $(FLIB) $(LIBS) $(HDF5LIB)
+grpit: grpit.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ grpit.lo $(FLIB) $(LIBS) $(HDF5LIB)
-refobjexample: refobjexample.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ refobjexample.f90 $(FLIB) $(LIBS) $(HDF5LIB)
+refobjexample: refobjexample.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ refobjexample.lo $(FLIB) $(LIBS) $(HDF5LIB)
-refregexample: refregexample.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ refregexample.f90 $(FLIB) $(LIBS) $(HDF5LIB)
+refregexample: refregexample.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ refregexample.lo $(FLIB) $(LIBS) $(HDF5LIB)
-mountexample: mountexample.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ mountexample.f90 $(FLIB) $(LIBS) $(HDF5LIB)
+mountexample: mountexample.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ mountexample.lo $(FLIB) $(LIBS) $(HDF5LIB)
-compound: compound.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ compound.f90 $(FLIB) $(LIBS) $(HDF5LIB)
+compound: compound.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ compound.lo $(FLIB) $(LIBS) $(HDF5LIB)
@CONCLUDE@