2006-03-10 05:35:17 +08:00
|
|
|
$!#
|
2007-02-08 12:14:26 +08:00
|
|
|
$!# Copyright by The HDF Group.
|
2006-03-10 05:35:17 +08:00
|
|
|
$!# Copyright by the Board of Trustees of the University of Illinois.
|
|
|
|
$!# All rights reserved.
|
|
|
|
$!#
|
|
|
|
$!# This file is part of HDF5. The full HDF5 copyright notice, including
|
|
|
|
$!# terms governing use, modification, and redistribution, is contained in
|
|
|
|
$!# the files COPYING and Copyright.html. COPYING can be found at the root
|
|
|
|
$!# of the source code distribution tree; Copyright.html can be found at the
|
|
|
|
$!# root level of an installed copy of the electronic HDF5 document set and
|
|
|
|
$!# is linked from the top-level documents page. It can also be found at
|
2007-02-08 12:14:26 +08:00
|
|
|
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
|
|
|
$!# access to either file, you may request a copy from help@hdfgroup.org.
|
2006-03-10 05:35:17 +08:00
|
|
|
$!#
|
|
|
|
$!
|
|
|
|
$!
|
2006-04-15 05:28:08 +08:00
|
|
|
$! This file copies all make files from the VMS directory to the
|
|
|
|
$! source directories and builds libraries, tests, and utilties
|
|
|
|
$!
|
|
|
|
$ copy [.c__.src]make.com [-.c__.src]
|
|
|
|
$ copy [.c__.test]*.com [-.c__.test]
|
|
|
|
$ copy [.fortran.src]make.com [-.fortran.src]
|
|
|
|
$ copy [.fortran.test]*.com [-.fortran.test]
|
|
|
|
$ copy [.src]make.com [-.src]
|
|
|
|
$ copy [.src]h5pubconf.h [-.src]
|
|
|
|
$ copy [.test]*.com [-.test]
|
2006-08-02 05:41:15 +08:00
|
|
|
$ copy [.tools.h5copy]*.com [-.tools.h5copy]
|
2006-04-15 05:28:08 +08:00
|
|
|
$ copy [.tools.h5dump]*.com [-.tools.h5dump]
|
|
|
|
$ copy [.tools.h5ls]*.com [-.tools.h5ls]
|
|
|
|
$ copy [.tools.h5diff]*.com [-.tools.h5diff]
|
|
|
|
$ copy [.tools.h5repack]*.com [-.tools.h5repack]
|
|
|
|
$ copy [.tools.h5import]*.com [-.tools.h5import]
|
|
|
|
$ copy [.tools.h5jam]*.com [-.tools.h5jam]
|
2009-02-12 02:45:02 +08:00
|
|
|
$ copy [.tools.h5stat]*.com [-.tools.h5stat]
|
2006-04-15 05:28:08 +08:00
|
|
|
$ copy [.tools.lib]make.com [-.tools.lib]
|
2008-01-10 06:27:55 +08:00
|
|
|
$ copy [.tools.testfiles]*.ddl [-.tools.testfiles]
|
2009-02-12 02:45:02 +08:00
|
|
|
$ copy [.tools.misc]make.com [-.tools.misc]
|
2006-04-15 05:28:08 +08:00
|
|
|
$!
|
2006-05-13 05:32:59 +08:00
|
|
|
$! Define location of ZLIB library. If you do not have it on your system, download
|
|
|
|
$! source code from http://www.zlib.net/, build and install on your system
|
2011-03-25 02:33:45 +08:00
|
|
|
$ define zlib_dir disk$user:[hdfgroup.zlib-1_2_5_ieee]
|
2009-01-31 23:31:17 +08:00
|
|
|
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3-ieee]
|
2006-05-13 05:32:59 +08:00
|
|
|
$!
|
2006-04-15 05:28:08 +08:00
|
|
|
$! Set up compilation flags here
|
|
|
|
$! Do not remove define=H5_VMS and standard=strict_ansi qualifiers.
|
|
|
|
$!
|
2009-01-30 23:57:16 +08:00
|
|
|
$ ccopt == "/float=ieee_float/define=(_LARGEFILE,H5_VMS)/debug/nooptimize/include=zlib_dir"
|
|
|
|
$ fcopt == "/float=ieee_float/define=(_LARGEFILE,H5_VMS)/debug/nooptimize/include=zlib_dir"
|
|
|
|
$ cxxopt == "/float=ieee_float/define=(_LARGEFILE,H5_VMS)/debug/nooptimize/"+-
|
2006-05-26 00:19:11 +08:00
|
|
|
"standard=strict_ansi/include=zlib_dir"
|
2006-04-15 05:28:08 +08:00
|
|
|
$!
|
|
|
|
$!
|
|
|
|
$ hdf5top = F$DIRECTORY()
|
|
|
|
$ len = F$LENGTH(hdf5top)
|
|
|
|
$ hdf5top_dir = F$EXTRACT(0, len-4, hdf5top)
|
|
|
|
$!
|
|
|
|
$ hdf5src = hdf5top_dir + "SRC]"
|
|
|
|
$ hdf5test = hdf5top_dir + "TEST]"
|
|
|
|
$ hdf5examples = hdf5top_dir + "EXAMPLES]"
|
|
|
|
$ hdf5tools_lib = hdf5top_dir + "TOOLS.LIB]"
|
2006-08-02 05:41:15 +08:00
|
|
|
$ hdf5tools_h5copy = hdf5top_dir + "TOOLS.H5COPY]"
|
2006-04-15 05:28:08 +08:00
|
|
|
$ hdf5tools_h5diff = hdf5top_dir + "TOOLS.H5DIFF]"
|
|
|
|
$ hdf5tools_h5dump = hdf5top_dir + "TOOLS.H5DUMP]"
|
2009-02-12 02:45:02 +08:00
|
|
|
$ hdf5tools_h5import = hdf5top_dir + "TOOLS.H5IMPORT]"
|
|
|
|
$ hdf5tools_h5jam = hdf5top_dir + "TOOLS.H5JAM]"
|
2006-04-15 05:28:08 +08:00
|
|
|
$ hdf5tools_h5ls = hdf5top_dir + "TOOLS.H5LS]"
|
|
|
|
$ hdf5tools_h5repack = hdf5top_dir + "TOOLS.H5REPACK]"
|
2009-02-12 02:45:02 +08:00
|
|
|
$ hdf5tools_h5stat = hdf5top_dir + "TOOLS.H5STAT]"
|
|
|
|
$ hdf5tools_misc = hdf5top_dir + "TOOLS.MISC]"
|
2006-04-15 05:28:08 +08:00
|
|
|
$ hdf5fortran_examples = hdf5top_dir + "FORTRAN.EXAMPLES]"
|
|
|
|
$ hdf5fortran_src = hdf5top_dir + "FORTRAN.SRC]"
|
|
|
|
$ hdf5fortran_test = hdf5top_dir + "FORTRAN.TEST]"
|
|
|
|
$ hdf5cxx_src = hdf5top_dir + "C__.SRC]"
|
|
|
|
$ hdf5cxx_test = hdf5top_dir + "C__.TEST]"
|
|
|
|
$ hdf5cxx_examples = hdf5top_dir + "C__.EXAMPLES]"
|
2006-05-26 00:19:11 +08:00
|
|
|
$!
|
2006-04-15 05:28:08 +08:00
|
|
|
$ write sys$output "Building C library"
|
|
|
|
$ set def 'hdf5src'
|
|
|
|
$ @make.com
|
|
|
|
$!
|
|
|
|
$!
|
|
|
|
$ write sys$output "Building C library tests"
|
|
|
|
$ set def 'hdf5test'
|
|
|
|
$ @make.com
|
|
|
|
$!
|
|
|
|
$ write sys$output "Building tools library"
|
|
|
|
$ set def 'hdf5tools_lib'
|
|
|
|
$ @make.com
|
|
|
|
$!
|
2006-08-02 05:41:15 +08:00
|
|
|
$ write sys$output "Building h5copy"
|
|
|
|
$ set def 'hdf5tools_h5copy'
|
|
|
|
$ @make.com
|
|
|
|
$!
|
2006-04-15 05:28:08 +08:00
|
|
|
$ write sys$output "Building h5diff"
|
|
|
|
$ set def 'hdf5tools_h5diff'
|
|
|
|
$ @make.com
|
|
|
|
$!
|
|
|
|
$ write sys$output "Building h5dump"
|
|
|
|
$ set def 'hdf5tools_h5dump'
|
|
|
|
$ @make.com
|
|
|
|
$!
|
2009-02-12 02:45:02 +08:00
|
|
|
$ write sys$output "Building h5import"
|
|
|
|
$ set def 'hdf5tools_h5import'
|
|
|
|
$ @make.com
|
|
|
|
$!
|
|
|
|
$ write sys$output "Building h5jam"
|
|
|
|
$ set def 'hdf5tools_h5jam'
|
2006-04-15 05:28:08 +08:00
|
|
|
$ @make.com
|
|
|
|
$!
|
|
|
|
$ write sys$output "Building h5ls"
|
|
|
|
$ set def 'hdf5tools_h5ls'
|
|
|
|
$ @make.com
|
|
|
|
$!
|
2009-02-12 02:45:02 +08:00
|
|
|
$ write sys$output "Building h5repack"
|
|
|
|
$ set def 'hdf5tools_h5repack'
|
2006-04-15 05:28:08 +08:00
|
|
|
$ @make.com
|
|
|
|
$!
|
2009-02-12 02:45:02 +08:00
|
|
|
$ write sys$output "Building h5stat"
|
|
|
|
$ set def 'hdf5tools_h5stat'
|
|
|
|
$ @make.com
|
|
|
|
$!
|
|
|
|
$ write sys$output "Building misc"
|
|
|
|
$ set def 'hdf5tools_misc'
|
2006-04-15 05:28:08 +08:00
|
|
|
$ @make.com
|
|
|
|
$!
|
|
|
|
$ write sys$output "Building Fortran library"
|
|
|
|
$ set def 'hdf5fortran_src'
|
|
|
|
$ @make.com
|
|
|
|
$!
|
|
|
|
$ write sys$output "Building Fortran library tests"
|
|
|
|
$ set def 'hdf5fortran_test'
|
|
|
|
$ @make.com
|
|
|
|
$!
|
|
|
|
$ write sys$output "Building C++ library"
|
|
|
|
$ set def 'hdf5cxx_src'
|
2007-12-14 02:30:00 +08:00
|
|
|
$ copy *.cpp *.cxx
|
2006-04-15 05:28:08 +08:00
|
|
|
$ @make.com
|
|
|
|
$!
|
|
|
|
$ write sys$output "Building C++ library tests"
|
|
|
|
$ set def 'hdf5cxx_test'
|
2007-12-14 02:30:00 +08:00
|
|
|
$ copy *.cpp *.cxx
|
2006-04-15 05:28:08 +08:00
|
|
|
$ @make.com
|
|
|
|
$!
|
|
|
|
$ set def 'hdf5top'
|
2006-04-13 03:48:14 +08:00
|
|
|
$ exit
|