135 #
136 PKGVERS_COMPONENT= 0.$(RELEASE)
137 PKGVERS_BUILTON= $(RELEASE)
138 PKGVERS_BRANCH= 0.$(ONNV_BUILDNUM)
139 PKGVERS= $(PKGVERS_COMPONENT),$(PKGVERS_BUILTON)-$(PKGVERS_BRANCH)
140
141 #
142 # The ARCH32 and ARCH64 macros are used in the manifests to express
143 # architecture-specific subdirectories in the installation paths
144 # for isaexec'd commands.
145 #
146 # We can't simply use $(MACH32) and $(MACH64) here, because they're
147 # only defined for the build architecture. To do cross-platform
148 # packaging, we need both values.
149 #
150 i386_ARCH32= i86
151 sparc_ARCH32= sparcv7
152 i386_ARCH64= amd64
153 sparc_ARCH64= sparcv9
154
155 OPENSSL = /usr/bin/openssl
156 OPENSSL10.cmd = $(OPENSSL) version | $(NAWK) '{if($$2<1){print "\043";}}'
157 OPENSSL10_ONLY = $(OPENSSL10.cmd:sh)
158
159 #
160 # macros and transforms needed by pkgmogrify
161 #
162 # If you append to this list using target-specific assignments (:=),
163 # be very careful that the targets are of the form $(PDIR)/pkgname. If
164 # you use a higher level target, or a package list, you'll trigger a
165 # complete reprocessing of all manifests because they'll fail command
166 # dependency checking.
167 #
168 PM_TRANSFORMS= common_actions publish restart_fmri facets defaults \
169 extract_metadata
170 PM_INC= transforms manifests
171
172 PKGMOG_DEFINES= \
173 i386_ONLY=$(POUND_SIGN) \
174 sparc_ONLY=$(POUND_SIGN) \
175 OPENSSL10_ONLY=$(OPENSSL10_ONLY) \
176 $(PKGMACH)_ONLY= \
177 ARCH=$(PKGMACH) \
|
135 #
136 PKGVERS_COMPONENT= 0.$(RELEASE)
137 PKGVERS_BUILTON= $(RELEASE)
138 PKGVERS_BRANCH= 0.$(ONNV_BUILDNUM)
139 PKGVERS= $(PKGVERS_COMPONENT),$(PKGVERS_BUILTON)-$(PKGVERS_BRANCH)
140
141 #
142 # The ARCH32 and ARCH64 macros are used in the manifests to express
143 # architecture-specific subdirectories in the installation paths
144 # for isaexec'd commands.
145 #
146 # We can't simply use $(MACH32) and $(MACH64) here, because they're
147 # only defined for the build architecture. To do cross-platform
148 # packaging, we need both values.
149 #
150 i386_ARCH32= i86
151 sparc_ARCH32= sparcv7
152 i386_ARCH64= amd64
153 sparc_ARCH64= sparcv9
154
155 # The form "MACRO :sh= COMMAND" ensures that the COMMAND is executed only once,
156 # whereas with the form "MACRO = $(COMMAND:sh)" the COMMAND is executed
157 # whenever the reference is evaluated.
158 #
159 # The form "MACRO :sh= COMMAND" does not substitue macros in COMMAND, so macros
160 # defined in Makefile.master is not used here.
161 OPENSSL10_ONLY :sh= /usr/bin/openssl version | \
162 /usr/bin/nawk '{if($2<1){print "\043";}}'
163
164 #
165 # macros and transforms needed by pkgmogrify
166 #
167 # If you append to this list using target-specific assignments (:=),
168 # be very careful that the targets are of the form $(PDIR)/pkgname. If
169 # you use a higher level target, or a package list, you'll trigger a
170 # complete reprocessing of all manifests because they'll fail command
171 # dependency checking.
172 #
173 PM_TRANSFORMS= common_actions publish restart_fmri facets defaults \
174 extract_metadata
175 PM_INC= transforms manifests
176
177 PKGMOG_DEFINES= \
178 i386_ONLY=$(POUND_SIGN) \
179 sparc_ONLY=$(POUND_SIGN) \
180 OPENSSL10_ONLY=$(OPENSSL10_ONLY) \
181 $(PKGMACH)_ONLY= \
182 ARCH=$(PKGMACH) \
|