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
22 #
23 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24 #
25
26 include $(SRC)/Makefile.master
27 include $(SRC)/Makefile.buildnum
28
29 #
30 # Make sure we're getting a consistent execution environment for the
31 # embedded scripts.
32 #
33 SHELL= /usr/bin/ksh93
34
35 #
36 # To suppress package dependency generation on any system, regardless
37 # of how it was installed, set SUPPRESSPKGDEP=true in the build
38 # environment.
39 #
40 SUPPRESSPKGDEP= false
41
42 #
43 # Comment this line out or set "PKGDEBUG=" in your build environment
152 i386_ARCH64= amd64
153 sparc_ARCH64= sparcv9
154
155 #
156 # macros and transforms needed by pkgmogrify
157 #
158 # If you append to this list using target-specific assignments (:=),
159 # be very careful that the targets are of the form $(PDIR)/pkgname. If
160 # you use a higher level target, or a package list, you'll trigger a
161 # complete reprocessing of all manifests because they'll fail command
162 # dependency checking.
163 #
164 PM_TRANSFORMS= common_actions publish restart_fmri facets defaults \
165 extract_metadata
166 PM_INC= transforms manifests
167
168 PKGMOG_DEFINES= \
169 i386_ONLY=$(POUND_SIGN) \
170 sparc_ONLY=$(POUND_SIGN) \
171 $(PKGMACH)_ONLY= \
172 ARCH=$(PKGMACH) \
173 ARCH32=$($(PKGMACH)_ARCH32) \
174 ARCH64=$($(PKGMACH)_ARCH64) \
175 PKGVERS_COMPONENT=$(PKGVERS_COMPONENT) \
176 PKGVERS_BUILTON=$(PKGVERS_BUILTON) \
177 PKGVERS_BRANCH=$(PKGVERS_BRANCH) \
178 PKGVERS=$(PKGVERS)
179
180 PKGDEP_TOKENS_i386= \
181 'PLATFORM=i86hvm' \
182 'PLATFORM=i86pc' \
183 'PLATFORM=i86xpv' \
184 'ISALIST=amd64' \
185 'ISALIST=i386'
186 PKGDEP_TOKENS_sparc= \
187 'PLATFORM=sun4u' \
188 'PLATFORM=sun4v' \
189 'ISALIST=sparcv9' \
190 'ISALIST=sparc'
191 PKGDEP_TOKENS= $(PKGDEP_TOKENS_$(PKGMACH))
192
193 #
194 # The package lists are generated with $(PKGDEP_TYPE) as their
|
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
22 #
23 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24 # Copyright 2014 Andrew Stormont.
25 #
26
27 include $(SRC)/Makefile.master
28 include $(SRC)/Makefile.buildnum
29
30 #
31 # Make sure we're getting a consistent execution environment for the
32 # embedded scripts.
33 #
34 SHELL= /usr/bin/ksh93
35
36 #
37 # To suppress package dependency generation on any system, regardless
38 # of how it was installed, set SUPPRESSPKGDEP=true in the build
39 # environment.
40 #
41 SUPPRESSPKGDEP= false
42
43 #
44 # Comment this line out or set "PKGDEBUG=" in your build environment
153 i386_ARCH64= amd64
154 sparc_ARCH64= sparcv9
155
156 #
157 # macros and transforms needed by pkgmogrify
158 #
159 # If you append to this list using target-specific assignments (:=),
160 # be very careful that the targets are of the form $(PDIR)/pkgname. If
161 # you use a higher level target, or a package list, you'll trigger a
162 # complete reprocessing of all manifests because they'll fail command
163 # dependency checking.
164 #
165 PM_TRANSFORMS= common_actions publish restart_fmri facets defaults \
166 extract_metadata
167 PM_INC= transforms manifests
168
169 PKGMOG_DEFINES= \
170 i386_ONLY=$(POUND_SIGN) \
171 sparc_ONLY=$(POUND_SIGN) \
172 $(PKGMACH)_ONLY= \
173 i386_BUILD64=$(POUND_SIGN) \
174 sparc_BUILD64=$(POUND_SIGN) \
175 $(PKGMACH)_BUILD64= \
176 ARCH=$(PKGMACH) \
177 ARCH32=$($(PKGMACH)_ARCH32) \
178 ARCH64=$($(PKGMACH)_ARCH64) \
179 BUILD64=$(BUILD64) \
180 PKGVERS_COMPONENT=$(PKGVERS_COMPONENT) \
181 PKGVERS_BUILTON=$(PKGVERS_BUILTON) \
182 PKGVERS_BRANCH=$(PKGVERS_BRANCH) \
183 PKGVERS=$(PKGVERS)
184
185 PKGDEP_TOKENS_i386= \
186 'PLATFORM=i86hvm' \
187 'PLATFORM=i86pc' \
188 'PLATFORM=i86xpv' \
189 'ISALIST=amd64' \
190 'ISALIST=i386'
191 PKGDEP_TOKENS_sparc= \
192 'PLATFORM=sun4u' \
193 'PLATFORM=sun4v' \
194 'ISALIST=sparcv9' \
195 'ISALIST=sparc'
196 PKGDEP_TOKENS= $(PKGDEP_TOKENS_$(PKGMACH))
197
198 #
199 # The package lists are generated with $(PKGDEP_TYPE) as their
|