mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
893b8bffee
Bug Fix Description: Fixing BZ #1381. The --includedir=DIR configure option, which is used to specify the installation location of C header files, did not work correctly as the path was hard-coded in config/commence.am. I'm presuming this is because an older version of automake didn't know where to put c header files. In any case, removing this line now defaults the includedir to the same directory that it is currently hard-coded to, and also fixes the configure flag to allow customization of this value. Tested: jam, liberty
97 lines
3.8 KiB
Plaintext
97 lines
3.8 KiB
Plaintext
## config/commence.am
|
|
## (Use double hashes for copyright notice so that automake treats it as
|
|
## comments and does not pass it to Makefile.in)
|
|
## Copyright by The HDF Group.
|
|
## 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://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
|
## access to either file, you may request a copy from help@hdfgroup.org.
|
|
|
|
|
|
## Textually included in the beginning of every HDF5 Makefile.am
|
|
## Contains definitions, etc. used across multiple Makefiles.
|
|
|
|
# Shell commands used in Makefiles
|
|
RM=rm -f
|
|
CP=cp
|
|
|
|
# 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)
|
|
|
|
# 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
|
|
LIBH5CPP_HL=$(top_builddir)/hl/c++/src/libhdf5_hl_cpp.la
|
|
|
|
# Install directories that automake doesn't know about
|
|
docdir = $(exec_prefix)/doc
|
|
|
|
# Scripts used to build examples
|
|
# If only shared libraries have been installed, have h5cc build examples with
|
|
# shared libraries instead of static libraries
|
|
H5CC=$(bindir)/h5cc
|
|
H5CC_PP=$(bindir)/h5pcc
|
|
H5FC=$(bindir)/h5fc
|
|
H5FC_PP=$(bindir)/h5pfc
|
|
H5CPP=$(bindir)/h5c++
|
|
|
|
|
|
# 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@
|
|
FCFLAGS=@FCFLAGS@ @H5_FCFLAGS@
|
|
CXXFLAGS=@CXXFLAGS@ @H5_CXXFLAGS@
|
|
|
|
# The trace script; this is used on source files from the C library to
|
|
# insert tracing macros.
|
|
TRACE=perl $(top_srcdir)/bin/trace
|
|
|
|
# Make sure that these variables are exported to the Makefiles
|
|
F9XMODEXT=@F9XMODEXT@
|
|
F9XMODFLAG=@F9XMODFLAG@
|
|
|
|
# Set the paths for AFS installs of autotools for Linux machines
|
|
# Ideally, these tools should never be needed during the build.
|
|
AUTOCONF=/home1/packages/autoconf/autoconf-2.60/bin/autoconf
|
|
AUTOMAKE=/home1/packages/automake/automake-1.9.6/bin/automake-1.9
|
|
AUTOHEADER=/home1/packages/autoconf/autoconf-2.60/bin/autoheader
|
|
ACLOCAL=/home1/packages/automake/automake-1.9.6/bin/aclocal-1.9 -I /afs/ncsa/projects/hdf/packages/libtool_1.5.14/Linux_2.4/share/aclocal
|
|
|
|
# .chkexe files are used to mark tests that have run successfully.
|
|
# .chklog files are output from those tests.
|
|
# *.clog are from the MPE option.
|
|
CHECK_CLEANFILES=*.chkexe *.chklog *.clog
|
|
|
|
# List all build rules defined by HDF5 Makefiles as "PHONY" targets here.
|
|
# This tells the Makefiles that these targets are not files to be built but
|
|
# commands that should be executed even if a file with the same name already
|
|
# exists.
|
|
.PHONY: build-check-clean build-check-p build-check-s build-lib build-progs \
|
|
build-tests check-clean check-install check-p check-s check-vfd \
|
|
install-doc lib progs tests uninstall-doc _exec_check-s _test help
|
|
|
|
help:
|
|
@$(top_srcdir)/bin/makehelp
|
|
|