Print this page
3664 pkg/Makefile openssl logic should be removed


 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) \
 178         ARCH32=$($(PKGMACH)_ARCH32) \
 179         ARCH64=$($(PKGMACH)_ARCH64) \
 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'




 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 #
 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'