Print this page
1681 support for BUILD64=# no longer works


   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) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright (c) 2012 by Delphix. All rights reserved.

  25 #
  26 
  27 #
  28 # Makefile.master, global definitions for system source
  29 #
  30 ROOT=           /proto
  31 
  32 #
  33 # Adjunct root, containing an additional proto area to be used for headers
  34 # and libraries.
  35 #
  36 ADJUNCT_PROTO=
  37 
  38 #
  39 # Adjunct for building things that run on the build machine.
  40 #
  41 NATIVE_ADJUNCT= /usr
  42 
  43 #
  44 # RELEASE_BUILD should be cleared for final release builds.


 229 INSLINKTARGET=  $<
 230 INS.link=       $(RM) $@; $(LN) $(INSLINKTARGET) $@
 231 INS.symlink=    $(RM) $@; $(SYMLINK) $(INSLINKTARGET) $@
 232 
 233 #
 234 # Python bakes the mtime of the .py file into the compiled .pyc and
 235 # rebuilds if the baked-in mtime != the mtime of the source file
 236 # (rather than only if it's less than), thus when installing python
 237 # files we must make certain to not adjust the mtime of the source
 238 # (.py) file.
 239 #
 240 INS.pyfile=     $(INS.file); $(TOUCH) -r $< $@
 241 
 242 # MACH must be set in the shell environment per uname -p on the build host
 243 # More specific architecture variables should be set in lower makefiles.
 244 #
 245 # MACH64 is derived from MACH, and BUILD64 is set to `#' for
 246 # architectures on which we do not build 64-bit versions.
 247 # (There are no such architectures at the moment.)
 248 #
 249 # Set BUILD64=# in the environment to disable 64-bit amd64
 250 # builds on i386 machines.
 251 
 252 MACH64_1=       $(MACH:sparc=sparcv9)
 253 MACH64=         $(MACH64_1:i386=amd64)
 254 
 255 MACH32_1=       $(MACH:sparc=sparcv7)
 256 MACH32=         $(MACH32_1:i386=i86)
 257 
 258 sparc_BUILD64=
 259 i386_BUILD64=
 260 BUILD64=        $($(MACH)_BUILD64)




 261 
 262 #
 263 # C compiler mode. Future compilers may change the default on us,
 264 # so force extended ANSI mode globally. Lower level makefiles can
 265 # override this by setting CCMODE.
 266 #
 267 CCMODE=                 -Xa
 268 CCMODE64=               -Xa
 269 
 270 #
 271 # C compiler verbose mode. This is so we can enable it globally,
 272 # but turn it off in the lower level makefiles of things we cannot
 273 # (or aren't going to) fix.
 274 #
 275 CCVERBOSE=              -v
 276 
 277 # set this to the secret flag "-Wc,-Qiselect-v9abiwarn=1" to get warnings
 278 # from the compiler about places the -xarch=v9 may differ from -xarch=v9c.
 279 V9ABIWARN=
 280 




   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) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright (c) 2012 by Delphix. All rights reserved.
  25 # Copyright (c) 2014 Andrew Stormont.
  26 #
  27 
  28 #
  29 # Makefile.master, global definitions for system source
  30 #
  31 ROOT=           /proto
  32 
  33 #
  34 # Adjunct root, containing an additional proto area to be used for headers
  35 # and libraries.
  36 #
  37 ADJUNCT_PROTO=
  38 
  39 #
  40 # Adjunct for building things that run on the build machine.
  41 #
  42 NATIVE_ADJUNCT= /usr
  43 
  44 #
  45 # RELEASE_BUILD should be cleared for final release builds.


 230 INSLINKTARGET=  $<
 231 INS.link=       $(RM) $@; $(LN) $(INSLINKTARGET) $@
 232 INS.symlink=    $(RM) $@; $(SYMLINK) $(INSLINKTARGET) $@
 233 
 234 #
 235 # Python bakes the mtime of the .py file into the compiled .pyc and
 236 # rebuilds if the baked-in mtime != the mtime of the source file
 237 # (rather than only if it's less than), thus when installing python
 238 # files we must make certain to not adjust the mtime of the source
 239 # (.py) file.
 240 #
 241 INS.pyfile=     $(INS.file); $(TOUCH) -r $< $@
 242 
 243 # MACH must be set in the shell environment per uname -p on the build host
 244 # More specific architecture variables should be set in lower makefiles.
 245 #
 246 # MACH64 is derived from MACH, and BUILD64 is set to `#' for
 247 # architectures on which we do not build 64-bit versions.
 248 # (There are no such architectures at the moment.)
 249 #
 250 # Set BUILD64=# in the environment to disable 64-bit builds.

 251 
 252 MACH64_1=       $(MACH:sparc=sparcv9)
 253 MACH64=         $(MACH64_1:i386=amd64)
 254 
 255 MACH32_1=       $(MACH:sparc=sparcv7)
 256 MACH32=         $(MACH32_1:i386=i86)
 257 
 258 BUILD64=
 259 sparc_BUILD64=  $(POUND_SIGN)
 260 i386_BUILD64=   $(POUND_SIGN)
 261 $($(MACH)_BUILD64)=     $(BUILD64)
 262 
 263 NOT_BUILD64=
 264 $(BUILD64)NOT_BUILD64=  $(POUND_SIGN)
 265 
 266 #
 267 # C compiler mode. Future compilers may change the default on us,
 268 # so force extended ANSI mode globally. Lower level makefiles can
 269 # override this by setting CCMODE.
 270 #
 271 CCMODE=                 -Xa
 272 CCMODE64=               -Xa
 273 
 274 #
 275 # C compiler verbose mode. This is so we can enable it globally,
 276 # but turn it off in the lower level makefiles of things we cannot
 277 # (or aren't going to) fix.
 278 #
 279 CCVERBOSE=              -v
 280 
 281 # set this to the secret flag "-Wc,-Qiselect-v9abiwarn=1" to get warnings
 282 # from the compiler about places the -xarch=v9 may differ from -xarch=v9c.
 283 V9ABIWARN=
 284