author | Brian Utterback <Brian.Utterback@Oracle.COM> |
Fri, 08 Apr 2011 05:28:01 -0700 | |
changeset 172 | 093198acf7d4 |
parent 170 | 14cadb780400 |
child 176 | 11a04b640bf2 |
permissions | -rw-r--r-- |
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 |
# |
|
58
d8024c042a00
7011369 gmake complains about fresh userland bits
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
53
diff
changeset
|
21 |
# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. |
2 | 22 |
# |
23 |
||
32
280a7444e782
automatically generate intercomponent dependencies for build ordering
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
31
diff
changeset
|
24 |
PATH=/usr/bin:/usr/gnu/bin |
280a7444e782
automatically generate intercomponent dependencies for build ordering
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
31
diff
changeset
|
25 |
|
127
3e3c266b3a81
7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
120
diff
changeset
|
26 |
# Default to looking for source archives on the internal mirror before we |
3e3c266b3a81
7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
120
diff
changeset
|
27 |
# hammer on the external repositories. |
145
1e2390f5555e
7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
142
diff
changeset
|
28 |
export DOWNLOAD_SEARCH_PATH += http://userland.us.oracle.com/source-archives/ |
127
3e3c266b3a81
7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
120
diff
changeset
|
29 |
|
3e3c266b3a81
7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
120
diff
changeset
|
30 |
# The workspace starts at the mercurial root |
3e3c266b3a81
7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
120
diff
changeset
|
31 |
export WS_TOP ?= $(shell hg root) |
3e3c266b3a81
7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
120
diff
changeset
|
32 |
|
2 | 33 |
CONSOLIDATION = userland |
145
1e2390f5555e
7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
142
diff
changeset
|
34 |
PUBLISHER ?= $(CONSOLIDATION) |
26
8a9f4e791832
packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
16
diff
changeset
|
35 |
|
38
cd00ea74156e
package audits should pass pkglint
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
34
diff
changeset
|
36 |
ROOT = / |
cd00ea74156e
package audits should pass pkglint
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
34
diff
changeset
|
37 |
|
29
eb4177698749
Generate the build number from the most recent mercurial tag
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
26
diff
changeset
|
38 |
# get the most recent build number from the last mercurial tag |
93
b579c7b1bb44
7016731 move zsh from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
85
diff
changeset
|
39 |
LAST_HG_TAG = $(shell hg tags -q | grep build- | head -1) |
29
eb4177698749
Generate the build number from the most recent mercurial tag
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
26
diff
changeset
|
40 |
LAST_BUILD_NUM = $(LAST_HG_TAG:build-%=%) |
eb4177698749
Generate the build number from the most recent mercurial tag
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
26
diff
changeset
|
41 |
|
26
8a9f4e791832
packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
16
diff
changeset
|
42 |
OS_VERSION = $(shell uname -r) |
8a9f4e791832
packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
16
diff
changeset
|
43 |
SOLARIS_VERSION = $(OS_VERSION:5.%=2.%) |
29
eb4177698749
Generate the build number from the most recent mercurial tag
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
26
diff
changeset
|
44 |
BUILD_NUM = 0.$(shell expr $(LAST_BUILD_NUM) + 1) |
26
8a9f4e791832
packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
16
diff
changeset
|
45 |
BUILD_VERSION = $(OS_VERSION)-$(BUILD_NUM) |
2 | 46 |
|
38
cd00ea74156e
package audits should pass pkglint
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
34
diff
changeset
|
47 |
|
2 | 48 |
COMPILER = studio |
6
20f80c019d73
add compiler date/time chatter reduction tools
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2
diff
changeset
|
49 |
BITS = 32 |
2 | 50 |
PYTHON_VERSION = 2.6 |
58
d8024c042a00
7011369 gmake complains about fresh userland bits
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
53
diff
changeset
|
51 |
PYTHON_VERSIONS = 2.6 |
2 | 52 |
|
145
1e2390f5555e
7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
142
diff
changeset
|
53 |
WS_LOGS = $(WS_TOP)/$(MACH)/logs |
1e2390f5555e
7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
142
diff
changeset
|
54 |
WS_REPO = $(WS_TOP)/$(MACH)/repo |
34
d20b10eba317
prepare for zone based component builds
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
32
diff
changeset
|
55 |
WS_TOOLS = $(WS_TOP)/tools |
d20b10eba317
prepare for zone based component builds
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
32
diff
changeset
|
56 |
WS_MAKE_RULES = $(WS_TOP)/make-rules |
d20b10eba317
prepare for zone based component builds
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
32
diff
changeset
|
57 |
WS_COMPONENTS = $(WS_TOP)/components |
49 | 58 |
WS_INCORPORATIONS = $(WS_TOP)/incorporations |
145
1e2390f5555e
7020836 revert workaround in 7014413 now that pkglint doesn't complain
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
142
diff
changeset
|
59 |
WS_LINT_CACHE = $(WS_TOP)/$(MACH)/pkglint-cache |
2 | 60 |
|
34
d20b10eba317
prepare for zone based component builds
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
32
diff
changeset
|
61 |
BASS_O_MATIC = $(WS_TOOLS)/bass-o-matic |
d20b10eba317
prepare for zone based component builds
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
32
diff
changeset
|
62 |
|
94
e2364cad23ff
7019782 move tcsh to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
93
diff
changeset
|
63 |
CLONEY = $(WS_TOOLS)/cloney |
e2364cad23ff
7019782 move tcsh to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
93
diff
changeset
|
64 |
|
156
c2445b73a8b2
6949695 Would like to have perl 5.12 (use CONFIG_SHELL)
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
152
diff
changeset
|
65 |
CONFIG_SHELL = /bin/bash |
c2445b73a8b2
6949695 Would like to have perl 5.12 (use CONFIG_SHELL)
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
152
diff
changeset
|
66 |
|
166
db8a55996482
6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
165
diff
changeset
|
67 |
MAN_STABILITY = $(WS_TOOLS)/man-stability |
db8a55996482
6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
165
diff
changeset
|
68 |
|
34
d20b10eba317
prepare for zone based component builds
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
32
diff
changeset
|
69 |
PKG_REPO = file:$(WS_REPO) |
59
7500d63edb42
7012375 userland build and proto areas should be outside of unpacked source dirs
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
58
diff
changeset
|
70 |
|
72
4c33a310f793
7015633 move gtar to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
70
diff
changeset
|
71 |
COMPONENT_DIR = $(shell pwd) |
4c33a310f793
7015633 move gtar to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
70
diff
changeset
|
72 |
SOURCE_DIR = $(COMPONENT_DIR)/$(COMPONENT_SRC) |
4c33a310f793
7015633 move gtar to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
70
diff
changeset
|
73 |
BUILD_DIR = $(COMPONENT_DIR)/build |
59
7500d63edb42
7012375 userland build and proto areas should be outside of unpacked source dirs
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
58
diff
changeset
|
74 |
PROTO_DIR = $(BUILD_DIR)/prototype/$(MACH) |
2 | 75 |
|
85
8098282b503b
7018226 move GNU screen to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
82
diff
changeset
|
76 |
ETCDIR = /etc |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
77 |
USRDIR = /usr |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
78 |
BINDIR = /bin |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
79 |
LIBDIR = /lib |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
80 |
USRBINDIR = $(USRDIR)/bin |
172
093198acf7d4
7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents:
170
diff
changeset
|
81 |
USRSBINDIR = $(USRDIR)/sbin |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
82 |
USRLIBDIR = $(USRDIR)/lib |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
83 |
USRSHAREDIR = $(USRDIR)/share |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
84 |
USRSHAREMANDIR = $(USRSHAREDIR)/man |
172
093198acf7d4
7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents:
170
diff
changeset
|
85 |
USRSHAREDOCDIR = $(USRSHAREDIR)/doc |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
86 |
USRSHAREMAN1DIR = $(USRSHAREMANDIR)/man1 |
172
093198acf7d4
7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents:
170
diff
changeset
|
87 |
USRSHAREMAN1MDIR = $(USRSHAREMANDIR)/man1m |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
88 |
USRSHAREMAN3DIR = $(USRSHAREMANDIR)/man3 |
152
f0ba422362c2
7030869 move git from sfw consolidation to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
151
diff
changeset
|
89 |
USRSHAREMAN4DIR = $(USRSHAREMANDIR)/man4 |
74
7e35801ce8b8
7016379 migrate elinks to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
72
diff
changeset
|
90 |
USRSHAREMAN5DIR = $(USRSHAREMANDIR)/man5 |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
91 |
USRLIBDIR64 = $(USRDIR)/lib/$(MACH64) |
85
8098282b503b
7018226 move GNU screen to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
82
diff
changeset
|
92 |
PROTOETCDIR = $(PROTO_DIR)/$(ETCDIR) |
172
093198acf7d4
7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents:
170
diff
changeset
|
93 |
PROTOETCSECDIR = $(PROTO_DIR)/$(ETCDIR)/security |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
94 |
PROTOUSRDIR = $(PROTO_DIR)/$(USRDIR) |
172
093198acf7d4
7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents:
170
diff
changeset
|
95 |
PROTOLIBDIR = $(PROTO_DIR)/$(LIBDIR) |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
96 |
PROTOUSRBINDIR = $(PROTO_DIR)/$(USRBINDIR) |
172
093198acf7d4
7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents:
170
diff
changeset
|
97 |
PROTOUSRSBINDIR = $(PROTO_DIR)/$(USRSBINDIR) |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
98 |
PROTOUSRLIBDIR = $(PROTO_DIR)/$(USRLIBDIR) |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
99 |
PROTOUSRLIBDIR64 = $(PROTO_DIR)/$(USRLIBDIR64) |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
100 |
PROTOUSRSHAREDIR = $(PROTO_DIR)/$(USRSHAREDIR) |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
101 |
PROTOUSRSHAREMANDIR = $(PROTO_DIR)/$(USRSHAREMANDIR) |
172
093198acf7d4
7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents:
170
diff
changeset
|
102 |
PROTOUSRSHAREDOCDIR = $(PROTO_DIR)/$(USRSHAREDOCDIR) |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
103 |
PROTOUSRSHAREMAN1DIR = $(PROTO_DIR)/$(USRSHAREMAN1DIR) |
172
093198acf7d4
7018272 Move NTP to userland
Brian Utterback <Brian.Utterback@Oracle.COM>
parents:
170
diff
changeset
|
104 |
PROTOUSRSHAREMAN1MDIR = $(PROTO_DIR)/$(USRSHAREMAN1MDIR) |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
105 |
PROTOUSRSHAREMAN3DIR = $(PROTO_DIR)/$(USRSHAREMAN3DIR) |
152
f0ba422362c2
7030869 move git from sfw consolidation to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
151
diff
changeset
|
106 |
PROTOUSRSHAREMAN4DIR = $(PROTO_DIR)/$(USRSHAREMAN4DIR) |
f0ba422362c2
7030869 move git from sfw consolidation to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
151
diff
changeset
|
107 |
PROTOUSRSHAREMAN5DIR = $(PROTO_DIR)/$(USRSHAREMAN5DIR) |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
108 |
|
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
109 |
|
43
9f5ebe30300c
switch to CBE sunstudio12.1 compilers
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
40
diff
changeset
|
110 |
SFWBIN = /usr/sfw/bin |
9f5ebe30300c
switch to CBE sunstudio12.1 compilers
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
40
diff
changeset
|
111 |
SFWLIB = /usr/sfw/lib |
120
ef1efc113f13
7021528 move bison/gsed to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
116
diff
changeset
|
112 |
SFWLIB64 = /usr/sfw/lib/$(MACH64) |
64
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
113 |
SFWSHARE = /usr/sfw/share |
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
114 |
SFWSHAREMAN = /usr/sfw/share/man |
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
115 |
SFWSHAREMAN1 = /usr/sfw/share/man/man1 |
43
9f5ebe30300c
switch to CBE sunstudio12.1 compilers
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
40
diff
changeset
|
116 |
PROTOSFWBIN = $(PROTO_DIR)/$(SFWBIN) |
9f5ebe30300c
switch to CBE sunstudio12.1 compilers
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
40
diff
changeset
|
117 |
PROTOSFWLIB = $(PROTO_DIR)/$(SFWLIB) |
120
ef1efc113f13
7021528 move bison/gsed to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
116
diff
changeset
|
118 |
PROTOSFWLIB64 = $(PROTO_DIR)/$(SFWLIB64) |
64
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
119 |
PROTOSFWSHARE = $(PROTO_DIR)/$(SFWSHARE) |
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
120 |
PROTOSFWSHAREMAN = $(PROTO_DIR)/$(SFWSHAREMAN) |
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
121 |
PROTOSFWSHAREMAN1 = $(PROTO_DIR)/$(SFWSHAREMAN1) |
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
122 |
|
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
123 |
GNUBIN = /usr/gnu/bin |
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
124 |
GNUSHARE = /usr/gnu/share |
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
125 |
GNUSHAREMAN = /usr/gnu/share/man |
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
126 |
GNUSHAREMAN1 = /usr/gnu/share/man/man1 |
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
127 |
PROTOGNUBIN = $(PROTO_DIR)/$(GNUBIN) |
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
128 |
PROTOGNUSHARE = $(PROTO_DIR)/$(GNUSHARE) |
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
129 |
PROTOGNUSHAREMAN = $(PROTO_DIR)/$(GNUSHAREMAN) |
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
130 |
PROTOGNUSHAREMAN1 = $(PROTO_DIR)/$(GNUSHAREMAN1) |
43
9f5ebe30300c
switch to CBE sunstudio12.1 compilers
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
40
diff
changeset
|
131 |
|
16
33aaaec59991
update _DATE/_TIME compiler chatter reduction bits.
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
12
diff
changeset
|
132 |
# work around _TIME, _DATE, embedded date chatter in component builds |
33aaaec59991
update _DATE/_TIME compiler chatter reduction bits.
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
12
diff
changeset
|
133 |
# to use, set TIME_CONSTANT in the component Makefile and add $(CONSTANT_TIME) |
33aaaec59991
update _DATE/_TIME compiler chatter reduction bits.
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
12
diff
changeset
|
134 |
# to the appropriate {CONFIGURE|BUILD|INSTALL}_ENV |
34
d20b10eba317
prepare for zone based component builds
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
32
diff
changeset
|
135 |
CONSTANT_TIME = LD_PRELOAD_32=$(WS_TOOLS)/time-$(MACH32).so |
d20b10eba317
prepare for zone based component builds
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
32
diff
changeset
|
136 |
CONSTANT_TIME += LD_PRELOAD_64=$(WS_TOOLS)/time-$(MACH64).so |
16
33aaaec59991
update _DATE/_TIME compiler chatter reduction bits.
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
12
diff
changeset
|
137 |
CONSTANT_TIME += TIME_CONSTANT=$(TIME_CONSTANT) |
6
20f80c019d73
add compiler date/time chatter reduction tools
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2
diff
changeset
|
138 |
|
12
41aeb1fd8c2d
Fix MACH32/MACH64 so more than one architecture can build in the same workspace
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
7
diff
changeset
|
139 |
# set MACH from uname -p to either sparc or i386 |
41aeb1fd8c2d
Fix MACH32/MACH64 so more than one architecture can build in the same workspace
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
7
diff
changeset
|
140 |
MACH = $(shell uname -p) |
41aeb1fd8c2d
Fix MACH32/MACH64 so more than one architecture can build in the same workspace
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
7
diff
changeset
|
141 |
|
41aeb1fd8c2d
Fix MACH32/MACH64 so more than one architecture can build in the same workspace
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
7
diff
changeset
|
142 |
# set MACH32 from MACH to either sparcv7 or i86 |
41aeb1fd8c2d
Fix MACH32/MACH64 so more than one architecture can build in the same workspace
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
7
diff
changeset
|
143 |
MACH32_1 = $(MACH:sparc=sparcv7) |
41aeb1fd8c2d
Fix MACH32/MACH64 so more than one architecture can build in the same workspace
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
7
diff
changeset
|
144 |
MACH32 = $(MACH32_1:i386=i86) |
41aeb1fd8c2d
Fix MACH32/MACH64 so more than one architecture can build in the same workspace
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
7
diff
changeset
|
145 |
|
41aeb1fd8c2d
Fix MACH32/MACH64 so more than one architecture can build in the same workspace
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
7
diff
changeset
|
146 |
# set MACH64 from MACH to either sparcv9 or amd64 |
41aeb1fd8c2d
Fix MACH32/MACH64 so more than one architecture can build in the same workspace
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
7
diff
changeset
|
147 |
MACH64_1 = $(MACH:sparc=sparcv9) |
41aeb1fd8c2d
Fix MACH32/MACH64 so more than one architecture can build in the same workspace
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
7
diff
changeset
|
148 |
MACH64 = $(MACH64_1:i386=amd64) |
41aeb1fd8c2d
Fix MACH32/MACH64 so more than one architecture can build in the same workspace
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
7
diff
changeset
|
149 |
|
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
150 |
BUILD_DIR_32 = $(BUILD_DIR)/$(MACH32) |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
151 |
BUILD_DIR_64 = $(BUILD_DIR)/$(MACH64) |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
152 |
|
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
153 |
BUILD_32 = $(BUILD_DIR_32)/.built |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
154 |
BUILD_64 = $(BUILD_DIR_64)/.built |
12
41aeb1fd8c2d
Fix MACH32/MACH64 so more than one architecture can build in the same workspace
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
7
diff
changeset
|
155 |
BUILD_32_and_64 = $(BUILD_32) $(BUILD_64) |
41aeb1fd8c2d
Fix MACH32/MACH64 so more than one architecture can build in the same workspace
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
7
diff
changeset
|
156 |
|
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
157 |
INSTALL_32 = $(BUILD_DIR_32)/.installed |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
158 |
INSTALL_64 = $(BUILD_DIR_64)/.installed |
12
41aeb1fd8c2d
Fix MACH32/MACH64 so more than one architecture can build in the same workspace
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
7
diff
changeset
|
159 |
INSTALL_32_and_64 = $(INSTALL_32) $(INSTALL_64) |
2 | 160 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
161 |
TEST_32 = $(BUILD_DIR_32)/.tested |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
162 |
TEST_64 = $(BUILD_DIR_64)/.tested |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
163 |
TEST_32_and_64 = $(TEST_32) $(TEST_64) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
164 |
|
40
84267c1130e9
fix SPRO_ROOT usage to match ON and SFW and not be confusing
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
38
diff
changeset
|
165 |
# BUILD_TOOLS is the root of all tools not normally installed on the system. |
84267c1130e9
fix SPRO_ROOT usage to match ON and SFW and not be confusing
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
38
diff
changeset
|
166 |
BUILD_TOOLS = /ws/onnv-tools |
84267c1130e9
fix SPRO_ROOT usage to match ON and SFW and not be confusing
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
38
diff
changeset
|
167 |
|
84267c1130e9
fix SPRO_ROOT usage to match ON and SFW and not be confusing
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
38
diff
changeset
|
168 |
SPRO_ROOT = $(BUILD_TOOLS)/SUNWspro |
43
9f5ebe30300c
switch to CBE sunstudio12.1 compilers
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
40
diff
changeset
|
169 |
SPRO_VROOT = $(SPRO_ROOT)/sunstudio12.1 |
40
84267c1130e9
fix SPRO_ROOT usage to match ON and SFW and not be confusing
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
38
diff
changeset
|
170 |
|
127
3e3c266b3a81
7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
120
diff
changeset
|
171 |
GCC_ROOT = /usr/sfw |
2 | 172 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
173 |
CC.studio.32 = $(SPRO_VROOT)/bin/cc |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
174 |
CCC.studio.32 = $(SPRO_VROOT)/bin/CC |
2 | 175 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
176 |
CC.studio.64 = $(SPRO_VROOT)/bin/cc |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
177 |
CCC.studio.64 = $(SPRO_VROOT)/bin/CC |
2 | 178 |
|
151
f9e42a3f7095
7030982 hgk is delivered 444, breaks 'hg view'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
148
diff
changeset
|
179 |
CC.gcc.32 = $(GCC_ROOT)/bin/gcc |
f9e42a3f7095
7030982 hgk is delivered 444, breaks 'hg view'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
148
diff
changeset
|
180 |
CCC.gcc.32 = $(GCC_ROOT)/bin/g++ |
2 | 181 |
|
151
f9e42a3f7095
7030982 hgk is delivered 444, breaks 'hg view'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
148
diff
changeset
|
182 |
CC.gcc.64 = $(GCC_ROOT)/bin/gcc |
f9e42a3f7095
7030982 hgk is delivered 444, breaks 'hg view'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
148
diff
changeset
|
183 |
CCC.gcc.64 = $(GCC_ROOT)/bin/g++ |
2 | 184 |
|
185 |
CC = $(CC.$(COMPILER).$(BITS)) |
|
186 |
CCC = $(CCC.$(COMPILER).$(BITS)) |
|
187 |
||
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
188 |
lint.32 = $(SPRO_VROOT)/bin/lint -m32 |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
189 |
lint.64 = $(SPRO_VROOT)/bin/lint -m64 |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
190 |
|
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
191 |
LINT = $(lint.$(BITS)) |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
192 |
|
16
33aaaec59991
update _DATE/_TIME compiler chatter reduction bits.
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
12
diff
changeset
|
193 |
LD = /usr/bin/ld |
33aaaec59991
update _DATE/_TIME compiler chatter reduction bits.
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
12
diff
changeset
|
194 |
|
148
33ca3897ae25
7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
146
diff
changeset
|
195 |
PYTHON_VENDOR_PACKAGES.32 = /usr/lib/python$(PYTHON_VERSION)/vendor-packages |
33ca3897ae25
7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
146
diff
changeset
|
196 |
PYTHON_VENDOR_PACKAGES.64 = /usr/lib/python$(PYTHON_VERSION)/vendor-packages/64 |
33ca3897ae25
7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
146
diff
changeset
|
197 |
PYTHON_VENDOR_PACKAGES = $(PYTHON_VENDOR_PACKAGES.$(BITS)) |
33ca3897ae25
7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
146
diff
changeset
|
198 |
|
2 | 199 |
PYTHON.2.6.32 = /usr/bin/python2.6 |
47
28ef4b1fcfb1
64-bit python should use $(MACH64), not amd64
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
43
diff
changeset
|
200 |
PYTHON.2.6.64 = /usr/bin/$(MACH64)/python2.6 |
2 | 201 |
|
202 |
PYTHON.32 = $(PYTHON.$(PYTHON_VERSION).$(BITS)) |
|
203 |
PYTHON.64 = $(PYTHON.$(PYTHON_VERSION).$(BITS)) |
|
148
33ca3897ae25
7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
146
diff
changeset
|
204 |
PYTHON = $(PYTHON.$(PYTHON_VERSION).$(BITS)) |
2 | 205 |
|
146
8e22ba234817
7027466 Move nmap to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
145
diff
changeset
|
206 |
# The default is site-packages, but that directory belongs to the end-user. |
8e22ba234817
7027466 Move nmap to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
145
diff
changeset
|
207 |
# Modules which are shipped by the OS but not with the core Python distribution |
8e22ba234817
7027466 Move nmap to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
145
diff
changeset
|
208 |
# belong in vendor-packages. |
8e22ba234817
7027466 Move nmap to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
145
diff
changeset
|
209 |
PYTHON_LIB= /usr/lib/python$(PYTHON_VERSION)/vendor-packages |
8e22ba234817
7027466 Move nmap to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
145
diff
changeset
|
210 |
|
116
ae6a90899b42
7022452 move ant to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
109
diff
changeset
|
211 |
JAVA_HOME = /usr/jdk/instances/jdk1.6.0 |
ae6a90899b42
7022452 move ant to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
109
diff
changeset
|
212 |
|
127
3e3c266b3a81
7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
120
diff
changeset
|
213 |
PERL = /usr/perl5/bin/perl |
3e3c266b3a81
7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
120
diff
changeset
|
214 |
|
2 | 215 |
GMAKE = /usr/gnu/bin/make |
216 |
GPATCH = /usr/gnu/bin/patch |
|
82
2f155565730b
7017244 move ggrep to userland (fix mismerge)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
80
diff
changeset
|
217 |
PATCH_LEVEL = 1 |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
218 |
GPATCH_BACKUP = --backup --version-control=numbered |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
219 |
GPATCH_FLAGS = -p$(PATCH_LEVEL) $(GPATCH_BACKUP) |
2 | 220 |
|
105
da9e87a40aec
7021891 repo created by build should be v4, not v3
Danek Duvall <danek.duvall@oracle.com>
parents:
102
diff
changeset
|
221 |
PKGREPO = /usr/bin/pkgrepo |
2 | 222 |
PKGSEND = /usr/bin/pkgsend |
70
c610cf9d3d5d
7016863 userland build fails in parallel
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
64
diff
changeset
|
223 |
PKGLINT = /usr/bin/pkglint |
2 | 224 |
|
160
4eabca2bceee
7032426 hal-cups-utils needs to move to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
156
diff
changeset
|
225 |
ACLOCAL = /usr/bin/aclocal-1.10 |
4eabca2bceee
7032426 hal-cups-utils needs to move to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
156
diff
changeset
|
226 |
AUTOMAKE = /usr/bin/automake-1.10 |
4eabca2bceee
7032426 hal-cups-utils needs to move to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
156
diff
changeset
|
227 |
AUTORECONF = /usr/bin/autoreconf |
4eabca2bceee
7032426 hal-cups-utils needs to move to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
156
diff
changeset
|
228 |
|
165
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
160
diff
changeset
|
229 |
KSH93 = /usr/bin/ksh93 |
2 | 230 |
TOUCH = /usr/bin/touch |
231 |
MKDIR = /bin/mkdir -p |
|
232 |
RM = /bin/rm -f |
|
7
d42300cb8715
add license/copyright info for ips generation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
6
diff
changeset
|
233 |
CP = /bin/cp -f |
142
6f1cb90a0ef3
7026996 move tomcat to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
138
diff
changeset
|
234 |
MV = /bin/mv -f |
43
9f5ebe30300c
switch to CBE sunstudio12.1 compilers
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
40
diff
changeset
|
235 |
LN = /bin/ln |
9f5ebe30300c
switch to CBE sunstudio12.1 compilers
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
40
diff
changeset
|
236 |
SYMLINK = /bin/ln -s |
16
33aaaec59991
update _DATE/_TIME compiler chatter reduction bits.
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
12
diff
changeset
|
237 |
ENV = /usr/bin/env |
43
9f5ebe30300c
switch to CBE sunstudio12.1 compilers
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
40
diff
changeset
|
238 |
INSTALL = /usr/bin/ginstall |
138
089c2065503f
7016734 move pz7ip from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
131
diff
changeset
|
239 |
CHMOD = /usr/bin/chmod |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
240 |
|
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
241 |
INS.dir= $(INSTALL) -d [email protected] |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
242 |
INS.file= $(INSTALL) -m 444 $< $(@D) |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
243 |
|
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
244 |
# |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
245 |
# C preprocessor flag sets to ease feature selection. Add the required |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
246 |
# feature to your Makefile with CPPFLAGS += $(FEATURE_MACRO) and add to |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
247 |
# the component build with CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)" or |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
248 |
# similiar. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
249 |
# |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
250 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
251 |
# Enables visibility of some c99 math functions that aren't visible by default. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
252 |
# What other side-effects are there? |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
253 |
CPP_C99_EXTENDED_MATH = -D_STDC_99 |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
254 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
255 |
# Enables large file support for components that have no other means of doing |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
256 |
# so. Use CPP_LARGEFILES and not the .32/.64 variety directly |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
257 |
CPP_LARGEFILES.32 = $(shell getconf LFS_CFLAGS) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
258 |
CPP_LARGEFILES.64 = $(shell getconf LFS64_CFLAGS) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
259 |
CPP_LARGEFILES = $(CPP_LARGEFILES.$(BITS)) |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
260 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
261 |
# Enables some #pragma redefine_extname to POSIX-compliant Standard C Library |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
262 |
# functions. Also avoids the component's #define _POSIX_C_SOURCE to some value |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
263 |
# we currently do not support. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
264 |
CPP_POSIX = -D_POSIX_C_SOURCE=200112L -D_POSIX_PTHREAD_SEMANTICS |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
265 |
|
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
266 |
# XPG6 mode. This option enables XPG6 conformance, plus extensions. |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
267 |
# Amongst other things, this option will cause system calls like |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
268 |
# popen (3C) and system (3C) to invoke the standards-conforming |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
269 |
# shell, /usr/xpg4/bin/sh, instead of /usr/bin/sh. Add studio_XPG6MODE to |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
270 |
# CFLAGS instead of using this directly |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
271 |
CPP_XPG6MODE= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
272 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
273 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
274 |
# |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
275 |
# Studio C compiler flag sets to ease feature selection. Add the required |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
276 |
# feature to your Makefile with CFLAGS += $(FEATURE_MACRO) and add to the |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
277 |
# component build with CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" or similiar. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
278 |
# |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
279 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
280 |
# Generate 32/64 bit objects |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
281 |
CC_BITS = -m$(BITS) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
282 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
283 |
# Code generation instruction set and optimization 'hints'. Use studio_XBITS |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
284 |
# and not the .arch.bits variety directly. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
285 |
studio_XBITS.sparc.32 = -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2 |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
286 |
studio_XBITS.sparc.64 = -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2 |
102
1a8b07a3e826
7020772 userland build should provide more macros for common flags (fix cflags)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
287 |
studio_XBITS.i386.32 = -xchip=pentium |
108
2cfc48b87a85
7020772 userland build should provide more macros for common flags (fix cflags)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
105
diff
changeset
|
288 |
studio_XBITS.i386.64 = -xchip=generic -Ui386 -U__i386 |
102
1a8b07a3e826
7020772 userland build should provide more macros for common flags (fix cflags)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
289 |
studio_XBITS = $(studio_XBITS.$(MACH).$(BITS)) |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
290 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
291 |
# Turn on recognition of supported C99 language features and enable the 1999 C |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
292 |
# standard library semantics of routines that appear in both the 1990 and |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
293 |
# 1999 C standard. To use set studio_C99MODE=$(studio_99_ENABLE) in your |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
294 |
# component Makefile. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
295 |
studio_C99_ENABLE = -xc99=all |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
296 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
297 |
# Turn off recognition of C99 language features, and do not enable the 1999 C |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
298 |
# standard library semantics of routines that appeared in both the 1990 and |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
299 |
# 1999 C standard. To use set studio_C99MODE=$(studio_99_DISABLE) in your |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
300 |
# component Makefile. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
301 |
studio_C99_DISABLE = -xc99=none |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
302 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
303 |
# Use the compiler default 'xc99=all,no_lib' |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
304 |
studio_C99MODE = |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
305 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
306 |
# Allow zero-sized struct/union declarations and void functions with return |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
307 |
# statements. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
308 |
studio_FEATURES_EXTENSIONS = -features=extensions |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
309 |
|
165
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
160
diff
changeset
|
310 |
# CC requires -norunpath to avoid linking in its RUNPATH to C++ applications. |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
160
diff
changeset
|
311 |
studio_NORUNPATH = -norunpath |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
160
diff
changeset
|
312 |
|
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
160
diff
changeset
|
313 |
# To link in standard mode (the default mode) without any C++ libraries |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
160
diff
changeset
|
314 |
# (except libCrun), use studio_LIBRARY_NONE in your compnent Makefile. |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
160
diff
changeset
|
315 |
studio_LIBRARY_NONE = -library=%none |
111c46cade93
7018146 move hplip to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
160
diff
changeset
|
316 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
317 |
# Control the Studio optimization level. |
102
1a8b07a3e826
7020772 userland build should provide more macros for common flags (fix cflags)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
318 |
studio_OPT.sparc.32 = -xO4 |
1a8b07a3e826
7020772 userland build should provide more macros for common flags (fix cflags)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
319 |
studio_OPT.sparc.64 = -xO4 |
1a8b07a3e826
7020772 userland build should provide more macros for common flags (fix cflags)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
320 |
studio_OPT.i386.32 = -xO4 |
1a8b07a3e826
7020772 userland build should provide more macros for common flags (fix cflags)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
321 |
studio_OPT.i386.64 = -xO4 |
1a8b07a3e826
7020772 userland build should provide more macros for common flags (fix cflags)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
322 |
studio_OPT = $(studio_OPT.$(MACH).$(BITS)) |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
323 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
324 |
# Studio PIC code generation. Use CC_PIC instead to select PIC code generation. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
325 |
studio_PIC = -KPIC -DPIC |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
326 |
|
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
327 |
# The Sun Studio 11 compiler has changed the behaviour of integer |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
328 |
# wrap arounds and so a flag is needed to use the legacy behaviour |
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
329 |
# (without this flag panics/hangs could be exposed within the source). |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
330 |
# This is used through studio_IROPTS, not the 'sparc' variety. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
331 |
studio_IROPTS.sparc = -W2,-xwrap_int |
102
1a8b07a3e826
7020772 userland build should provide more macros for common flags (fix cflags)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
332 |
studio_IROPTS = $(studio_IROPTS.$(MACH)) |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
333 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
334 |
# Control register usage for generated code. SPARC ABI requires system |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
335 |
# libraries not to use application registers. x86 requires 'no%frameptr' at |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
336 |
# x04 or higher. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
337 |
studio_XREGS.sparc = -xregs=no%appl,float |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
338 |
studio_XREGS.i386 = -xregs=no%frameptr |
102
1a8b07a3e826
7020772 userland build should provide more macros for common flags (fix cflags)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
339 |
studio_XREGS = $(studio_XREGS.$(MACH)) |
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
340 |
|
109
07cc6a1a08ad
7020772 userland build should provide more macros for common flags (add missing)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
108
diff
changeset
|
341 |
# Set data alignment on sparc to reasonable values, 8 byte alignment for 32 bit |
07cc6a1a08ad
7020772 userland build should provide more macros for common flags (add missing)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
108
diff
changeset
|
342 |
# objects and 16 byte alignment for 64 bit objects. This is added to CFLAGS by |
07cc6a1a08ad
7020772 userland build should provide more macros for common flags (add missing)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
108
diff
changeset
|
343 |
# default. |
07cc6a1a08ad
7020772 userland build should provide more macros for common flags (add missing)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
108
diff
changeset
|
344 |
studio_ALIGN.sparc.32 = -xmemalign=8s |
07cc6a1a08ad
7020772 userland build should provide more macros for common flags (add missing)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
108
diff
changeset
|
345 |
studio_ALIGN.sparc.64 = -xmemalign=16s |
07cc6a1a08ad
7020772 userland build should provide more macros for common flags (add missing)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
108
diff
changeset
|
346 |
studio_ALIGN = $(studio_ALIGN.$(MACH).$(BITS)) |
07cc6a1a08ad
7020772 userland build should provide more macros for common flags (add missing)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
108
diff
changeset
|
347 |
|
07cc6a1a08ad
7020772 userland build should provide more macros for common flags (add missing)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
108
diff
changeset
|
348 |
# Studio shorthand for building multi-threaded code, enables -D_REENTRANT and |
07cc6a1a08ad
7020772 userland build should provide more macros for common flags (add missing)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
108
diff
changeset
|
349 |
# linking with threadin support. This is added to CFLAGS by default, override |
07cc6a1a08ad
7020772 userland build should provide more macros for common flags (add missing)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
108
diff
changeset
|
350 |
# studio_MT to turn this off. |
07cc6a1a08ad
7020772 userland build should provide more macros for common flags (add missing)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
108
diff
changeset
|
351 |
studio_MT = -mt |
07cc6a1a08ad
7020772 userland build should provide more macros for common flags (add missing)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
108
diff
changeset
|
352 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
353 |
# See CPP_XPG6MODE comment above. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
354 |
studio_XPG6MODE = $(studio_C99MODE) $(CPP_XPG6MODE) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
355 |
XPG6MODE = $(studio_XPG6MODE) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
356 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
357 |
# Default Studio C compiler flags. Add the required feature to your Makefile |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
358 |
# with CFLAGS += $(FEATURE_MACRO) and add to the component build with |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
359 |
# CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" or similiar. In most cases, it |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
360 |
# should not be necessary to add CFLAGS to any environment other than the |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
361 |
# configure environment. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
362 |
CFLAGS.studio += $(studio_OPT) $(studio_XBITS) $(studio_XREGS) \ |
109
07cc6a1a08ad
7020772 userland build should provide more macros for common flags (add missing)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
108
diff
changeset
|
363 |
$(studio_IROPTS) $(studio_C99MODE) $(studio_ALIGN) \ |
07cc6a1a08ad
7020772 userland build should provide more macros for common flags (add missing)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
108
diff
changeset
|
364 |
$(studio_MT) |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
365 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
366 |
# |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
367 |
# GNU C compiler flag sets to ease feature selection. Add the required |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
368 |
# feature to your Makefile with CFLAGS += $(FEATURE_MACRO) and add to the |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
369 |
# component build with CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" or similiar. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
370 |
# |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
371 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
372 |
# GCC Compiler optimization flag |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
373 |
gcc_OPT = -O3 |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
374 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
375 |
# GCC PIC code generation. Use CC_PIC instead to select PIC code generation. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
376 |
gcc_PIC = -fPIC -DPIC |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
377 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
378 |
# Generic macro for PIC code generation. Use this macro instead of the |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
379 |
# compiler specific variant. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
380 |
CC_PIC = $($(COMPILER)_PIC) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
381 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
382 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
383 |
# Default GNU C compiler flags. Add the required feature to your Makefile |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
384 |
# with CFLAGS += $(FEATURE_MACRO) and add to the component build with |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
385 |
# CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" or similiar. In most cases, it |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
386 |
# should not be necessary to add CFLAGS to any environment other than the |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
387 |
# configure environment. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
388 |
CFLAGS.gcc += $(gcc_OPT) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
389 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
390 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
391 |
# Build 32 or 64 bit objects. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
392 |
CFLAGS += $(CC_BITS) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
393 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
394 |
# Add compiler specific 'default' features |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
395 |
CFLAGS += $(CFLAGS.$(COMPILER)) |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
396 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
397 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
398 |
# |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
399 |
# Solaris linker flag sets to ease feature selection. Add the required |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
400 |
# feature to your Makefile with LDFLAGS += $(FEATURE_MACRO) and add to the |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
401 |
# component build with CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)" or similiar. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
402 |
# |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
403 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
404 |
# Reduce the symbol table size, effectively conflicting with -g. We should |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
405 |
# get linker guidance here. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
406 |
LD_Z_REDLOCSYM = -z redlocsym |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
407 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
408 |
# Cause the linker to rescan archive libraries and resolve remaining unresolved |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
409 |
# symbols recursively until all symbols are resolved. Components should be |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
410 |
# linking in the libraries they need, in the required order. This should |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
411 |
# only be required if the component's native build is horribly broken. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
412 |
LD_Z_RESCAN_NOW = -z rescan-now |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
413 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
414 |
LD_Z_TEXT = -z direct |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
415 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
416 |
# make sure all symbols are defined. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
417 |
LD_Z_DEFS = -z defs |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
418 |
|
170
14cadb780400
7033275 userland should default vendor to 'Oracle Corporation'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
166
diff
changeset
|
419 |
# eliminate unreferenced dynamic dependencies |
14cadb780400
7033275 userland should default vendor to 'Oracle Corporation'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
166
diff
changeset
|
420 |
LD_Z_IGNORE = -z ignore |
14cadb780400
7033275 userland should default vendor to 'Oracle Corporation'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
166
diff
changeset
|
421 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
422 |
# use direct binding |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
423 |
LD_B_DIRECT = -Bdirect |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
424 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
425 |
# |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
426 |
# More Solaris linker flags that we want to be sure that everyone gets. This |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
427 |
# is automatically added to the calling environment during the 'build' and |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
428 |
# 'install' phases of the component build. Each individual feature can be |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
429 |
# turned off by adding FEATURE_MACRO= to the component Makefile. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
430 |
# |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
431 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
432 |
# Create a non-executable stack when linking. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
433 |
LD_MAP_NOEXSTK = -M /usr/lib/ld/map.noexstk |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
434 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
435 |
# Create a non-executable bss segment when linking. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
436 |
LD_MAP_NOEXBSS = -M /usr/lib/ld/map.noexbss |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
437 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
438 |
# Create a non-executable data segment when linking. Due to PLT needs, the |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
439 |
# data segment must be executable on sparc, but the bss does not. |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
440 |
# see mapfile comments for more information |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
441 |
LD_MAP_NOEXDATA.i386 = -M /usr/lib/ld/map.noexdata |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
442 |
LD_MAP_NOEXDATA.sparc = $(LD_MAP_NOEXBSS) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
443 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
444 |
# Page alignment |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
445 |
LD_MAP_PAGEALIGN = -M /usr/lib/ld/map.pagealign |
61
7684fe2a9eb5
7011958 some things lost during move to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
59
diff
changeset
|
446 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
447 |
# Linker options to add when only building libraries |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
448 |
LD_OPTIONS_SO += $(LD_Z_TEXT) $(LD_Z_DEFS) |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
449 |
|
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
450 |
# Default linker options that everyone should get. Do not add additional |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
451 |
# libraries to this macro, as it will apply to everything linked during the |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
94
diff
changeset
|
452 |
# component build. |
102
1a8b07a3e826
7020772 userland build should provide more macros for common flags (fix cflags)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
453 |
LD_OPTIONS += $(LD_MAP_NOEXSTK) $(LD_MAP_NOEXDATA.$(MACH)) \ |
170
14cadb780400
7033275 userland should default vendor to 'Oracle Corporation'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
166
diff
changeset
|
454 |
$(LD_MAP_PAGEALIGN) $(LD_B_DIRECT) $(LD_Z_IGNORE) |
64
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
455 |
|
62
519e6e3788ce
7013265 userland could use a tool to aid in SUNW package generation
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
61
diff
changeset
|
456 |
# Environment variables and arguments passed into the build and install |
64
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
457 |
# environment(s). These are the initial settings. |
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
458 |
COMPONENT_BUILD_ENV= \ |
82
2f155565730b
7017244 move ggrep to userland (fix mismerge)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
80
diff
changeset
|
459 |
LD_OPTIONS="$(LD_OPTIONS)" |
64
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
460 |
COMPONENT_INSTALL_ENV= \ |
82
2f155565730b
7017244 move ggrep to userland (fix mismerge)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
80
diff
changeset
|
461 |
LD_OPTIONS="$(LD_OPTIONS)" |
64
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
462 |
|
a4b12971cf99
7014330 has userland lost its mapfile mind?
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
62
diff
changeset
|
463 |
# Add any bit-specific settings |
62
519e6e3788ce
7013265 userland could use a tool to aid in SUNW package generation
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
61
diff
changeset
|
464 |
COMPONENT_BUILD_ENV += $(COMPONENT_BUILD_ENV.$(BITS)) |
519e6e3788ce
7013265 userland could use a tool to aid in SUNW package generation
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
61
diff
changeset
|
465 |
COMPONENT_BUILD_ARGS += $(COMPONENT_BUILD_ARGS.$(BITS)) |
519e6e3788ce
7013265 userland could use a tool to aid in SUNW package generation
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
61
diff
changeset
|
466 |
COMPONENT_INSTALL_ENV += $(COMPONENT_INSTALL_ENV.$(BITS)) |
519e6e3788ce
7013265 userland could use a tool to aid in SUNW package generation
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
61
diff
changeset
|
467 |
COMPONENT_INSTALL_ARGS += $(COMPONENT_INSTALL_ARGS.$(BITS)) |