forked from CEMPD/filesetapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sysflags
executable file
·66 lines (61 loc) · 1.94 KB
/
sysflags
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#/bin/csh -fx
# @(#)$Header$
# Determine operating system for compiling SMOKE
# source $SMK_HOME/scripts/platform
if ( $status != 0 ) then
exit( $status )
endif
# Make directories for library, object files, and executables
setenv FS_BIN "$FS_ROOT/$SMOKE_EXE"
if( ! -e $FS_BIN ) mkdir -p $FS_BIN
switch ( $SMOKE_EXE )
case IRIXn32f90:
case IRIX6f90:
case IRIXn64f90:
setenv FFLAGS "$FFLAG -I${IOINC} -I${FS_BIN}"
setenv DBGFLAGS "$DBGFLAG -I${IOINC} -I${FS_BIN}"
setenv LDIRS "-L${FS_BIN}"
breaksw
case SunOS5f90:
# NOTE: -Bstatic caused problems with ENVYN (perhaps because not
# using I/O API compiled with f90 ?)
setenv FFLAGS "$FFLAG -I${IOINC} -M${FS_BIN}"
setenv DBGFLAGS "$DBGFLAG -I${IOINC} -M${FS_BIN}"
setenv LDIRS "-L${FS_BIN}"
breaksw
case HP_UX11f90:
setenv FFLAGS "$FFLAG -I${IOINC} -I${FS_BIN}"
setenv DBGFLAGS "$DBGFLAG -I${IOINC} -I${FS_BIN}"
setenv LDIRS "+U77 -Wl,-L,${FS_BIN}"
breaksw
case AIX4n64f90:
case AIX5f90:
case AIX4f90:
setenv FFLAGS "$FFLAG -I${IOINC} -I${FS_BIN}"
setenv DBGFLAGS "$DBGFLAG -I${IOINC} -I${FS_BIN}"
setenv LDIRS "-L${FS_BIN} -lxlsmp"
breaksw
case Linux2_alpha:
setenv FFLAGS "$FFLAG -I${IOINC} -I${FS_BIN}"
setenv DBGFLAGS "$DBGFLAG -I${IOINC} -I${FS_BIN}"
setenv LDIRS "-L${FS_BIN}"
breaksw
case Linux2_x86ifc:
setenv FFLAGS "$FFLAG -I${IOINC} -I${FS_BIN}"
setenv DBGFLAGS "$DBGFLAG -I${IOINC} -I${FS_BIN}"
setenv LDIRS "-L${FS_BIN}"
breaksw
case Linux2_x86_64ifort:
setenv FFLAGS "$FFLAG -I${IOINC} -I${FS_BIN}"
setenv DBGFLAGS "$DBGFLAG -I${IOINC} -I${FS_BIN}"
setenv LDIRS "-L${FS_BIN}"
breaksw
case Linux2_x86_64pg:
setenv FFLAGS "$FFLAG -I${IOINC} -I${FS_BIN}"
setenv DBGFLAGS "$DBGFLAG -I${IOINC} -I${FS_BIN}"
setenv LDIRS "-L${FS_BIN}"
breaksw
default:
echo "Do not know about executable format " $SMOKE_EXE
exit( 2 )
endsw