1 |
#!/bin/bash |
2 |
|
3 |
# $Header: /u/u3/gcmpack/MITgcm/tools/build_options/darwin_absoft_f77,v 1.1 2003/09/24 12:03:36 edhill Exp $ |
4 |
# |
5 |
# tested on G4-PowerBook, 1GHz |
6 |
# uname -mrsvp: |
7 |
# Darwin 6.6 Darwin Kernel Version 6.6: Thu May 1 21:48:54 PDT 2003; |
8 |
# root:xnu/xnu-344.34.obj~1/RELEASE_PPC Power Macintosh powerpc |
9 |
# cc-compiler is available only with the Apple Developer Tools, |
10 |
# so make sure that those are installed |
11 |
# |
12 |
|
13 |
CPP='/usr/bin/cpp -traditional -P' |
14 |
FC='/Applications/Absoft/bin/f77' |
15 |
LINK='/Applications/Absoft/bin/f77' |
16 |
# -w: allow long source lines (up to 132 columns) |
17 |
# -W: suppress all warning messages |
18 |
# -N113: promotes real to 64bit, and complex to 128bit |
19 |
# -N109: folds everything into UPPER case |
20 |
# -f: folds everything into lower case |
21 |
# -N3: inlcude record length information for squential unformatted files |
22 |
# -N15: append trailing underscores to procedure names |
23 |
# -q: quiet mode |
24 |
# -O: standard set of optimizations |
25 |
# -U: standard level of loop-unrolling (slows down compilation considerably) |
26 |
FFLAGS='-w -W -f -N15 -N113 -q' |
27 |
FOPTIM='-O -U' |
28 |
NOOPTFLAGS= |
29 |
LIBS='-L/Applications/Absoft/lib -lU77' |
30 |
|
31 |
S64='$(TOOLSDIR)/set64bitConst.sh' |
32 |
#MAKEDEPEND='${TOOLSDIR}/xmakedepend' |
33 |
MAKEDEPEND='makedepend' |
34 |
DEFINES='-DWORDLENGTH=4' |