Repository navigation
Expand file tree
/
Copy pathrap_make.SUNOS5_64
More file actions
111 lines (93 loc) · 1.94 KB
/
Copy pathrap_make.SUNOS5_64
File metadata and controls
111 lines (93 loc) · 1.94 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
# *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
# ** 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 =
SYS_INCLUDES = -I/usr/openwin/include
SYS_CPPC_INCLUDES = -I/usr/openwin/include
#
# 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 = -Wall -D$(HOST_OS) -DSYSV
SYS_CPPC_CFLAGS = -Wall -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=
#
# link
#
SYS_LIBS = -lnsl -lsocket
SYS_LDFLAGS =
SYS_X_LDFLAGS = -L/usr/openwin/lib
SYS_MOTIF_FLAGS =
LEX_LIB = -ll
YACC_LIB = -ly
SYS_UCB_LIBS =
SYS_UCB_LDFLAGS =
#
# Archiving libs
#
AR = ar
ARFLAGS = rv
RANLIB = na
HAVE_RANLIB=FALSE
#
# purify
#
PURE = pure
SYS_PURE_FLAGS =