mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-24 15:25:00 +08:00
116491f0d6
---------------------- ./INSTALL Reorganized and added some additional examples. ./MANIFEST ./aclocal.m4 [NEW] ./configure.in ./configure [REGENERATED] ./src/H5config.h.in [REGENERATED] ./bin/ltconfig [NEW] ./bin/ltmain.sh [NEW] Added tests to determine how to compile shared libraries and how to link programs with them before the libraries are installed. Also how to install and uninstall shared libraries. The configure step also prints the names of the config files it's trying to load for easier debugging. ./bin/config.guess ./bin/config.sub Replaced with a newer version from GNU. The changes we made to that file to report `irix6.x' and `FreeBSD' without version numbers have been incorporated into configure.in instead. In the future, do not change these two files (see the top of configure.in instead). By the way, this update was required to get shared libraries working. ./config/linux [REMOVED] ./config/linux-gnulibc1 [NEW] ./config/linux-gnu [NEW] ./config/alpha-dec [REMOVED] ./config/alpha-dec-osf4.0 [REMOVED] ./config/dec-osf4.x [NEW] ./config/irix5.3 [REMOVED] ./config/irix5.x [NEW] ./config/irix64 [REMOVED] ./config/freebsd Moved config files around to agree with output from the new config.guess. The linux file was split into gnu (RedHat), gnulibc1, and gnulibc2 versions. The alpha-dec file was removed (I think it was unused) and the alpha-dec-osf4.0 was changed to dec-osf4.x. The irix5.3 file renamed to irix5.x and the irix64 file was renamed to irix6.x. The freebsd file was changed to point to linux-gnulibc1. These changes were tested on: Linux 2.0 Linux 2.1 FreeBSD 3.2 Irix 5.3 Irix64 6.2 Irix64 6.4 HP/UX 10.20 OSF1 4.0 ./config/alphaev56-dec-osf4.x ./config/irix64 Added warnings similar to linux/freebsd about using compilers with known bugs. ./config/commence.in ./config/conclude.in ./src/Makefile.in ./test/Makefile.in ./testpar/Makefile.in ./tools/Makefile.in Added definitions for shared libraries. This has been tested on the following systems: Linux 2.0 Linux 2.1 FreeBSD 3.2 Irix 5.3 Irix64 6.2 Irix64 6.4 HP/UX 10.20 static only OSF1 4.0 If you want to disable use of shared libraries (you probably do for development purposes since it takes a lot longer to compile and because you have to run dynamically linked programs in a special way if the library hasn't been installed) then add `--disable-shared' to the configure command line. This is all documented in the INSTALL file. ./bin/release Temprarily commented out the MANIFEST checking when running under svf since svf is about to be replaced by a newer version. This change only affects error checking during the release process. ./Makefile.dist ./Makefile.in Added `make check' which does the same thing as `make _test' since the former is endorsed by the GNU coding style and people are used to it. The old `make _test' still works too (and so does `make test' if you use GNU make).
102 lines
3.6 KiB
Makefile
102 lines
3.6 KiB
Makefile
# Top-level HDF5 Makefile(.in)
|
|
#
|
|
# Copyright (C) 1997 National Center for Supercomputing Applications.
|
|
# All rights reserved.
|
|
#
|
|
#
|
|
# This makefile mostly just reinvokes make in the various subdirectories
|
|
# but does so in the correct order. You can alternatively invoke make from
|
|
# each subdirectory manually.
|
|
#
|
|
@COMMENCE@
|
|
|
|
# Subdirectories in build-order
|
|
SUBDIRS=src test tools @TESTPARALLEL@
|
|
|
|
##############################################################################
|
|
# T A R G E T S
|
|
#
|
|
# all: Build libraries, header files, tests, and programs in the
|
|
# various subdirectories but does not run tests or install the
|
|
# library, header files, or programs. The components can be
|
|
# built individually with the targets lib, progs, and tests.
|
|
#
|
|
# check: Test the uninstalled library to make sure it works. You may
|
|
# also say `test' or `_test' (`test' doesn't work from the top
|
|
# level directory for some versions of make because `test' is
|
|
# also a directory).
|
|
#
|
|
# install: Installs libraries, header files, programs, and documentation
|
|
# in the various directories under the prefix directory (lib,
|
|
# include, bin, man, info). Use the `--prefix=PATH' option
|
|
# to `configure' (or `config.status') or say `--help' for
|
|
# other alternatives. The default prefix is `/usr/local'.
|
|
#
|
|
# uninstall: Delete all the installed files that the `install' target
|
|
# created (but not the noninstalled files such as `make all'
|
|
# created).
|
|
#
|
|
# clean: Removes temporary files except those that record the
|
|
# configuration and those that are part of the distribution.
|
|
#
|
|
# mostlyclean: Like `clean' except it doesn't delete a few files like
|
|
# libraries, programs, and/or generated header files because
|
|
# regenerating them is rarely necessary and takes a lot of time.
|
|
#
|
|
# distclean: Deletes all files that are created by configuring or building
|
|
# HDF5. If you have unpacked the source and built HDF5 without
|
|
# creating any other files, then `make distclean' will leave
|
|
# only the files that were in the distrubution.
|
|
#
|
|
# maintainer-clean:
|
|
# Like `distclean' except it deletes more files. It deletes
|
|
# all generated files. This target is not intended for normal
|
|
# users; it deletes files that may require special tools to
|
|
# rebuild.
|
|
#
|
|
# TAGS: Updates the tags table for this program.
|
|
#
|
|
# dep depend: Builds dependencies in all subdirectories. These targets
|
|
# might not be available on certain combinations of make
|
|
# programs and C compilers. At the other extreme, the GNU
|
|
# make used in combination with gcc will maintain dependency
|
|
# information automatically.
|
|
#
|
|
lib progs tests check test _test install uninstall TAGS dep depend:
|
|
@@SETX@; for d in $(SUBDIRS); do \
|
|
(cd $$d && $(MAKE) $@) || exit 1; \
|
|
done
|
|
|
|
# Number format detection
|
|
H5detect:
|
|
(cd src && $(MAKE) $@)
|
|
|
|
H5Tinit.c:
|
|
(cd src && $(MAKE) $@)
|
|
|
|
.PHONY: all lib progs test _test install uninstall dep depend clean \
|
|
mostlyclean distclean maintainer-clean
|
|
|
|
clean mostlyclean:
|
|
@@SETX@; for d in $(SUBDIRS); do \
|
|
(cd $$d && $(MAKE) $@); \
|
|
done
|
|
|
|
distclean:
|
|
@@SETX@; for d in $(SUBDIRS); do \
|
|
(cd $$d && $(MAKE) $@); \
|
|
done
|
|
-$(RM) config/commence config/conclude config/depend
|
|
-$(RM) config.cache config.log config.status src/H5config.h
|
|
-$(RM) Makefile
|
|
-$(CP) Makefile.dist Makefile
|
|
|
|
maintainer-clean:
|
|
@echo "This command is intented for maintainers to use;"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
@@SETX@; for d in $(SUBDIRS); do \
|
|
(cd $$d && $(MAKE) $@); \
|
|
done
|
|
-$(RM) config.cache config.log config.status src/H5config.h
|
|
-$(RM) configure src/H5config.h.in
|