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/VCC80AMD64.kmk

    r857 r1031  
    121121# @param    $(outbase)  Output basename (full). Use this for list files and such.
    122122# @param    $(objsuff)  Object suffix.
    123 TOOL_VCC80AMD64_COMPILE_C_OUTPUT = $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,idb)
    124123TOOL_VCC80AMD64_COMPILE_C_DEPEND =
    125124TOOL_VCC80AMD64_COMPILE_C_DEPORD =
    126 ifndef VCC80AMD64_OLD_DEPS
     125TOOL_VCC80AMD64_COMPILE_C_OUTPUT = $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,idb)
    127126define TOOL_VCC80AMD64_COMPILE_C_CMDS
    128127        $(QUIET)$(TOOL_VCC80AMD64_CC) -c\
     
    134133        $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC80AMD64_PDB,$(outbase)-obj,idb)
    135134endef
    136 else
    137 define TOOL_VCC80AMD64_COMPILE_C_CMDS
    138         $(QUIET)$(TOOL_VCC80AMD64_CC) -c\
    139                 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    140                 -Fd$(outbase)-obj.pdb \
    141                 -Fo$(obj)\
    142                 $(subst /,\\,$(abspath $(source)))
    143         $(QUIET)$(TOOL_VCC80AMD64_CC) -E\
    144                 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    145                 $(subst /,\\,$(abspath $(source)))\
    146                 | $(DEP_PRE) -f -s -o $(dep) -t $(obj) -
    147 endef
    148 endif
    149135
    150136
     
    162148# @param    $(outbase)  Output basename (full). Use this for list files and such.
    163149# @param    $(objsuff)  Object suffix.
    164 TOOL_VCC80AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,idb)
    165150TOOL_VCC80AMD64_COMPILE_CXX_DEPEND =
    166151TOOL_VCC80AMD64_COMPILE_CXX_DEPORD =
    167 ifndef VCC80AMD64_OLD_DEPS
     152TOOL_VCC80AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,idb)
    168153define TOOL_VCC80AMD64_COMPILE_CXX_CMDS
    169154        $(QUIET)$(TOOL_VCC80AMD64_CXX) -c\
     
    175160        $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC80AMD64_PDB,$(outbase)-obj,idb)
    176161endef
    177 else
    178 define TOOL_VCC80AMD64_COMPILE_CXX_CMDS
    179         $(QUIET)$(TOOL_VCC80AMD64_CXX) -c\
    180                 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    181                 -Fd$(outbase)-obj.pdb \
    182                 -Fo$(obj)\
    183                 $(subst /,\\,$(abspath $(source)))
    184         $(QUIET)$(TOOL_VCC80AMD64_CXX) -E\
    185                 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    186                 $(subst /,\\,$(abspath $(source)))\
    187                 | $(DEP_PRE) -f -s -o $(dep) -t $(obj) -
    188 endef
    189 endif
    190162
    191163
     
    203175# @param    $(outbase)  Output basename (full). Use this for list files and such.
    204176# @param    $(objsuff)  Object suffix.
    205 TOOL_VCC80AMD64_COMPILE_RC_OUTPUT =
    206177TOOL_VCC80AMD64_COMPILE_RC_DEPEND =
    207178TOOL_VCC80AMD64_COMPILE_RC_DEPORD =
     179TOOL_VCC80AMD64_COMPILE_RC_OUTPUT =
    208180define TOOL_VCC80AMD64_COMPILE_RC_CMDS
    209181        $(QUIET)$(TOOL_VCC80AMD64_RC) \
     
    226198TOOL_VCC80AMD64_LINK_LIBRARY_DEPEND = $(othersrc)
    227199TOOL_VCC80AMD64_LINK_LIBRARY_DEPORD =
    228 ifeq ($(filter append-dash-n,$(KMK_FEATURES)),append-dash-n)
    229 TOOL_VCC80AMD64_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(outbase).pdb $(outbase).rsp
     200TOOL_VCC80AMD64_LINK_LIBRARY_OUTPUT = $(outbase).rsp
     201TOOL_VCC80AMD64_LINK_LIBRARY_OUTPUT_MAYBE = $(outbase).lst $(outbase).exp $(outbase).pdb
    230202define TOOL_VCC80AMD64_LINK_LIBRARY_CMDS
    231203        $(QUIET)$(APPEND) -n $(outbase).rsp \
     
    237209        $(QUIET)$(TOOL_VCC80AMD64_AR) $(flags) /OUT:$(out) @$(outbase).rsp
    238210endef
    239 else
    240 TOOL_VCC80AMD64_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(outbase).pdb
    241 define TOOL_VCC80AMD64_LINK_LIBRARY_CMDS
    242         $(QUIET)$(TOOL_VCC80AMD64_AR) $(flags) /OUT:$(out) $(subst /,\\,$(objs) $(filter %.a %.lib,$(othersrc))) \
    243                 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def))
    244 endef
    245 endif
    246211
    247212
     
    260225# @param    $(outbase)      Output basename (full). Use this for list files and such.
    261226#
    262 TOOL_VCC80AMD64_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(outbase).pdb $(outbase).ilk $(out).manifest
    263227TOOL_VCC80AMD64_LINK_PROGRAM_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
    264228TOOL_VCC80AMD64_LINK_PROGRAM_DEPORD =
     229TOOL_VCC80AMD64_LINK_PROGRAM_OUTPUT = $(outbase).map
     230TOOL_VCC80AMD64_LINK_PROGRAM_OUTPUT_MAYBE = $(outbase).lib $(outbase).exp $(outbase).pdb $(outbase).ilk $(out).manifest
    265231define TOOL_VCC80AMD64_LINK_PROGRAM_CMDS
    266232        $(QUIET)$(TOOL_VCC80AMD64_LD) $(flags) \
     
    293259#
    294260# @param    $(outbase)  Output basename (full). Use this for list files and such.
    295 TOOL_VCC80AMD64_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(outbase).pdb $(outbase).ilk $(out).manifest
    296261TOOL_VCC80AMD64_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
    297262TOOL_VCC80AMD64_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_LIB))
     263TOOL_VCC80AMD64_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp
     264TOOL_VCC80AMD64_LINK_DLL_OUTPUT_MAYBE = $(outbase).pdb $(outbase).ilk $(out).manifest
    298265define TOOL_VCC80AMD64_LINK_DLL_CMDS
    299266        $(QUIET)$(TOOL_VCC80AMD64_LD) $(flags) \
     
    333300#
    334301# @param    $(outbase)  Output basename (full). Use this for list files and such.
    335 TOOL_VCC80AMD64_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(outbase).pdb $(outbase).ilk $(out).manifest
    336302TOOL_VCC80AMD64_LINK_SYSMOD_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
    337303TOOL_VCC80AMD64_LINK_SYSMOD_DEPORD =
     304TOOL_VCC80AMD64_LINK_SYSMOD_OUTPUT = $(outbase).map
     305TOOL_VCC80AMD64_LINK_SYSMOD_OUTPUT_MAYBE = $(outbase).lib $(outbase).exp $(outbase).pdb $(outbase).ilk $(out).manifest
    338306define TOOL_VCC80AMD64_LINK_SYSMOD_CMDS
    339307        $(QUIET)$(TOOL_VCC80AMD64_LD) $(flags) \
Note: See TracChangeset for help on using the changeset viewer.