mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
2ab2e14bb5
---------------------- ./Makefile.in Running `make distclean' will not fail if one of the subdirectories has already been cleaned. ./config/BlankForm ./config/irix5.3 Cleaned it up more. Added better support/documentation for systems that have more than one compiler. ./config/alpha-dec-osf4.0 [NEW] Added a new config file as a result of testing on Jim Reus's machine. ./test/chunk.c Scaled down the testing range so we can actually run it interactively. ./tools/h5import.c Included <unistd.h> to get rid of warning for close(). ./src/H5detect.c Seg-faults on Linux for some reason when NDEBUG is defined, so I just undef it at the top of the source. ./test/big.c Added a fflush(). ./tools/h5ls.c The `-d' flag now works even when `-v' isn't specified. ./examples/h5_chunk_read.c ./examples/h5_compound.c ./examples/h5_extend_write.c ./examples/h5_group.c ./examples/h5_read.c ./examples/h5_write.c Indented according to hdf5 standards. Fixed compiler warnings
45 lines
1.2 KiB
Bash
45 lines
1.2 KiB
Bash
# -*- shell-script -*-
|
|
#
|
|
# This file is part of the HDF5 build script. It is processed shortly
|
|
# after configure starts and defines, among other things, flags for
|
|
# the various compile modes.
|
|
#
|
|
# Modifications:
|
|
# Robb Matzke, 1998-08-31
|
|
# Removed `-ansi' from the CFLAGS because it caused sigaction()
|
|
# to not be compiled.
|
|
|
|
|
|
#----------------------------------------------------------------------------
|
|
# Compiler flags. The CPPFLAGS values should not include package debug
|
|
# flags like `-DH5G_DEBUG' since these are added with the
|
|
# `--enable-debug' switch of configure.
|
|
|
|
# Sometimes a particular compiler must be used. If that's the case
|
|
# then uncomment the following line. Otherwise the main configure
|
|
# script will try to detect the compiler automatically.
|
|
CC=${CC:-cc}
|
|
RANLIB=:
|
|
|
|
case $CC in
|
|
*gcc*)
|
|
CFLAGS="$CFLAGS -ansi"
|
|
DEBUG_CFLAGS="-g -fverbose-asm"
|
|
DEBUG_CPPFLAGS="-DH5F_LOW_DFLT=H5F_LOW_SEC2"
|
|
PROD_CFLAGS="-O3 -finline-functions"
|
|
PROD_CPPFLAGS=
|
|
PROFILE_CFLAGS=-pg
|
|
PROFILE_CPPFLAGS=
|
|
;;
|
|
*)
|
|
CFLAGS="$CFLAGS -fullwarn -prototypes -woff 799"
|
|
DEBUG_CFLAGS=-g
|
|
DEBUG_CPPFLAGS=
|
|
PROD_CFLAGS=-O
|
|
PROD_CPPFLAGS=
|
|
PROFILE_CFLAGS=-pg
|
|
PROFILE_CPPFLAGS=
|
|
;;
|
|
esac
|
|
|