Ignore:
Timestamp:
Dec 6, 2006, 5:00:16 AM (19 years ago)
Author:
bird
Message:

cleanup. PATH_DEV* -> PATH_DEVTOOLS*.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/GCC3.kmk

    r665 r667  
    22## @file
    33#
    4 # kBuild Tool Config - Generic GCC.
     4# kBuild Tool Config - Generic GCC v3.2.x or later Using The System GCC.
    55#
    66# Copyright (c) 2004-2006 knut st. osmundsen <bird-srcspam@anduin.net>
     
    2525#
    2626
    27 TOOL_GCC3                    := Generic GCC v3
    28 
    29 TOOL_GCC3_CC                 ?= gcc$(HOSTSUFF_EXE)
    30 TOOL_GCC3_COBJSUFF           ?= .o
    31 TOOL_GCC3_CFLAGS             ?=
    32 TOOL_GCC3_CFLAGS.debug       ?= -g
    33 TOOL_GCC3_CFLAGS.profile     ?= -g -O2 #-pg
    34 TOOL_GCC3_CFLAGS.release     ?= -O2
    35 TOOL_GCC3_CINCS              ?=
    36 TOOL_GCC3_CDEFS              ?=
    37 
    38 TOOL_GCC3_CXX                ?= g++$(HOSTSUFF_EXE)
    39 TOOL_GCC3_CXXOBJSUFF         ?= .o
    40 TOOL_GCC3_CXXOBJSUFF         ?= .o
    41 TOOL_GCC3_CXXFLAGS           ?=
    42 TOOL_GCC3_CXXFLAGS.debug     ?= -g
    43 TOOL_GCC3_CXXFLAGS.profile   ?= -g -O2 #-pg
    44 TOOL_GCC3_CXXFLAGS.release   ?= -O2
    45 TOOL_GCC3_CXXINCS            ?=
    46 TOOL_GCC3_CXXDEFS            ?=
    47 
    48 TOOL_GCC3_AS                 ?= gcc$(HOSTSUFF_EXE)
    49 TOOL_GCC3_ASFLAGS            ?= -x assembler-with-cpp
    50 TOOL_GCC3_ASFLAGS.debug      ?= -g
    51 TOOL_GCC3_ASFLAGS.profile    ?= -g
    52 TOOL_GCC3_ASOBJSUFF          ?= .o
    53 
    54 TOOL_GCC3_AR                 ?= ar$(HOSTSUFF_EXE)
    55 TOOL_GCC3_ARFLAGS            ?= cr
    56 TOOL_GCC3_ARLIBSUFF          ?= .a
    57 
     27TOOL_GCC3 := Generic GCC v3.2.x or later Using The System GCC.
     28
     29# Tool Specific Properties
     30TOOL_GCC3_CC  ?= gcc$(HOSTSUFF_EXE)
     31TOOL_GCC3_CXX ?= g++$(HOSTSUFF_EXE)
     32TOOL_GCC3_AS  ?= gcc$(HOSTSUFF_EXE)
     33TOOL_GCC3_AR  ?= ar$(HOSTSUFF_EXE)
    5834ifeq ($(BUILD_TARGET),os2)
    59 TOOL_GCC3_AR_IMP             ?= emximp$(HOSTSTUFF_EXE)
     35TOOL_GCC3_AR_IMP ?= emximp$(HOSTSTUFF_EXE)
    6036else
    61 TOOL_GCC3_AR_IMP             ?= $(ECHO) not supported!
    62 endif
    63 
    64 TOOL_GCC3_LD                 ?= g++$(HOSTSUFF_EXE)
    65 TOOL_GCC3_LD_SYSMOD          ?= ld$(HOSTSUFF_EXE)
    66 TOOL_GCC3_LDFLAGS            ?=
    67 TOOL_GCC3_LDFLAGS.debug      ?= -g
    68 TOOL_GCC3_LDFLAGS.profile    ?= -g
     37TOOL_GCC3_AR_IMP ?= $(ECHO) not supported!
     38endif
     39TOOL_GCC3_LD ?= g++$(HOSTSUFF_EXE)
     40TOOL_GCC3_LD_SYSMOD ?= ld$(HOSTSUFF_EXE)
    6941ifndef TOOL_GCC3_LDFLAGS.$(BUILD_TARGET)
    70 TOOL_GCC3_LDFLAGS.dll        ?= -shared
     42TOOL_GCC3_LDFLAGS.dll ?= -shared
    7143else
    72 TOOL_GCC3_LDFLAGS.dll        ?= $(TOOL_GCC3_LDFLAGS.$(BUILD_TARGET))
    73 endif
    74 TOOL_GCC3_LDFLAGS.sysmod     ?= -r
    75 TOOL_GCC3_LD_SONAME          ?= -Wl,-soname=$(firstword $($(1)_SONAME.$(BUILD_TARGET).$(BUILD_TYPE)) $($(1)_SONAME.$(BUILD_TARGET)) $($(1)_SONAME.$(BUILD_TYPE)) $($(1)_SONAME) $(notdir $(2)))
     44TOOL_GCC3_LDFLAGS.dll ?= $(TOOL_GCC3_LDFLAGS.$(BUILD_TARGET))
     45endif
     46TOOL_GCC3_LDFLAGS.sysmod ?= -r
     47TOOL_GCC3_LD_SONAME ?= -Wl,-soname=$(firstword $($(1)_SONAME.$(BUILD_TARGET).$(BUILD_TYPE)) $($(1)_SONAME.$(BUILD_TARGET)) $($(1)_SONAME.$(BUILD_TYPE)) $($(1)_SONAME) $(notdir $(2)))
    7648ifeq ($(BUILD_TARGET),os2)
    77 TOOL_GCC3_LD_MAP             ?= -Zmap=$(1)
    78 TOOL_GCC3_LD_SYSMOD_MAP      ?= -Zmap=$(1)
     49TOOL_GCC3_LD_MAP ?= -Zmap=$(1)
     50TOOL_GCC3_LD_SYSMOD_MAP ?= -Zmap=$(1)
    7951else
    80 TOOL_GCC3_LD_MAP             ?= -Wl,-Map -Wl,$(1) -Wl,--cref
    81 TOOL_GCC3_LD_SYSMOD_MAP      ?= -Map $(1) --cref
     52TOOL_GCC3_LD_MAP ?= -Wl,-Map -Wl,$(1) -Wl,--cref
     53TOOL_GCC3_LD_SYSMOD_MAP ?= -Map $(1) --cref
    8254endif
    8355ifdef SLKRUNS
     
    8557TOOL_GCC3_CXX += -fmessage-length=0
    8658endif
     59
     60# General Properties used by kBuild
     61TOOL_GCC3_COBJSUFF         ?= .o
     62TOOL_GCC3_CFLAGS           ?=
     63TOOL_GCC3_CFLAGS.debug     ?= -g
     64TOOL_GCC3_CFLAGS.profile   ?= -g -O2 #-pg
     65TOOL_GCC3_CFLAGS.release   ?= -O2
     66TOOL_GCC3_CINCS            ?=
     67TOOL_GCC3_CDEFS            ?=
     68
     69TOOL_GCC3_CXXOBJSUFF       ?= .o
     70TOOL_GCC3_CXXOBJSUFF       ?= .o
     71TOOL_GCC3_CXXFLAGS         ?=
     72TOOL_GCC3_CXXFLAGS.debug   ?= -g
     73TOOL_GCC3_CXXFLAGS.profile ?= -g -O2 #-pg
     74TOOL_GCC3_CXXFLAGS.release ?= -O2
     75TOOL_GCC3_CXXINCS          ?=
     76TOOL_GCC3_CXXDEFS          ?=
     77
     78TOOL_GCC3_ASFLAGS          ?= -x assembler-with-cpp
     79TOOL_GCC3_ASFLAGS.debug    ?= -g
     80TOOL_GCC3_ASFLAGS.profile  ?= -g
     81TOOL_GCC3_ASOBJSUFF        ?= .o
     82
     83TOOL_GCC3_ARFLAGS          ?= cr
     84TOOL_GCC3_ARLIBSUFF        ?= .a
     85
     86TOOL_GCC3_LDFLAGS          ?=
     87TOOL_GCC3_LDFLAGS.debug    ?= -g
     88TOOL_GCC3_LDFLAGS.profile  ?= -g
    8789
    8890
Note: See TracChangeset for help on using the changeset viewer.