Changeset 1057 in kBuild
- Timestamp:
- Jun 11, 2007 9:38:18 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC70.kmk
r1029 r1057 118 118 TOOL_VCC70_COMPILE_C_DEPEND = 119 119 TOOL_VCC70_COMPILE_C_DEPORD = 120 ifdef USE_KOBJCACHE121 TOOL_VCC70_COMPILE_C_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) $(outbase).i122 TOOL_VCC70_COMPILE_C_USESES_KOBJCACHE = 1123 define TOOL_VCC70_COMPILE_C_CMDS124 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \125 $(TOOL_VCC70_CC) -E \126 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\127 $(subst /,\\,$(abspath $(source))) \128 --kObjCache-cc $(obj) \129 $(TOOL_VCC70_CC) -c -TC\130 $(flags) \131 -Fd$(outbase)-obj.pdb \132 -FD\133 -Fo$(obj)\134 $(subst /,\\,$(outbase).i)135 $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb)136 endef137 else # !USE_KOBJCACHE120 #ifdef USE_KOBJCACHE 121 #TOOL_VCC70_COMPILE_C_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) $(outbase).i 122 #TOOL_VCC70_COMPILE_C_USESES_KOBJCACHE = 1 123 #define TOOL_VCC70_COMPILE_C_CMDS 124 # $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 125 # $(TOOL_VCC70_CC) -E \ 126 # $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 127 # $(subst /,\\,$(abspath $(source))) \ 128 # --kObjCache-cc $(obj) \ 129 # $(TOOL_VCC70_CC) -c -TC\ 130 # $(flags) \ 131 # -Fd$(outbase)-obj.pdb \ 132 # -FD\ 133 # -Fo$(obj)\ 134 # $(subst /,\\,$(outbase).i) 135 # $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb) 136 #endef 137 #else # !USE_KOBJCACHE 138 138 TOOL_VCC70_COMPILE_C_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) 139 139 define TOOL_VCC70_COMPILE_C_CMDS … … 146 146 $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb) 147 147 endef 148 endif # !USE_KOBJCACHE148 #endif # !USE_KOBJCACHE 149 149 150 150 … … 165 165 TOOL_VCC70_COMPILE_CXX_DEPEND = 166 166 TOOL_VCC70_COMPILE_CXX_DEPORD = 167 ifdef USE_KOBJCACHE168 TOOL_VCC70_COMPILE_CXX_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) $(outbase).ii169 TOOL_VCC70_COMPILE_CXX_USES_KOBJCACHE = 1170 define TOOL_VCC70_COMPILE_CXX_CMDS171 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \172 $(TOOL_VCC70_CC) -E \173 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\174 $(subst /,\\,$(abspath $(source))) \175 --kObjCache-cc $(obj) \176 $(TOOL_VCC70_CC) -c -TP\177 $(flags) \178 -Fd$(outbase)-obj.pdb \179 -FD\180 -Fo$(obj)\181 $(subst /,\\,$(outbase).ii)182 $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb)183 endef184 else # !USE_KOBJCACHE167 #ifdef USE_KOBJCACHE 168 #TOOL_VCC70_COMPILE_CXX_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) $(outbase).ii 169 #TOOL_VCC70_COMPILE_CXX_USES_KOBJCACHE = 1 170 #define TOOL_VCC70_COMPILE_CXX_CMDS 171 # $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 172 # $(TOOL_VCC70_CC) -E \ 173 # $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 174 # $(subst /,\\,$(abspath $(source))) \ 175 # --kObjCache-cc $(obj) \ 176 # $(TOOL_VCC70_CC) -c -TP\ 177 # $(flags) \ 178 # -Fd$(outbase)-obj.pdb \ 179 # -FD\ 180 # -Fo$(obj)\ 181 # $(subst /,\\,$(outbase).ii) 182 # $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb) 183 #endef 184 #else # !USE_KOBJCACHE 185 185 TOOL_VCC70_COMPILE_CXX_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) 186 186 define TOOL_VCC70_COMPILE_CXX_CMDS … … 193 193 $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb) 194 194 endef 195 endif # !USE_KOBJCACHE195 #endif # !USE_KOBJCACHE 196 196 197 197 … … 232 232 TOOL_VCC70_LINK_LIBRARY_DEPEND = $(othersrc) 233 233 TOOL_VCC70_LINK_LIBRARY_DEPORD = 234 TOOL_VCC70_LINK_LIBRARY_OUTPUT = $(outbase).rsp 235 TOOL_VCC70_LINK_LIBRARY_OUTPUT_MAYBE = $(outbase).lst $(outbase).exp $(outbase).pdb 234 TOOL_VCC70_LINK_LIBRARY_OUTPUT = $(outbase).rsp 235 TOOL_VCC70_LINK_LIBRARY_OUTPUT_MAYBE = $(outbase).lst $(outbase).exp $(outbase).pdb 236 236 define TOOL_VCC70_LINK_LIBRARY_CMDS 237 237 $(QUIET)$(APPEND) -n $(outbase).rsp \ … … 289 289 # 290 290 # @param $(outbase) Output basename (full). Use this for list files and such. 291 TOOL_VCC70_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp 291 TOOL_VCC70_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp 292 292 TOOL_VCC70_LINK_DLL_OUTPUT_MAYBE = $(outbase).pdb $(outbase).ilk 293 293 TOOL_VCC70_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
Note:
See TracChangeset
for help on using the changeset viewer.