Ignore:
Timestamp:
Jun 4, 2007, 3:56:58 AM (18 years ago)
Author:
bird
Message:

MAYBE output. removed some obsolete stuff.

File:
1 edited

Legend:

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

    r857 r1031  
    142142# @param    $(outbase)  Output basename (full). Use this for list files and such.
    143143# @param    $(objsuff)  Object suffix.
    144 TOOL_VCC80_COMPILE_C_OUTPUT = $(call TOOL_VCC80_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC80_PDB, $(outbase)-obj,idb)
    145144TOOL_VCC80_COMPILE_C_DEPEND =
    146145TOOL_VCC80_COMPILE_C_DEPORD =
    147 ifndef VCC80_OLD_DEPS
     146TOOL_VCC80_COMPILE_C_OUTPUT = $(call TOOL_VCC80_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC80_PDB, $(outbase)-obj,idb)
    148147define TOOL_VCC80_COMPILE_C_CMDS
    149148        $(QUIET)$(TOOL_VCC80_CC) -c\
     
    155154        $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC80_PDB,$(outbase)-obj,idb)
    156155endef
    157 else
    158 define TOOL_VCC80_COMPILE_C_CMDS
    159         $(QUIET)$(TOOL_VCC80_CC) -c\
    160                 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    161                 -Fd$(outbase)-obj.pdb \
    162                 -Fo$(obj)\
    163                 $(subst /,\\,$(abspath $(source)))
    164         $(QUIET)$(TOOL_VCC80_CC) -E\
    165                 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    166                 $(subst /,\\,$(abspath $(source)))\
    167                 | $(DEP_PRE) -f -s -o $(dep) -t $(obj) -
    168 endef
    169 endif
    170156
    171157
     
    183169# @param    $(outbase)  Output basename (full). Use this for list files and such.
    184170# @param    $(objsuff)  Object suffix.
    185 TOOL_VCC80_COMPILE_CXX_OUTPUT = $(call TOOL_VCC80_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC80_PDB, $(outbase)-obj,idb)
    186171TOOL_VCC80_COMPILE_CXX_DEPEND =
    187172TOOL_VCC80_COMPILE_CXX_DEPORD =
    188 ifndef VCC80_OLD_DEPS
     173TOOL_VCC80_COMPILE_CXX_OUTPUT = $(call TOOL_VCC80_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC80_PDB, $(outbase)-obj,idb)
    189174define TOOL_VCC80_COMPILE_CXX_CMDS
    190175        $(QUIET)$(TOOL_VCC80_CXX) -c\
     
    196181        $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC80_PDB,$(outbase)-obj,idb)
    197182endef
    198 else
    199 define TOOL_VCC80_COMPILE_CXX_CMDS
    200         $(QUIET)$(TOOL_VCC80_CXX) -c\
    201                 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    202                 -Fd$(outbase)-obj.pdb \
    203                 -Fo$(obj)\
    204                 $(subst /,\\,$(abspath $(source)))
    205         $(QUIET)$(TOOL_VCC80_CXX) -E\
    206                 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    207                 $(subst /,\\,$(abspath $(source)))\
    208                 | $(DEP_PRE) -f -s -o $(dep) -t $(obj) -
    209 endef
    210 endif
    211183
    212184
     
    247219TOOL_VCC80_LINK_LIBRARY_DEPEND = $(othersrc)
    248220TOOL_VCC80_LINK_LIBRARY_DEPORD =
    249 ifeq ($(filter append-dash-n,$(KMK_FEATURES)),append-dash-n)
    250 TOOL_VCC80_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(outbase).pdb $(outbase).rsp
     221TOOL_VCC80_LINK_LIBRARY_OUTPUT = $(outbase).rsp
     222TOOL_VCC80_LINK_LIBRARY_OUTPUT_MAYBE = $(outbase).lst $(outbase).exp $(outbase).pdb
    251223define TOOL_VCC80_LINK_LIBRARY_CMDS
    252224        $(QUIET)$(APPEND) -n $(outbase).rsp \
     
    258230        $(QUIET)$(TOOL_VCC80_AR) $(flags) /OUT:$(out) @$(outbase).rsp
    259231endef
    260 else
    261 TOOL_VCC80_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(outbase).pdb
    262 define TOOL_VCC80_LINK_LIBRARY_CMDS
    263         $(QUIET)$(TOOL_VCC80_AR) $(flags) /OUT:$(out) $(subst /,\\,$(objs) $(filter %.a %.lib,$(othersrc))) \
    264                 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def))
    265 endef
    266 endif
    267232
    268233
     
    283248# @param    $(outbase)      Output basename (full). Use this for list files and such.
    284249#
    285 TOOL_VCC80_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(outbase).pdb $(outbase).ilk $(out).manifest
    286250TOOL_VCC80_LINK_PROGRAM_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
    287251TOOL_VCC80_LINK_PROGRAM_DEPORD =
     252TOOL_VCC80_LINK_PROGRAM_OUTPUT = $(outbase).map
     253TOOL_VCC80_LINK_PROGRAM_OUTPUT_MAYBE = $(outbase).map $(outbase).lib $(outbase).exp $(outbase).pdb $(outbase).ilk $(out).manifest
    288254define TOOL_VCC80_LINK_PROGRAM_CMDS
    289255        $(QUIET)$(TOOL_VCC80_LD) $(flags) \
     
    316282#
    317283# @param    $(outbase)  Output basename (full). Use this for list files and such.
    318 TOOL_VCC80_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(outbase).pdb $(outbase).ilk $(out).manifest
    319284TOOL_VCC80_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
    320285TOOL_VCC80_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_LIB))
     286TOOL_VCC80_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp
     287TOOL_VCC80_LINK_DLL_OUTPUT_MAYBE = $(outbase).pdb $(outbase).ilk $(out).manifest
    321288define TOOL_VCC80_LINK_DLL_CMDS
    322289        $(QUIET)$(TOOL_VCC80_LD) $(flags) \
     
    356323#
    357324# @param    $(outbase)  Output basename (full). Use this for list files and such.
    358 TOOL_VCC80_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(outbase).pdb $(outbase).ilk $(out).manifest
    359325TOOL_VCC80_LINK_SYSMOD_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
    360326TOOL_VCC80_LINK_SYSMOD_DEPORD =
     327TOOL_VCC80_LINK_SYSMOD_OUTPUT = $(outbase).map
     328TOOL_VCC80_LINK_SYSMOD_OUTPUT_MAYBE = $(outbase).lib $(outbase).exp $(outbase).pdb $(outbase).ilk $(out).manifest
    361329define TOOL_VCC80_LINK_SYSMOD_CMDS
    362330        $(QUIET)$(TOOL_VCC80_LD) $(flags) \
Note: See TracChangeset for help on using the changeset viewer.