Changeset 1031 for trunk/kBuild/tools/VCC80AMD64.kmk
- Timestamp:
- Jun 4, 2007, 3:56:58 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC80AMD64.kmk
r857 r1031 121 121 # @param $(outbase) Output basename (full). Use this for list files and such. 122 122 # @param $(objsuff) Object suffix. 123 TOOL_VCC80AMD64_COMPILE_C_OUTPUT = $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,idb)124 123 TOOL_VCC80AMD64_COMPILE_C_DEPEND = 125 124 TOOL_VCC80AMD64_COMPILE_C_DEPORD = 126 ifndef VCC80AMD64_OLD_DEPS 125 TOOL_VCC80AMD64_COMPILE_C_OUTPUT = $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,idb) 127 126 define TOOL_VCC80AMD64_COMPILE_C_CMDS 128 127 $(QUIET)$(TOOL_VCC80AMD64_CC) -c\ … … 134 133 $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC80AMD64_PDB,$(outbase)-obj,idb) 135 134 endef 136 else137 define TOOL_VCC80AMD64_COMPILE_C_CMDS138 $(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 endef148 endif149 135 150 136 … … 162 148 # @param $(outbase) Output basename (full). Use this for list files and such. 163 149 # @param $(objsuff) Object suffix. 164 TOOL_VCC80AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,idb)165 150 TOOL_VCC80AMD64_COMPILE_CXX_DEPEND = 166 151 TOOL_VCC80AMD64_COMPILE_CXX_DEPORD = 167 ifndef VCC80AMD64_OLD_DEPS 152 TOOL_VCC80AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC80AMD64_PDB, $(outbase)-obj,idb) 168 153 define TOOL_VCC80AMD64_COMPILE_CXX_CMDS 169 154 $(QUIET)$(TOOL_VCC80AMD64_CXX) -c\ … … 175 160 $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC80AMD64_PDB,$(outbase)-obj,idb) 176 161 endef 177 else178 define TOOL_VCC80AMD64_COMPILE_CXX_CMDS179 $(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 endef189 endif190 162 191 163 … … 203 175 # @param $(outbase) Output basename (full). Use this for list files and such. 204 176 # @param $(objsuff) Object suffix. 205 TOOL_VCC80AMD64_COMPILE_RC_OUTPUT =206 177 TOOL_VCC80AMD64_COMPILE_RC_DEPEND = 207 178 TOOL_VCC80AMD64_COMPILE_RC_DEPORD = 179 TOOL_VCC80AMD64_COMPILE_RC_OUTPUT = 208 180 define TOOL_VCC80AMD64_COMPILE_RC_CMDS 209 181 $(QUIET)$(TOOL_VCC80AMD64_RC) \ … … 226 198 TOOL_VCC80AMD64_LINK_LIBRARY_DEPEND = $(othersrc) 227 199 TOOL_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).rsp200 TOOL_VCC80AMD64_LINK_LIBRARY_OUTPUT = $(outbase).rsp 201 TOOL_VCC80AMD64_LINK_LIBRARY_OUTPUT_MAYBE = $(outbase).lst $(outbase).exp $(outbase).pdb 230 202 define TOOL_VCC80AMD64_LINK_LIBRARY_CMDS 231 203 $(QUIET)$(APPEND) -n $(outbase).rsp \ … … 237 209 $(QUIET)$(TOOL_VCC80AMD64_AR) $(flags) /OUT:$(out) @$(outbase).rsp 238 210 endef 239 else240 TOOL_VCC80AMD64_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(outbase).pdb241 define TOOL_VCC80AMD64_LINK_LIBRARY_CMDS242 $(QUIET)$(TOOL_VCC80AMD64_AR) $(flags) /OUT:$(out) $(subst /,\\,$(objs) $(filter %.a %.lib,$(othersrc))) \243 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def))244 endef245 endif246 211 247 212 … … 260 225 # @param $(outbase) Output basename (full). Use this for list files and such. 261 226 # 262 TOOL_VCC80AMD64_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(outbase).pdb $(outbase).ilk $(out).manifest263 227 TOOL_VCC80AMD64_LINK_PROGRAM_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 264 228 TOOL_VCC80AMD64_LINK_PROGRAM_DEPORD = 229 TOOL_VCC80AMD64_LINK_PROGRAM_OUTPUT = $(outbase).map 230 TOOL_VCC80AMD64_LINK_PROGRAM_OUTPUT_MAYBE = $(outbase).lib $(outbase).exp $(outbase).pdb $(outbase).ilk $(out).manifest 265 231 define TOOL_VCC80AMD64_LINK_PROGRAM_CMDS 266 232 $(QUIET)$(TOOL_VCC80AMD64_LD) $(flags) \ … … 293 259 # 294 260 # @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).manifest296 261 TOOL_VCC80AMD64_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 297 262 TOOL_VCC80AMD64_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_LIB)) 263 TOOL_VCC80AMD64_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp 264 TOOL_VCC80AMD64_LINK_DLL_OUTPUT_MAYBE = $(outbase).pdb $(outbase).ilk $(out).manifest 298 265 define TOOL_VCC80AMD64_LINK_DLL_CMDS 299 266 $(QUIET)$(TOOL_VCC80AMD64_LD) $(flags) \ … … 333 300 # 334 301 # @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).manifest336 302 TOOL_VCC80AMD64_LINK_SYSMOD_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 337 303 TOOL_VCC80AMD64_LINK_SYSMOD_DEPORD = 304 TOOL_VCC80AMD64_LINK_SYSMOD_OUTPUT = $(outbase).map 305 TOOL_VCC80AMD64_LINK_SYSMOD_OUTPUT_MAYBE = $(outbase).lib $(outbase).exp $(outbase).pdb $(outbase).ilk $(out).manifest 338 306 define TOOL_VCC80AMD64_LINK_SYSMOD_CMDS 339 307 $(QUIET)$(TOOL_VCC80AMD64_LD) $(flags) \
Note:
See TracChangeset
for help on using the changeset viewer.