summaryrefslogtreecommitdiffstats
path: root/config/powerpc-apple
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-10-09 02:39:07 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-10-09 02:39:07 (GMT)
commit951d6d826aed5b2fa0440b5341f82a0492c795c0 (patch)
tree0842475ab064f37bf3d37cf953831fdb8ac25a27 /config/powerpc-apple
parentbf4f24a4974915f29a93f6b7200c43b968ec36e2 (diff)
downloadhdf5-951d6d826aed5b2fa0440b5341f82a0492c795c0.zip
hdf5-951d6d826aed5b2fa0440b5341f82a0492c795c0.tar.gz
hdf5-951d6d826aed5b2fa0440b5341f82a0492c795c0.tar.bz2
[svn-r9385] *** empty log message ***
Diffstat (limited to 'config/powerpc-apple')
-rw-r--r--config/powerpc-apple67
1 files changed, 28 insertions, 39 deletions
diff --git a/config/powerpc-apple b/config/powerpc-apple
index 2e49cfc..470a724 100644
--- a/config/powerpc-apple
+++ b/config/powerpc-apple
@@ -11,22 +11,18 @@ if test "X-" = "X-$CC"; then
CC_BASENAME=gcc
fi
-# Architecture-specific flags
-ARCH=
-
-
-# Omit frame pointer for optimized code?
-NOFP=${NOFP:=-fomit-frame-pointer}
-
# Figure out compiler flags
. $srcdir/config/gnu-flags
- if test "X-$F9X" = "X-f95"; then
- CFLAGS="$CFLAGS -DH5_ABSOFT"
- fi
-
-
# The default Fortran 90 compiler
+if test "X-" = "X-$F9X"; then
+ # Assume Absoft compiler
+ F9X=xlf
+ F9X_BASENAME=xlf
+ else
+ F9X_BASENAME=f95
+
+fi
#
# HDF5 integers
@@ -44,37 +40,30 @@ HID_T='SELECTED_INT_KIND(R_INTEGER)'
SIZE_T='SELECTED_INT_KIND(R_INTEGER)'
OBJECT_NAMELEN_DEFAULT_F=-1
-if test "X-" = "X-$F9X"; then
- F9X=xlf
- F9X_BASENAME=xlf
- else
- F9X_BASENAME=f95
-
-fi
-
case $F9X_BASENAME in
xlf)
- F9XSUFFIXFLAG="-qsuffix=f=f90 -qfree=f90"
- FFLAGS="$FFLAGS -static -O ${F9XSUFFIXFLAG} -qmoddir=./ "
- FSEARCH_DIRS="-I./ -I../src"
- DEBUG_FFLAGS="-O"
- PROD_FFLAGS="-O"
- PROFILE_FFLAGS="-O"
- f9x_flags_set=yes
- ;;
-#
-# Assume Absoft compiler
-#
+ F9XSUFFIXFLAG="-qsuffix=f=f90 -qfree=f90"
+ FFLAGS="$FFLAGS -static -O ${F9XSUFFIXFLAG} -qmoddir=./ "
+ FSEARCH_DIRS="-I./ -I../src"
+ DEBUG_FFLAGS="-g"
+ PROD_FFLAGS="-O"
+ PROFILE_FFLAGS="-g"
+ f9x_flags_set=yes
+ ;;
+
f95)
- F9XSUFFIXFLAG=""
+ # Set required flag for compiling C stubs
+ CFLAGS="$CFLAGS -DH5_ABSOFT"
+
+ F9XSUFFIXFLAG=""
# We force compiler to use upper case for external names
# (just in case since this should be a default EIP)
- FFLAGS="$FFLAGS -YEXT_NAMES=UCS"
- FSEARCH_DIRS=""
- DEBUG_FFLAGS="-O"
- PROD_FFLAGS="-O"
- PROFILE_FFLAGS="-O"
- f9x_flags_set=yes
- ;;
+ FFLAGS="$FFLAGS -YEXT_NAMES=UCS"
+ FSEARCH_DIRS=""
+ DEBUG_FFLAGS="-g"
+ PROD_FFLAGS="-O"
+ PROFILE_FFLAGS="-g -pg"
+ f9x_flags_set=yes
+ ;;
esac