summaryrefslogtreecommitdiffstats
path: root/vms/fortran
diff options
context:
space:
mode:
Diffstat (limited to 'vms/fortran')
-rw-r--r--vms/fortran/examples/make.com2
-rw-r--r--vms/fortran/src/make.com17
-rw-r--r--vms/fortran/test/make.com7
3 files changed, 16 insertions, 10 deletions
diff --git a/vms/fortran/examples/make.com b/vms/fortran/examples/make.com
index 9f18198..591ba63 100644
--- a/vms/fortran/examples/make.com
+++ b/vms/fortran/examples/make.com
@@ -17,7 +17,7 @@ $!
$! Make HDF5 Fortran examples
$!
$ fcopt = "/float=ieee_float/define=H5_VMS"
-$ define zlib_dir sys$sysusers:[pourmale.zlib-1_2_3]
+$ define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$ fff := fortran 'fcopt /module=[-.-.include]
$
$ type sys$input
diff --git a/vms/fortran/src/make.com b/vms/fortran/src/make.com
index 8c75d9a..5ad89ff 100644
--- a/vms/fortran/src/make.com
+++ b/vms/fortran/src/make.com
@@ -16,8 +16,13 @@ $! Makefile for VMS systems.
$!
$! Make HDF5 Fortran library
$!
-$ ccopt = "/float=ieee_float/define=H5_VMS"
-$ fcopt = "/float=ieee_float/define=H5_VMS"
+$! The thre two lines should be uncommented only when building by hand in the
+$! current directory. Use build.com in the vms directory to build
+$! the distribution. Make sure that location of the zlib library is correct.
+$!
+$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
+$! ccopt = "/float=ieee_float/define=H5_VMS/debug/nooptimize/include=zlib_dir"
+$! fcopt = "/float=ieee_float/define=H5_VMS/debug/nooptimize/include=zlib_dir"
$ ccc := cc 'ccopt /include=[-.-.src]
$ fff := fortran 'fcopt
$ type sys$input
@@ -48,17 +53,17 @@ $ type sys$input
Creating HDF5 Fortran library
$!
$ cobj="H5f90kit, H5_f, H5Af, H5Df, H5Ef, H5Ff, H5Gf, "+-
- "H5If, H5Pf, H5Rf, H5Sf, H5Tf, H5Zf"
+ "H5If, H5Lf, H5Of, H5Pf, H5Rf, H5Sf, H5Tf, H5Zf"
$ ffiles= "H5_ff.f90, H5Aff.f90, H5Dff.f90, H5Eff.f90,"+-
+ "H5Lff.f90, H5Off.f90,"+-
"H5Fff.f90, H5Gff.f90, H5Iff.f90, H5Pff.f90, H5Rff.f90, H5Sff.f90,"+-
"H5Tff.f90, H5Zff.f90, H5_DBLE_InterfaceInclude.f90, HDF5.f90"
-$ fobj="H5fortran_flags, H5f90global, "+-
+$ fobj="H5f90global, "+-
"H5fortran_types, H5_ff, H5Aff, H5Dff, H5Eff,"+-
- "H5Fff, H5Gff, H5Iff, H5Pff, H5Rff, H5Sff,"+-
+ "H5Fff, H5Gff, H5Iff, H5Lff, H5Off, H5Pff, H5Rff, H5Sff,"+-
"H5Tff, H5Zff, H5_DBLE_InterfaceInclude, HDF5"
$!
$ ccc 'cobj
-$ fff H5fortran_flags.f90
$ fff H5fortran_types.f90
$ fff H5f90global.f90
$
diff --git a/vms/fortran/test/make.com b/vms/fortran/test/make.com
index 120fa7b..478c64c 100644
--- a/vms/fortran/test/make.com
+++ b/vms/fortran/test/make.com
@@ -16,8 +16,9 @@ $! Makefile for VMS systems.
$!
$! Make HDF5 Fortran tests
$!
-$ ccopt = "/float=ieee_float/define=H5_VMS"
-$ fcopt = "/float=ieee_float/define=H5_VMS"
+$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
+$! ccopt = "/float=ieee_float/define=H5_VMS/debug/nooptimize/include=zlib_dir"
+$! fcopt = "/float=ieee_float/define=H5_VMS/debug/nooptimize/include=zlib_dir"
$ ccc := cc 'ccopt /include=[-.-.src]
$ fff := fortran 'fcopt /module=[-.src]
$
@@ -58,7 +59,7 @@ $ link/exec=fortranlib_test.exe -
[-.src]hdf5_fortran.olb/lib,-
[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ link/exec=fortranlib_test_1_8.exe -
- fortranlib_test_1_8.obj, tH5F.obj, tH5A_1_8.obj, tH5G_1_8.obj,-
+ fortranlib_test_1_8.obj, tH5F.obj, tH5O.obj, tH5A_1_8.obj, tH5G_1_8.obj,-
h5test_fortran.olb/lib,[-.-.test]libh5test.olb/lib, -
[-.src]hdf5_fortran.olb/lib,-
[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib