9 |
# |
# |
10 |
|
|
11 |
FC=g77 |
FC=g77 |
12 |
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4' |
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4 -DNML_EXTENDED_F77' |
13 |
CPP='cpp -traditional -P' |
CPP='cpp -traditional -P' |
14 |
NOOPTFLAGS='-O0' |
NOOPTFLAGS='-O0' |
15 |
EXTENDED_SRC_FLAG='-ffixed-line-length-132' |
EXTENDED_SRC_FLAG='-ffixed-line-length-132' |
16 |
#MAKEDEPEND=/usr/X11R6/bin/gccmakedep |
GET_FC_VERSION="--version" |
17 |
#MAKEDEPEND=/usr/X11R6/bin/makedepend |
|
18 |
# For IEEE, use the "-ffloat-store" option |
# For IEEE, use the "-ffloat-store" option |
19 |
if test "x$IEEE" = x ; then |
if test "x$IEEE" = x ; then |
20 |
FFLAGS='-Wimplicit -Wunused -Wuninitialized' |
FFLAGS='-Wimplicit -Wunused -Wuninitialized' |
24 |
# FFLAGS="$FFLAGS -g -mfpmath=sse -msse -msse2 -fbounds-check" |
# FFLAGS="$FFLAGS -g -mfpmath=sse -msse -msse2 -fbounds-check" |
25 |
FOPTIM='-O0' |
FOPTIM='-O0' |
26 |
fi |
fi |
27 |
|
# for big objects: |
28 |
|
FFLAGS="$FFLAGS -fPIC" |
29 |
|
CFLAGS="-O0 -fPIC" |
30 |
|
|
31 |
if test -d /usr/include/netcdf-3 ; then |
if test -d /usr/include/netcdf-3 ; then |
32 |
#-- some FedoraCore standard location used to be "netcdf-3" |
#-- some FedoraCore standard location used to be "netcdf-3" |