Changeset 2487 for trunk/kBuild/tools/VCC100AMD64.kmk
- Timestamp:
- Jul 21, 2011, 10:01:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC100AMD64.kmk
r2413 r2487 154 154 TOOL_VCC100AMD64_COMPILE_CXX_DEPEND = 155 155 TOOL_VCC100AMD64_COMPILE_CXX_DEPORD = 156 ifdef KBUILD_USE_KOBJCACHE 157 TOOL_VCC100AMD64_COMPILE_CXX_USES_KOBJCACHE = 1 158 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb) $(outbase).ii 159 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb) 160 if 1 161 define TOOL_VCC100AMD64_COMPILE_CXX_CMDS 162 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\ 163 --named-pipe-compile $(subst /,\\,//./pipe/kObjCache/$(translate $(outbase),:,_)/$(notdir $(source)))\ 164 --kObjCache-cpp $(outbase).ii\ 165 $(TOOL_VCC100AMD64_CXX) -E\ 166 $(flags)\ 167 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 168 $(subst /,\\,$(abspath $(source))) \ 169 --kObjCache-cc $(obj)\ 170 windbg $(TOOL_VCC100AMD64_CXX) -c -TP\ 171 $(flags)\ 172 -Fd$(outbase)-obj.pdb \ 173 -FD\ 174 -Fo$(obj)\ 175 $(subst /,\\,//./pipe/kObjCache/$(translate $(outbase),:,_)/$(notdir $(source))) 176 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb) 177 endef 178 else 179 define TOOL_VCC100AMD64_COMPILE_CXX_CMDS 180 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\ 181 --kObjCache-cpp $(outbase).ii\ 182 $(TOOL_VCC100AMD64_CXX) -E\ 183 $(flags)\ 184 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 185 $(subst /,\\,$(abspath $(source))) \ 186 --kObjCache-cc $(obj)\ 187 $(TOOL_VCC100AMD64_CXX) -c -TP\ 188 $(flags)\ 189 -Fd$(outbase)-obj.pdb \ 190 -FD\ 191 -Fo$(obj)\ 192 $(outbase).ii 193 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb) 194 endef 195 endif 196 else # !KBUILD_USE_KOBJCACHE 156 197 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb) 157 198 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb) … … 165 206 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb) 166 207 endef 167 208 endif # !KBUILD_USE_KOBJCACHE 168 209 169 210 ## Compile resource source. … … 264 305 # @param $(outbase) Output basename (full). Use this for list files and such. 265 306 TOOL_VCC100AMD64_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 266 TOOL_VCC100AMD64_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_ LIB))307 TOOL_VCC100AMD64_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_STAGE_LIB)) 267 308 TOOL_VCC100AMD64_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp 268 TOOL_VCC100AMD64_LINK_DLL_OUTPUT_MAYBE = $(outbase).pdb $(outbase).ilk $(out).manifest $(PATH_ LIB)/$(notdir $(outbase)).lib $(PATH_LIB)/$(notdir $(outbase)).exp309 TOOL_VCC100AMD64_LINK_DLL_OUTPUT_MAYBE = $(outbase).pdb $(outbase).ilk $(out).manifest $(PATH_STAGE_LIB)/$(notdir $(outbase)).lib $(PATH_STAGE_LIB)/$(notdir $(outbase)).exp 269 310 define TOOL_VCC100AMD64_LINK_DLL_CMDS 270 311 $(QUIET)$(TOOL_VCC100AMD64_LD) $(flags) \ … … 281 322 $(QUIET)$(TEST) -f $(out).manifest -- \ 282 323 $(TOOL_VCC100AMD64_MT) -manifest $(subst /,\\,$(out)).manifest '-outputresource:$(subst /,\\,$(out));#2' 283 $(QUIET)$(CP) --changed --ignore-non-existing $(outbase).exp $(outbase).lib $(PATH_ LIB)/284 $(eval _DIRS += $(PATH_ LIB))324 $(QUIET)$(CP) --changed --ignore-non-existing $(outbase).exp $(outbase).lib $(PATH_STAGE_LIB)/ 325 $(eval _DIRS += $(PATH_STAGE_LIB)) 285 326 endef 286 327
Note:
See TracChangeset
for help on using the changeset viewer.