Makefile.master (2df8f1d2ea5498217e0cb212fe552e01ed3aad0d) Makefile.master (bf40377cf91c317ea211179252e4a06e2f1a7999)
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, Version 1.0 only
6# (the "License"). You may not use this file except in compliance
7# with the License.
8#

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

101
102DEF_STRIPFLAG=
103STRIPFLAG=$(DEF_STRIPFLAG)
104
105# set __GNUC= in the environment to build 32-bit with the gcc compiler.
106__GNUC= $(POUND_SIGN)
107
108# set __GNUC64 to '#' in the environment to build 64-bit with the Studio
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, Version 1.0 only
6# (the "License"). You may not use this file except in compliance
7# with the License.
8#

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

101
102DEF_STRIPFLAG=
103STRIPFLAG=$(DEF_STRIPFLAG)
104
105# set __GNUC= in the environment to build 32-bit with the gcc compiler.
106__GNUC= $(POUND_SIGN)
107
108# set __GNUC64 to '#' in the environment to build 64-bit with the Studio
109# compiler.
110__GNUC64=
109# compiler. The default is to use gcc for amd64 but not sparcv9.
110__GNUC64= $(INTEL_BLD)
111
112# BUILD_TOOLS is the root of all tools including compilers.
113# ONBLD_TOOLS is the root of all the tools that are part of SUNWonbld.
114
115BUILD_TOOLS= /ws/onnv-tools
116ONBLD_TOOLS= $(BUILD_TOOLS)/onbld
117
118JAVA_ROOT= /usr/java

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

378#
379CTF_FLAGS_sparc = -g -Wc,-Qiselect-T1 $(C99MODE) $(CNOGLOBAL)
380CTF_FLAGS_i386 = -g $(C99MODE) $(CNOGLOBAL)
381CTF_FLAGS = $(CTF_FLAGS_$(MACH))
382
383#
384# Flags used with genoffsets
385#
111
112# BUILD_TOOLS is the root of all tools including compilers.
113# ONBLD_TOOLS is the root of all the tools that are part of SUNWonbld.
114
115BUILD_TOOLS= /ws/onnv-tools
116ONBLD_TOOLS= $(BUILD_TOOLS)/onbld
117
118JAVA_ROOT= /usr/java

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

378#
379CTF_FLAGS_sparc = -g -Wc,-Qiselect-T1 $(C99MODE) $(CNOGLOBAL)
380CTF_FLAGS_i386 = -g $(C99MODE) $(CNOGLOBAL)
381CTF_FLAGS = $(CTF_FLAGS_$(MACH))
382
383#
384# Flags used with genoffsets
385#
386GOFLAGS =
387$(INTEL_BLD)GOFLAGS = -_noecho \
386GOFLAGS = -_noecho \
388 -_gcc=-fno-eliminate-unused-debug-symbols \
389 -_gcc=-fno-eliminate-unused-debug-types
390
391OFFSETS_CREATE = $(GENOFFSETS) -s $(CTFSTABS) -r $(CTFCONVERT) \
392 $(CC) $(GOFLAGS) $(CFLAGS) $(CPPFLAGS)
393
394OFFSETS_CREATE64 = $(GENOFFSETS) -s $(CTFSTABS) -r $(CTFCONVERT) \
395 $(CC) $(GOFLAGS) $(CFLAGS64) $(CPPFLAGS)

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

566#
567SPRO_ROOT= $(BUILD_TOOLS)/SUNWspro
568SPRO_VROOT= $(SPRO_ROOT)/SOS8
569GNU_ROOT= $(SFW_ROOT)
570
571# Specify platform compiler versions for languages
572# that we use (currently only c and c++).
573#
387 -_gcc=-fno-eliminate-unused-debug-symbols \
388 -_gcc=-fno-eliminate-unused-debug-types
389
390OFFSETS_CREATE = $(GENOFFSETS) -s $(CTFSTABS) -r $(CTFCONVERT) \
391 $(CC) $(GOFLAGS) $(CFLAGS) $(CPPFLAGS)
392
393OFFSETS_CREATE64 = $(GENOFFSETS) -s $(CTFSTABS) -r $(CTFCONVERT) \
394 $(CC) $(GOFLAGS) $(CFLAGS64) $(CPPFLAGS)

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

565#
566SPRO_ROOT= $(BUILD_TOOLS)/SUNWspro
567SPRO_VROOT= $(SPRO_ROOT)/SOS8
568GNU_ROOT= $(SFW_ROOT)
569
570# Specify platform compiler versions for languages
571# that we use (currently only c and c++).
572#
574sparc_CC= $(SPRO_VROOT)/bin/cc
575sparc_CCC= $(SPRO_VROOT)/bin/CC
573sparc_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc
574$(__GNUC)sparc_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
575sparc_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_CC
576$(__GNUC)sparc_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_g++
576sparc_CPP= /usr/ccs/lib/cpp
577sparc_AS= /usr/ccs/bin/as -xregsym=no
578sparc_LD= /usr/ccs/bin/ld
579sparc_LINT= $(SPRO_VROOT)/bin/lint
580
577sparc_CPP= /usr/ccs/lib/cpp
578sparc_AS= /usr/ccs/bin/as -xregsym=no
579sparc_LD= /usr/ccs/bin/ld
580sparc_LINT= $(SPRO_VROOT)/bin/lint
581
581sparcv9_CC= $(SPRO_VROOT)/bin/cc
582sparcv9_CCC= $(SPRO_VROOT)/bin/CC
582sparcv9_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc
583$(__GNUC64)sparcv9_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
584sparcv9_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_CC
585$(__GNUC64)sparcv9_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_g++
583sparcv9_CPP= /usr/ccs/lib/cpp
584sparcv9_AS= /usr/ccs/bin/as -xregsym=no
585sparcv9_LD= /usr/ccs/bin/ld
586sparcv9_LINT= $(SPRO_VROOT)/bin/lint
587
588# We compile 32-bit objects with cc by default
589i386_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc
590$(__GNUC)i386_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc

--- 339 unchanged lines hidden ---
586sparcv9_CPP= /usr/ccs/lib/cpp
587sparcv9_AS= /usr/ccs/bin/as -xregsym=no
588sparcv9_LD= /usr/ccs/bin/ld
589sparcv9_LINT= $(SPRO_VROOT)/bin/lint
590
591# We compile 32-bit objects with cc by default
592i386_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc
593$(__GNUC)i386_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc

--- 339 unchanged lines hidden ---