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