2005-02-12 01:40:52 +08:00
|
|
|
## config/commence.am
|
2005-10-21 22:54:41 +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
|
|
|
|
## http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have
|
|
|
|
## access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu.
|
|
|
|
|
|
|
|
|
2005-02-12 01:40:52 +08:00
|
|
|
## Textually included in the beginning of every HDF5 Makefile.am
|
|
|
|
## Contains definitions, etc. used across multiple Makefiles.
|
2005-02-01 11:17:02 +08:00
|
|
|
|
|
|
|
# Shell commands used in Makefiles
|
|
|
|
RM=rm -f
|
|
|
|
CP=cp
|
2005-09-18 11:04:28 +08:00
|
|
|
TIME=time
|
2005-02-01 11:17:02 +08:00
|
|
|
|
2005-03-31 05:14:48 +08:00
|
|
|
# Hardcode SHELL to be /bin/sh. Most machines have this shell, and
|
|
|
|
# on at least one machine configure fails to detect its existence (janus).
|
|
|
|
# Also, when HDF5 is configured on one machine but run on another,
|
|
|
|
# configure's automatic SHELL detection may not work on the build machine.
|
|
|
|
SHELL=/bin/sh
|
|
|
|
|
2005-04-01 02:26:17 +08:00
|
|
|
# Some machines need a command to run executables; this is that command
|
|
|
|
# so that our tests will run.
|
|
|
|
# We use RUNTESTS instead of RUNSERIAL directly because it may be that
|
|
|
|
# some tests need to be run with a different command. Older versions
|
|
|
|
# of the makefiles used the command
|
|
|
|
# $(LIBTOOL) --mode=execute
|
|
|
|
# in some directories, for instance.
|
|
|
|
RUNTESTS=$(RUNSERIAL)
|
|
|
|
|
2005-02-01 11:17:02 +08:00
|
|
|
# Libraries to link to while building
|
|
|
|
LIBHDF5=$(top_builddir)/src/libhdf5.la
|
|
|
|
LIBH5TEST=$(top_builddir)/test/libh5test.la
|
|
|
|
LIBH5F=$(top_builddir)/fortran/src/libhdf5_fortran.la
|
|
|
|
LIBH5FTEST=$(top_builddir)/fortran/test/libh5test_fortran.la
|
|
|
|
LIBH5CPP=$(top_builddir)/c++/src/libhdf5_cpp.la
|
|
|
|
LIBH5TOOLS=$(top_builddir)/tools/lib/libh5tools.la
|
|
|
|
LIBH5_HL=$(top_builddir)/hl/src/libhdf5_hl.la
|
|
|
|
LIBH5F_HL=$(top_builddir)/hl/fortran/src/libhdf5hl_fortran.la
|
2005-03-29 00:32:20 +08:00
|
|
|
LIBH5CPP_HL=$(top_builddir)/hl/c++/src/libhdf5_hl_cpp.la
|
2005-02-01 11:17:02 +08:00
|
|
|
|
|
|
|
# Install directories that automake doesn't know about
|
|
|
|
includedir = $(exec_prefix)/include
|
|
|
|
docdir = $(exec_prefix)/doc
|
|
|
|
|
|
|
|
# Scripts used to build examples
|
|
|
|
H5CC=$(bindir)/h5cc
|
|
|
|
H5CC_PP=$(bindir)/h5pcc
|
|
|
|
H5FC=$(bindir)/h5fc
|
|
|
|
H5FC_PP=$(bindir)/h5pfc
|
|
|
|
|
2005-09-17 05:26:17 +08:00
|
|
|
# H5_CFLAGS holds flags that should be used as CFLAGS when building hdf5,
|
|
|
|
# but which shouldn't be exported to h5cc for building other programs.
|
|
|
|
CFLAGS=@CFLAGS@ @H5_CFLAGS@
|
|
|
|
CPPFLAGS=@CPPFLAGS@ @H5_CPPFLAGS@
|
|
|
|
FFLAGS=@FFLAGS@ @H5_FFLAGS@
|
|
|
|
CXXFLAGS=@CXXFLAGS@ @H5_CXXFLAGS@
|
|
|
|
|
2005-02-01 11:17:02 +08:00
|
|
|
# Make sure that these variables are exported to the Makefiles
|
|
|
|
F9XMODEXT=@F9XMODEXT@
|
2005-02-01 23:27:37 +08:00
|
|
|
F9XMODFLAG=@F9XMODFLAG@
|
2005-02-01 11:17:02 +08:00
|
|
|
|
2005-04-01 02:26:17 +08:00
|
|
|
# Set the paths for AFS installs of autotools for Linux machines
|
2005-02-03 00:00:36 +08:00
|
|
|
# Ideally, these tools should never be needed during the build.
|
2005-04-01 02:26:17 +08:00
|
|
|
ACLOCAL=/afs/ncsa/projects/hdf/packages/automake_1.9.5/Linux_2.4/bin/aclocal -I /afs/ncsa/projects/hdf/packages/libtool_1.5.14/Linux_2.4/share/aclocal
|
|
|
|
AUTOHEADER=/afs/ncsa/projects/hdf/packages/autoconf_2.59/Linux_2.4/bin/autoheader
|
|
|
|
AUTOMAKE=/afs/ncsa/projects/hdf/packages/automake_1.9.5/Linux_2.4/bin/automake
|
|
|
|
AUTOCONF=/afs/ncsa/projects/hdf/packages/autoconf_2.59/Linux_2.4/bin/autoconf
|
|
|
|
|
2005-08-27 06:24:27 +08:00
|
|
|
# .chkexe files are used to mark tests that have run successfully.
|
|
|
|
# .chklog files are output from those tests.
|
2005-09-01 04:03:52 +08:00
|
|
|
# *.clog are from the MPE option.
|
|
|
|
CHECK_CLEANFILES=*.chkexe *.chklog *.clog
|
2005-08-02 06:22:55 +08:00
|
|
|
|
2005-07-22 03:28:11 +08:00
|
|
|
# check-install is a synonym for installcheck.
|
|
|
|
# Add this build rule here (rather than in conclude.am, where build rules
|
|
|
|
# normally go) because it should be included in the top-level Makefile.am
|
|
|
|
# as well.
|
|
|
|
check-install: installcheck
|