Repository navigation
Expand file tree
/
Copy pathrap_make.SUNOS5_INTEL
More file actions
158 lines (130 loc) · 3.09 KB
/
Copy pathrap_make.SUNOS5_INTEL
File metadata and controls
158 lines (130 loc) · 3.09 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
# *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
# ** 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 SUNOS5 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 = /usr/ucb/test
PERL = /usr/bin/perl
PWD = pwd
DATE = date -u
#
# includes
#
SYS_X_INCLUDES = -I/usr/openwin/include -I/usr/dt/share/include
SYS_XVIEW_INCLUDES =
SYS_INCLUDES =
SYS_CPPC_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
#
SYS_CFLAGS = -D$(HOST_OS) -DSYSV -DSVR4
SYS_CPPC_CFLAGS = -D$(HOST_OS)
# CC = /tools/Solaris_2.1/SUNWspro/bin/cc
CC = gcc
#CPPC = /tools/Solaris_2.1/SUNWspro/bin/CC
CPPC = g++
ACC = $(CC)
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 = cc
NATIVE_FC = f77
NATIVE_LIB_DIR = /tools/Solaris_2/SUNWspro/lib
F_TO_C_LIBS = -lF77 -lM77 -lV77
USE_GNU_F2C=
F90C = f90
#
# link
#
SYS_LIBS = -lnsl -lsocket
SYS_LDFLAGS =
SYS_X_LDFLAGS = -L/usr/openwin/lib -L/usr/dt/lib
SYS_X_LIBS = -lXext -lXm -lXt -lX11
SYS_MOTIF_LDFLAGS = -L/usrl/local/SUNWmotif/lib
SYS_MOTIF_LIBS = -lXm -lXext
SYS_UCB_LIBS = -lucb
SYS_UCB_LDFLAGS = -L/usr/ucblib
#
# Archiving libs
#
AR = ar
ARFLAGS = rv
RANLIB = na
HAVE_RANLIB=FALSE
#
# yacc and lex
#
YACC = yacc
LEX = lex
LEX_LIB = -ll
YACC_LIB = -ly
#
# purify
#
PURE = purify
SYS_PURE_FLAGS = -best-effort
#
# quantify
#
QUANT = purify
SYS_QUANT_FLAGS = -best-effort
# 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=/tools/ncarg/bin/ncargcc
# netCDF
# NETCDF_INCS defines location of netCDF include files
# NETCDF_LDFLAGS defines location of netCDF libraries
NETCDF_INCS=-I/usr/local/netcdf/include
NETCDF_LDFLAGS=-L/usr/local/netcdf/lib
NETCDF_C_LIB=-lnetcdf
NETCDF_C++_LIB=-lnetcdf_c++
NETCDF_FF_LIB=-lnetcdff
NETCDF_C_AND_C++_LIBS=-lnetcdf -lnetcdf_c++
NETCDF4_LIBS=-lnetcdf_c++ -lnetcdf -lhdf5_hl -lhdf5 -lz -ludunits2
#
# Java
#
JAVAC = javac
SYS_JAVA_FLAGS =
SYS_JAVA_CLASSPATH = /tools/JDK/bin/../classes:/tools/JDK/bin/../lib/classes.jar:/tools/JDK/bin/../lib/rt.jar:/tools/JDK/bin/../lib/i18n.jar:/tools/JDK/bin/../lib/classes.zip