Repository navigation
Expand file tree
/
Copy pathrap_make.SUNOS4
More file actions
167 lines (136 loc) · 3.21 KB
/
Copy pathrap_make.SUNOS4
File metadata and controls
167 lines (136 loc) · 3.21 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
# ** Copyright UCAR (c) 1992 - 2010
# ** University Corporation for Atmospheric Research(UCAR)
# ** National Center for Atmospheric Research(NCAR)
# ** Research Applications Laboratory(RAL)
# ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
# ** 2010/10/7 16:53:3
# *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
###########################################################
#
# Macros for SUNOS4 machines
#
# Mike Dixon
#
# RAP,NCAR,Boulder,Colorado,80307,USA
#
# Nov 1994
#
############################################################
#
# system utilities
#
SHELL = /bin/sh
RM = /bin/rm -f
MV = /bin/mv -f
CP = /bin/cp
CP_DIR = /bin/cp -r
MKDIR = /bin/mkdir -p
TEST = /bin/test
PERL = /usr/bin/perl
OPENWINHOME = /usr/openwin
#
# includes
#
SYS_X_INCLUDES = -I/usr/local/X11R6/include
SYS_XVIEW_INCLUDES =
#
# LD_LIBRARY_PATH
#
SYS_LD_LIBRARY_PATH =
#
# lint
#
LINT = alint
LINTFILTER = $(RAP_MAKE_BIN_DIR)/lint_filter.$(HOST_OS)
SYS_LINTFLAGS = -aux -DLINT -D$(HOST_OS)
#
# compile
#
# gcc
CC =gcc
SYS_CFLAGS = -ansi $(GCC_WARNINGS) -D$(HOST_OS) -DBSD
SYS_INCLUDES = -I/usr/local/lib/gcc-include
PROF_LDFLAGS = -static
PROF_LIBS =
CC_PURE_COLLECTOR =
SYS_CPPC_INCLUDES =
CPPC = g++
SYS_CPPC_CFLAGS = -Wall -D$(HOST_OS)
CPPC_PURE_COLLECTOR = -collector=/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.7.2/ld
#acc
#SYS_CFLAGS = -Xa -D$(HOST_OS)
#CC = acc
#SYS_INCLUDES =
#PROF_LDFLAGS = -Bstatic
#PROF_LIBS =
ACC = acc
DEBUG_FLAG = -g
OPT_FLAG = -O
PROFILE_FLAG = -pg
# Compile -- special for C <-> FORTRAN
# The "NATIVE" compilers need to be either both GNU or both
# non-GNU for these compiles to work. If you use GNU, then
# the USE_GNU_F2C must be set to "-DUSE_GNU_F2C" (no quotes).
NATIVE_CC = acc
NATIVE_FC = /tools/Solaris_1/lang/f77
NATIVE_LIB_DIR = /tools/Solaris_1/lang/lib
F_TO_C_LIBS = -lF77 -lM77 -lV77
USE_GNU_F2C=
#fortran
FC = /tools/Solaris_1/lang/SC3.0.1/bin/f77
#
# link
#
SYS_LIBS = -lansi
SYS_CPPC_LIBS =
SYS_X_LIBS = -lXext -lXm -lXpm -lXt -lX11 -lICE -lSM
SYS_LDFLAGS = -L/tools/Solaris_1/lang/lib
SYS_CPPC_LDFLAGS = -L/tools/lang/SC1.0
SYS_X_LDFLAGS = -L/usr/local/X11R6/lib
SYS_F_LDFLAGS = -L/tools/lang/lib
SYS_MOTIF_LDFLAGS = -L/usr/local/motif/sun4.sunos.4.1.1/lib/Xm -L/usr/local/motif/sun4.sunos.4.1.1/lib/Mrm
SYS_XVIEW_LDFLAGS =
SYS_UCB_LIBS =
SYS_UCB_LDFLAGS =
# INSURE_LDFLAGS = -L/tools/insure/lib.sun4
# INSURE_LIBS = -linsight -linslib -ltqsiicgcc -lm
#
# Expect/TCL stuff
#
EXPECT_INCLUDES = -I/usr/include/tcl
EXPECT_LIBS = -lexpect -ltcl -ldl
#
# Archiving libs
#
AR = ar
ARFLAGS = rv
RANLIB = /bin/ranlib
HAVE_RANLIB=TRUE
#
# yacc and lex
#
YACC = yacc
LEX = lex
LEX_LIB = -ll
YACC_LIB = -ly
#
# purify
#
PURE = pure
SYS_PURE_FLAGS =
# NCAR Graphics
# NCG_INC_DIR defines location of NCAR Graphics include files
# NCG_LIB_DIR defines location of NCAR Graphics libraries
# NCAR_CC defines name of script to do NCAR Graphics links
NCG_INC_DIR=-I/tools/ncarg/include
NCG_LIB_DIR=-L/tools/ncarg/lib
NCAR_CC=ncargcc
#
# MATLAB stuff
#
MATLAB = /tools/matlab
MATLAB_INCLUDES = -I/tools/matlab/extern/include
MATLAB_LDFLAGS = -L/tools/matlab/extern/lib/sun4
MATLAB_LD_LIBRARY_PATH = /tools/matlab/extern/lib/sun4
MATLAB_LIBS = -lmat -lmx