2
|
1 |
#
|
|
2 |
# CDDL HEADER START
|
|
3 |
#
|
|
4 |
# The contents of this file are subject to the terms of the
|
|
5 |
# Common Development and Distribution License (the "License").
|
|
6 |
# You may not use this file except in compliance with the License.
|
|
7 |
#
|
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
|
9 |
# or http://www.opensolaris.org/os/licensing.
|
|
10 |
# See the License for the specific language governing permissions
|
|
11 |
# and limitations under the License.
|
|
12 |
#
|
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each
|
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
|
15 |
# If applicable, add the following below this CDDL HEADER, with the
|
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying
|
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner]
|
|
18 |
#
|
|
19 |
# CDDL HEADER END
|
|
20 |
#
|
|
21 |
# Copyright (c) 2010, Oracle and/or it's affiliates. All rights reserved.
|
|
22 |
#
|
|
23 |
|
|
24 |
CONSOLIDATION = userland
|
|
25 |
PUBLISHER = $(CONSOLIDATION)-build
|
|
26 |
BUILD_VERSION = 5.11-0.140
|
|
27 |
|
|
28 |
COMPILER = studio
|
|
29 |
PYTHON_VERSION = 2.6
|
|
30 |
|
|
31 |
TOOLS = $(WS_TOP)/tools
|
|
32 |
WS_LOGS = $(WS_TOP)/logs
|
|
33 |
MAKE_RULES = $(WS_TOP)/components/make-rules
|
|
34 |
|
|
35 |
PKG_REPO = file://$(WS_TOP)/repo
|
|
36 |
PROTO_DIR = $(shell pwd)/$(COMPONENT_SRC)/installed-prototype
|
|
37 |
|
|
38 |
MACH64 = $(shell isainfo -k)
|
|
39 |
|
|
40 |
SPRO_ROOT = /opt/sunstudio12.1
|
|
41 |
GCC_ROOT = /usr/gnu
|
|
42 |
|
|
43 |
CC.studio.32 = $(SPRO_ROOT)/bin/cc -m32
|
|
44 |
CCC.studio.32 = $(SPRO_ROOT)/bin/CC -m32
|
|
45 |
|
|
46 |
CC.studio.64 = $(SPRO_ROOT)/bin/cc -m64
|
|
47 |
CCC.studio.64 = $(SPRO_ROOT)/bin/CC -m64
|
|
48 |
|
|
49 |
CC.gcc.32 = $(GCC_ROOT)/bin/cc -m32
|
|
50 |
CCC.gcc.32 = $(GCC_ROOT)/bin/CC -m32
|
|
51 |
|
|
52 |
CC.gcc.64 = $(GCC_ROOT)/bin/cc -m64
|
|
53 |
CCC.gcc.64 = $(GCC_ROOT)/bin/CC -m64
|
|
54 |
|
|
55 |
CC = $(CC.$(COMPILER).$(BITS))
|
|
56 |
CCC = $(CCC.$(COMPILER).$(BITS))
|
|
57 |
|
|
58 |
PYTHON.2.4.32 = /usr/bin/python2.4
|
|
59 |
PYTHON.2.4.64 = /usr/bin/amd64/python2.4
|
|
60 |
|
|
61 |
PYTHON.2.6.32 = /usr/bin/python2.6
|
|
62 |
PYTHON.2.6.64 = /usr/bin/amd64/python2.6
|
|
63 |
|
|
64 |
PYTHON.32 = $(PYTHON.$(PYTHON_VERSION).$(BITS))
|
|
65 |
PYTHON.64 = $(PYTHON.$(PYTHON_VERSION).$(BITS))
|
|
66 |
|
|
67 |
GMAKE = /usr/gnu/bin/make
|
|
68 |
GPATCH = /usr/gnu/bin/patch
|
|
69 |
GPATCH_FLAGS = -p1 -b
|
|
70 |
|
|
71 |
PKGSEND = /usr/bin/pkgsend
|
|
72 |
|
|
73 |
TOUCH = /usr/bin/touch
|
|
74 |
MKDIR = /bin/mkdir -p
|
|
75 |
RM = /bin/rm -f
|