Makefile.master (ead1f93ee620d7580f7e53350fe5a884fc4f158a) Makefile.master (2418f65fbfcb06dbd572d483020a18a134fecd0b)
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

--- 664 unchanged lines hidden (view full) ---

673
674# Base directory where compilers are loaded.
675# Defined here so it can be overridden by developer.
676#
677SPRO_ROOT= $(BUILD_TOOLS)/SUNWspro
678SPRO_VROOT= $(SPRO_ROOT)/SS12
679GNU_ROOT= $(SFW_ROOT)
680
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

--- 664 unchanged lines hidden (view full) ---

673
674# Base directory where compilers are loaded.
675# Defined here so it can be overridden by developer.
676#
677SPRO_ROOT= $(BUILD_TOOLS)/SUNWspro
678SPRO_VROOT= $(SPRO_ROOT)/SS12
679GNU_ROOT= $(SFW_ROOT)
680
681# Till SS12u1 formally becomes the NV CBE, LINT is hard
682# coded to be picked up from the $SPRO_ROOT/sunstudio12.1/
683# location. Impacted variables are sparc_LINT, sparcv9_LINT,
684# i386_LINT, amd64_LINT.
685# Reset them when SS12u1 is rolled out.
686#
687
681# Specify platform compiler versions for languages
682# that we use (currently only c and c++).
683#
684sparc_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc
685$(__GNUC)sparc_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
686sparc_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_CC
687$(__GNUC)sparc_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_g++
688sparc_CPP= /usr/ccs/lib/cpp
689sparc_AS= /usr/ccs/bin/as -xregsym=no
690sparc_LD= /usr/ccs/bin/ld
688# Specify platform compiler versions for languages
689# that we use (currently only c and c++).
690#
691sparc_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc
692$(__GNUC)sparc_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
693sparc_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_CC
694$(__GNUC)sparc_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_g++
695sparc_CPP= /usr/ccs/lib/cpp
696sparc_AS= /usr/ccs/bin/as -xregsym=no
697sparc_LD= /usr/ccs/bin/ld
691sparc_LINT= $(SPRO_VROOT)/bin/lint
698sparc_LINT= $(SPRO_ROOT)/sunstudio12.1/bin/lint
692
693sparcv9_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc
694$(__GNUC64)sparcv9_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
695sparcv9_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_CC
696$(__GNUC64)sparcv9_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_g++
697sparcv9_CPP= /usr/ccs/lib/cpp
698sparcv9_AS= /usr/ccs/bin/as -xregsym=no
699sparcv9_LD= /usr/ccs/bin/ld
699
700sparcv9_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc
701$(__GNUC64)sparcv9_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
702sparcv9_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_CC
703$(__GNUC64)sparcv9_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_g++
704sparcv9_CPP= /usr/ccs/lib/cpp
705sparcv9_AS= /usr/ccs/bin/as -xregsym=no
706sparcv9_LD= /usr/ccs/bin/ld
700sparcv9_LINT= $(SPRO_VROOT)/bin/lint
707sparcv9_LINT= $(SPRO_ROOT)/sunstudio12.1/bin/lint
701
702# We compile 32-bit objects with cc by default
703i386_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc
704$(__GNUC)i386_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
705i386_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_CC
706$(__GNUC)i386_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_g++
707i386_CPP= /usr/ccs/lib/cpp
708i386_AS= /usr/ccs/bin/as
709$(__GNUC)i386_AS= $(ONBLD_TOOLS)/bin/$(MACH)/aw
710i386_LD= /usr/ccs/bin/ld
708
709# We compile 32-bit objects with cc by default
710i386_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc
711$(__GNUC)i386_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
712i386_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_CC
713$(__GNUC)i386_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_g++
714i386_CPP= /usr/ccs/lib/cpp
715i386_AS= /usr/ccs/bin/as
716$(__GNUC)i386_AS= $(ONBLD_TOOLS)/bin/$(MACH)/aw
717i386_LD= /usr/ccs/bin/ld
711i386_LINT= $(SPRO_VROOT)/bin/lint
718i386_LINT= $(SPRO_ROOT)/sunstudio12.1/bin/lint
712
713# We compile 64-bit objects with gcc
714amd64_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc
715$(__GNUC64)amd64_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
716amd64_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_CC
717$(__GNUC64)amd64_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_g++
718amd64_CPP= /usr/ccs/lib/cpp
719amd64_AS= $(ONBLD_TOOLS)/bin/$(MACH)/aw
720amd64_LD= /usr/ccs/bin/ld
719
720# We compile 64-bit objects with gcc
721amd64_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc
722$(__GNUC64)amd64_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
723amd64_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_CC
724$(__GNUC64)amd64_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_g++
725amd64_CPP= /usr/ccs/lib/cpp
726amd64_AS= $(ONBLD_TOOLS)/bin/$(MACH)/aw
727amd64_LD= /usr/ccs/bin/ld
721amd64_LINT= $(SPRO_VROOT)/bin/lint
728amd64_LINT= $(SPRO_ROOT)/sunstudio12.1/bin/lint
722
723NATIVECC= $($(NATIVE_MACH)_CC)
724NATIVECCC= $($(NATIVE_MACH)_CCC)
725NATIVECPP= $($(NATIVE_MACH)_CPP)
726NATIVEAS= $($(NATIVE_MACH)_AS)
727NATIVELD= $($(NATIVE_MACH)_LD)
728NATIVELINT= $($(NATIVE_MACH)_LINT)
729

--- 371 unchanged lines hidden ---
729
730NATIVECC= $($(NATIVE_MACH)_CC)
731NATIVECCC= $($(NATIVE_MACH)_CCC)
732NATIVECPP= $($(NATIVE_MACH)_CPP)
733NATIVEAS= $($(NATIVE_MACH)_AS)
734NATIVELD= $($(NATIVE_MACH)_LD)
735NATIVELINT= $($(NATIVE_MACH)_LINT)
736

--- 371 unchanged lines hidden ---