[svn-r9902] Purpose:

Configuration feature

Description:
HDF5 now uses automake to generate Makefiles

Solution:
Makefile.in files are now generated from Makefile.am files.
To reconfigure (after chaning a Makefile.am or configure.in):
/bin/sh bin/reconfigure.sh

Platforms tested:
Many
This commit is contained in:
James Laird
2005-01-31 22:17:02 -05:00
parent 9f17319144
commit 26303241fe
135 changed files with 41908 additions and 23564 deletions

View File

@@ -1,20 +1,190 @@
# HDF5 Library Makefile(.in)
#
# Copyright (C) 2001 National Center for Supercomputing Applications.
# All rights reserved.
#
#
top_srcdir=@top_srcdir@
top_builddir=../../../..
srcdir=@srcdir@
@COMMENCE@
# Makefile.in generated by automake 1.6.3 from Makefile.am.
# @configure_input@
# Subdirectories in build-order (not including `examples')
SUBDIRS=
DOCDIR=$(docdir)/hdf5/Tutor/Graphics
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
# HDF5 Library Doc Makefile(.in)
#
# Copyright (C) 1997, 2002
# National Center for Supercomputing Applications.
# All rights reserved.
#
#
#------------------------------------------------------------ -*- makefile -*-
# The following section of this makefile comes from the
# `./config/commence' file which was generated with config.status
# from `./config/commence.in'.
#-----------------------------------------------------------------------------
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
oldincludedir = /usr/include
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ../../../..
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
EXEEXT = @EXEEXT@
OBJEXT = @OBJEXT@
PATH_SEPARATOR = @PATH_SEPARATOR@
# Install directories that automake doesn't know about
includedir = $(exec_prefix)/include
ADD_PARALLEL_FILES = @ADD_PARALLEL_FILES@
AMTAR = @AMTAR@
AR = @AR@
AS = @AS@
AWK = @AWK@
BUILD_PDB2HDF = @BUILD_PDB2HDF@
BYTESEX = @BYTESEX@
CC = @CC@
CC_VERSION = @CC_VERSION@
CONFIG_DATE = @CONFIG_DATE@
CONFIG_MODE = @CONFIG_MODE@
CONFIG_USER = @CONFIG_USER@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
DEBUG_PKG = @DEBUG_PKG@
DEFAULT_LIBS = @DEFAULT_LIBS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DYNAMIC_DIRS = @DYNAMIC_DIRS@
ECHO = @ECHO@
F77 = @F77@
F9XSUFFIXFLAG = @F9XSUFFIXFLAG@
FC = @FC@
FFLAGS = @FFLAGS@
FILTERS = @FILTERS@
FSEARCH_DIRS = @FSEARCH_DIRS@
GASS = @GASS@
H5_VERSION = @H5_VERSION@
HADDR_T = @HADDR_T@
HDF5_INTERFACES = @HDF5_INTERFACES@
HID_T = @HID_T@
HL = @HL@
HL_FOR = @HL_FOR@
HSIZET = @HSIZET@
HSIZE_T = @HSIZE_T@
HSSIZE_T = @HSSIZE_T@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LT_STATIC_EXEC = @LT_STATIC_EXEC@
MPE = @MPE@
OBJDUMP = @OBJDUMP@
OBJECT_NAMELEN_DEFAULT_F = @OBJECT_NAMELEN_DEFAULT_F@
PACKAGE = @PACKAGE@
PARALLEL = @PARALLEL@
PERL = @PERL@
PTHREAD = @PTHREAD@
RANLIB = @RANLIB@
ROOT = @ROOT@
RUNPARALLEL = @RUNPARALLEL@
RUNSERIAL = @RUNSERIAL@
R_INTEGER = @R_INTEGER@
R_LARGE = @R_LARGE@
SEARCH = @SEARCH@
SETX = @SETX@
SIZE_T = @SIZE_T@
SRB = @SRB@
SSL = @SSL@
STATIC_SHARED = @STATIC_SHARED@
STRIP = @STRIP@
TESTGASS = @TESTGASS@
TESTPARALLEL = @TESTPARALLEL@
TESTSRB = @TESTSRB@
TRACE_API = @TRACE_API@
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
USE_FILTER_NBIT = @USE_FILTER_NBIT@
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
USE_FILTER_SZIP = @USE_FILTER_SZIP@
VERSION = @VERSION@
am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
# Shell commands used in Makefiles
RM = rm -f
CP = cp
# 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
docdir = $(exec_prefix)/doc
# Scripts used to build examples
H5CC = $(bindir)/h5cc
H5CC_PP = $(bindir)/h5pcc
H5FC = $(bindir)/h5fc
H5FC_PP = $(bindir)/h5pfc
# Make sure that these variables are exported to the Makefiles
F9XMODEXT = @F9XMODEXT@
localdocdir = $(docdir)/hdf5/Tutor/Graphics
# Public doc files (to be installed)...
PUB_DOCS=AddInfo.gif AdvTopics.gif BLANK.gif ChunkExt.gif CompDTypes.gif \
localdoc_DATA = AddInfo.gif AdvTopics.gif BLANK.gif ChunkExt.gif CompDTypes.gif \
Copy.gif CreateAttr.gif CreateDset1.gif CreateDset2.gif \
CreateFile.gif CreateGrp1.gif CreateGrp2.gif Examples.gif \
FileOrg.gif FullTOC1.gif FullTOC2.gif Glossary.gif H5API.gif \
@@ -23,7 +193,255 @@ PUB_DOCS=AddInfo.gif AdvTopics.gif BLANK.gif ChunkExt.gif CompDTypes.gif \
References.gif SelectElemCp.gif SelectHyp.gif TOC.gif \
TOCFull.gif TOCShort.gif TitlePg.gif Utilities.gif
# Other doc files (not to be installed)...
PRIVATE_DOCS=
subdir = doc/html/Tutor/Graphics
mkinstalldirs = $(SHELL) $(top_srcdir)/bin/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/src/H5config.h
CONFIG_CLEAN_FILES =
DIST_SOURCES =
DATA = $(localdoc_DATA)
@CONCLUDE@
DIST_COMMON = Makefile.am Makefile.in
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/config/commence-doc.am $(top_srcdir)/config/commence.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --foreign doc/html/Tutor/Graphics/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
distclean-libtool:
-rm -f libtool
uninstall-info-am:
localdocDATA_INSTALL = $(INSTALL_DATA)
install-localdocDATA: $(localdoc_DATA)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(localdocdir)
@list='$(localdoc_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
echo " $(localdocDATA_INSTALL) $$d$$p $(DESTDIR)$(localdocdir)/$$f"; \
$(localdocDATA_INSTALL) $$d$$p $(DESTDIR)$(localdocdir)/$$f; \
done
uninstall-localdocDATA:
@$(NORMAL_UNINSTALL)
@list='$(localdoc_DATA)'; for p in $$list; do \
f="`echo $$p | sed -e 's|^.*/||'`"; \
echo " rm -f $(DESTDIR)$(localdocdir)/$$f"; \
rm -f $(DESTDIR)$(localdocdir)/$$f; \
done
tags: TAGS
TAGS:
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = ../../../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkinstalldirs) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
if test -d $$d/$$file; then \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(DATA)
installdirs:
$(mkinstalldirs) $(DESTDIR)$(localdocdir)
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
distclean-am: clean-am distclean-generic distclean-libtool
dvi: dvi-am
dvi-am:
info: info-am
info-am:
install-data-am: install-localdocDATA
install-exec-am:
install-info: install-info-am
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-am
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
uninstall-am: uninstall-info-am uninstall-localdocDATA
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
distclean distclean-generic distclean-libtool distdir dvi \
dvi-am info info-am install install-am install-data \
install-data-am install-exec install-exec-am install-info \
install-info-am install-localdocDATA install-man install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic \
mostlyclean-libtool uninstall uninstall-am uninstall-info-am \
uninstall-localdocDATA
# Let automake worry about Makefiles and configure components being up-to-
# date.
#
#
# The following rules insure that the Makefile is up-to-date by rerunning
# various autoconf components (although not all versions of make assume
# that the makefile is implicitly a target). We use time stamp files to
# keep track of the most recent update of H5config.h.in and H5config.h
# because autoheader and config.status don't update the modification time
# if the contents don't change.
# Invoke it by "gmake reconfigure".
#
# Graphically, the dependencies are:
#
# configure.in
# | |
# +-----------------+ +------------+
# | |
# stamp1 configure
# (H5config.h.in) |
# | | |
# | +---------------+ +-----------+
# | | |
# | config.status
# | |
# | +------------------+
# | |
# stamp2
# (H5config.h) Makefile.in et al
# | |
# +------------------+ +-----------+
# | |
# Makefile
#
# A side effect of updating stamp1 is to generate H5config.h.in and a
# side effect of updating stamp2 is to generate H5config.h. When using
# a version of make that doesn't treat the makefile as the initial target
# the user may want to occassionally type `make Makefile' in any source
# directory.
# The `Makefile' target has been renamed to `reconfigure' so that the
# autoconf and make depend processes do not start up automatically.
# One must do `make reconfigure' explicitedly to start the process.
# (When srcdir is used and if more than one machines are running,
# this automatic Makefile/autoconf can get things unstable.)
#
#STAMP1=$(top_builddir)/config/stamp1
#STAMP2=$(top_builddir)/config/stamp2
#MAKEFILE_PARTS=$(srcdir)/Makefile.in \
# $(top_srcdir)/config/commence.am \
# $(top_srcdir)/config/conclude.am
#$(STAMP1): $(top_srcdir)/configure.in
# touch $(STAMP1)
# -cd $(top_srcdir); autoheader
#$(STAMP2): $(STAMP1) $(top_builddir)/config.status
# touch $(STAMP2)
# -cd $(top_builddir); \
# CONFIG_FILES= CONFIG_HEADERS=src/H5config.h ./config.status
# Automake supplies a rule to generate configure
#$(top_builddir)/config.status: $(top_srcdir)/configure $(STAMP1)
# -cd $(top_builddir); ./config.status --recheck
# rerun the autoconf process if any configure components have changed.
#reconfigure: $(MAKEFILE_PARTS) $(STAMP2)
# -cd $(top_builddir); CONFIG_HEADERS= ./config.status
# @for sub in @subdirs@ dummy; do \
# if test $$sub != dummy; then \
# -cd $$sub; $(MAKE) reconfigure; \
# fi; \
# done;
#-----------------------------------------------------------------------------
# The following section of this makefile comes from the middle of
# `Makefile.am' from this directory.
# It was generated by running automake on `Makefile.am' to create
# `Makefile.in', then running `config.status' to create this Makefile.
#-----------------------------------------------------------------------------
# Ignore most rules
lib progs check test _test:
@echo "Nothing to be done"
tests TAGS tags dep depend:
@@SETX@; for d in X $(SUBDIRS); do \
if test $$d != X; then \
(cd $$d && $(MAKE) $@) || exit 1; \
fi;
done
# In docs directory, install-doc is the same as install
install-doc install-all:
$(MAKE) install
uninstall-doc uninstall-all:
$(MAKE) uninstall
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: