Makefile.master (620753d0d286f1523bbaf3c99acdb13fa36b9daf) | Makefile.master (0bb073995ac5a95bd35f2dd790df1ea3d8c2d507) |
---|---|
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 unchanged lines hidden (view full) --- 18# 19# CDDL HEADER END 20# 21 22# 23# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# | 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 unchanged lines hidden (view full) --- 18# 19# CDDL HEADER END 20# 21 22# 23# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# |
26# ident "%Z%%M% %I% %E% SMI" | |
27# | 26# |
28 29# | |
30# Makefile.master, global definitions for system source 31# 32ROOT= /proto 33 34# Historically, ON builds were always done with root permissions, and the 35# owner/group information was duplicated in the Makefiles and the packaging 36# data and kept in sync by manual intervention. This is no longer true. 37# The only source of this information is packaging. The proto area ($ROOT) --- 283 unchanged lines hidden (view full) --- 321# 322sparc_CCUNBOUND = -Wd,-xsafe=unboundsym 323i386_CCUNBOUND = 324CCUNBOUND = $($(MACH)_CCUNBOUND) 325 326# 327# compiler '-xarch' flag. This is here to centralize it and make it 328# overridable for testing. | 27# Makefile.master, global definitions for system source 28# 29ROOT= /proto 30 31# Historically, ON builds were always done with root permissions, and the 32# owner/group information was duplicated in the Makefiles and the packaging 33# data and kept in sync by manual intervention. This is no longer true. 34# The only source of this information is packaging. The proto area ($ROOT) --- 283 unchanged lines hidden (view full) --- 318# 319sparc_CCUNBOUND = -Wd,-xsafe=unboundsym 320i386_CCUNBOUND = 321CCUNBOUND = $($(MACH)_CCUNBOUND) 322 323# 324# compiler '-xarch' flag. This is here to centralize it and make it 325# overridable for testing. |
329sparc_XARCH= -xarch=v8 330sparcv9_XARCH= -xarch=v9 | 326sparc_XARCH= -m32 327sparcv9_XARCH= -m64 |
331i386_XARCH= | 328i386_XARCH= |
332amd64_XARCH= -xarch=amd64 -Ui386 -U__i386 | 329amd64_XARCH= -m64 -Ui386 -U__i386 |
333 334# assembler '-xarch' flag. Different from compiler '-xarch' flag. 335sparc_AS_XARCH= -xarch=v8plus 336sparcv9_AS_XARCH= -xarch=v9 337i386_AS_XARCH= 338amd64_AS_XARCH= -xarch=amd64 -P -Ui386 -U__i386 339 340# 341# These flags define what we need to be 'standalone' i.e. -not- part 342# of the rather more cosy userland environment. This basically means 343# the kernel. 344# 345# XX64 future versions of gcc will make -mcmodel=kernel imply -mno-red-zone 346# 347sparc_STAND_FLAGS= -_gcc=-ffreestanding 348sparcv9_STAND_FLAGS= -_gcc=-ffreestanding 349i386_STAND_FLAGS= -_gcc=-ffreestanding | 330 331# assembler '-xarch' flag. Different from compiler '-xarch' flag. 332sparc_AS_XARCH= -xarch=v8plus 333sparcv9_AS_XARCH= -xarch=v9 334i386_AS_XARCH= 335amd64_AS_XARCH= -xarch=amd64 -P -Ui386 -U__i386 336 337# 338# These flags define what we need to be 'standalone' i.e. -not- part 339# of the rather more cosy userland environment. This basically means 340# the kernel. 341# 342# XX64 future versions of gcc will make -mcmodel=kernel imply -mno-red-zone 343# 344sparc_STAND_FLAGS= -_gcc=-ffreestanding 345sparcv9_STAND_FLAGS= -_gcc=-ffreestanding 346i386_STAND_FLAGS= -_gcc=-ffreestanding |
350amd64_STAND_FLAGS= -Wu,-xmodel=kernel 351$(__SSNEXT)amd64_STAND_FLAGS= -xmodel=kernel | 347amd64_STAND_FLAGS= -xmodel=kernel |
352 353SAVEARGS= -Wu,-save_args 354amd64_STAND_FLAGS += $(SAVEARGS) 355 356STAND_FLAGS_32 = $($(MACH)_STAND_FLAGS) 357STAND_FLAGS_64 = $($(MACH64)_STAND_FLAGS) 358 359# --- 309 unchanged lines hidden (view full) --- 669 670# Define native compilation macros 671# 672 673# Base directory where compilers are loaded. 674# Defined here so it can be overridden by developer. 675# 676SPRO_ROOT= $(BUILD_TOOLS)/SUNWspro | 348 349SAVEARGS= -Wu,-save_args 350amd64_STAND_FLAGS += $(SAVEARGS) 351 352STAND_FLAGS_32 = $($(MACH)_STAND_FLAGS) 353STAND_FLAGS_64 = $($(MACH64)_STAND_FLAGS) 354 355# --- 309 unchanged lines hidden (view full) --- 665 666# Define native compilation macros 667# 668 669# Base directory where compilers are loaded. 670# Defined here so it can be overridden by developer. 671# 672SPRO_ROOT= $(BUILD_TOOLS)/SUNWspro |
677SPRO_VROOT= $(SPRO_ROOT)/SS11 | 673SPRO_VROOT= $(SPRO_ROOT)/SS12 |
678GNU_ROOT= $(SFW_ROOT) 679 680# Specify platform compiler versions for languages 681# that we use (currently only c and c++). 682# 683sparc_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc 684$(__GNUC)sparc_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc 685sparc_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_CC --- 411 unchanged lines hidden --- | 674GNU_ROOT= $(SFW_ROOT) 675 676# Specify platform compiler versions for languages 677# that we use (currently only c and c++). 678# 679sparc_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc 680$(__GNUC)sparc_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc 681sparc_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_CC --- 411 unchanged lines hidden --- |