Changeset 2951 for trunk/kBuild/tools/VCC100X86.kmk
- Timestamp:
- Sep 21, 2016, 1:14:43 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC100X86.kmk
r2902 r2951 150 150 TOOL_VCC100X86_COMPILE_C_DEPEND = 151 151 TOOL_VCC100X86_COMPILE_C_DEPORD = 152 ifdef KBUILD_USE_KOBJCACHE 153 TOOL_VCC100X86_COMPILE_C_USES_KOBJCACHE = 1 154 TOOL_VCC100X86_COMPILE_C_OUTPUT = $(outbase).i 155 TOOL_VCC100X86_COMPILE_C_OUTPUT_MAYBE = 156 define TOOL_VCC100X86_COMPILE_C_CMDS 157 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -O2 -r\ 158 --make-dep-fix-case --make-dep-gen-stubs --make-dep-quiet --make-dep-file $(dep)\ 159 --kObjCache-cpp $(outbase).i\ 160 $(TOOL_VCC100X86_CC) -E\ 161 $(subst -Zi,-Z7,$(flags))\ 162 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 163 $(subst /,\\,$(abspath $(source))) \ 164 --kObjCache-cc $(obj)\ 165 $(TOOL_VCC100X86_CC) -c\ 166 $(subst -Zi,-Z7,$(flags))\ 167 -Fo$(obj)\ 168 $(outbase).i 169 endef 170 else # !KBUILD_USE_KOBJCACHE 171 TOOL_VCC100X86_COMPILE_C_OUTPUT = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb) 172 TOOL_VCC100X86_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,pdb) 173 ifdef TOOL_VCC100X86_KSUBMIT 174 define TOOL_VCC100X86_COMPILE_C_CMDS 152 TOOL_VCC100X86_COMPILE_C_OUTPUT = 153 TOOL_VCC100X86_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb) 154 ifdef TOOL_VCC100X86_KSUBMIT 155 TOOL_VCC100X86_COMPILE_C_DONT_PURGE_OUTPUT = 1 # speed 156 define TOOL_VCC100X86_COMPILE_C_CMDS 175 157 $(QUIET)$(TOOL_VCC100X86_KSUBMIT) -P $(DEP_OBJ_INT) -f -s -q -o $(dep) -t $(obj) $(obj)\ 176 158 -- $(TOOL_VCC100X86_CC) -c\ 177 159 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 178 160 -Fd$(outbase)-obj.pdb \ 179 -FD\180 161 -Fo$(obj)\ 181 162 $(subst /,\\,$(abspath $(source))) 182 endef183 184 define TOOL_VCC100X86_COMPILE_C_CMDS163 endef 164 else 165 define TOOL_VCC100X86_COMPILE_C_CMDS 185 166 $(QUIET)$(TOOL_VCC100X86_CC) -c\ 186 167 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 187 168 -Fd$(outbase)-obj.pdb \ 188 -FD\189 169 -Fo$(obj)\ 190 170 $(subst /,\\,$(abspath $(source))) 191 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100X86_PDB,$(outbase)-obj,idb) 192 endef 193 endif # !TOOL_VCC100X86_KSUBMIT 194 endif # !KBUILD_USE_KOBJCACHE 171 $(QUIET)$(DEP_OBJ) -f -s -q -o $(dep) -t $(obj) $(obj) 172 endef 173 endif # !TOOL_VCC100X86_KSUBMIT 195 174 196 175 … … 210 189 TOOL_VCC100X86_COMPILE_CXX_DEPEND = 211 190 TOOL_VCC100X86_COMPILE_CXX_DEPORD = 212 ifdef KBUILD_USE_KOBJCACHE 213 TOOL_VCC100X86_COMPILE_CXX_USES_KOBJCACHE = 1 214 TOOL_VCC100X86_COMPILE_CXX_OUTPUT = $(outbase).ii 215 TOOL_VCC100X86_COMPILE_CXX_OUTPUT_MAYBE = 216 define TOOL_VCC100X86_COMPILE_CXX_CMDS 217 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -O2 -r\ 218 --make-dep-fix-case --make-dep-gen-stubs --make-dep-quiet --make-dep-file $(dep)\ 219 --kObjCache-cpp $(outbase).ii\ 220 $(TOOL_VCC100X86_CXX) -E\ 221 $(subst -Zi,-Z7,$(flags))\ 222 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 223 $(subst /,\\,$(abspath $(source))) \ 224 --kObjCache-cc $(obj)\ 225 $(TOOL_VCC100X86_CXX) -c\ 226 $(subst -Zi,-Z7,$(flags))\ 227 -Fo$(obj)\ 228 $(outbase).ii 229 endef 230 else # !KBUILD_USE_KOBJCACHE 231 TOOL_VCC100X86_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb) 232 TOOL_VCC100X86_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,pdb) 233 ifdef TOOL_VCC100X86_KSUBMIT 234 define TOOL_VCC100X86_COMPILE_CXX_CMDS 191 TOOL_VCC100X86_COMPILE_CXX_OUTPUT = 192 TOOL_VCC100X86_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb) 193 ifdef TOOL_VCC100X86_KSUBMIT 194 TOOL_VCC100X86_COMPILE_CXX_DONT_PURGE_OUTPUT = 1 # speed 195 define TOOL_VCC100X86_COMPILE_CXX_CMDS 235 196 $(QUIET)$(TOOL_VCC100X86_KSUBMIT) -P $(DEP_OBJ_INT) -f -s -q -o $(dep) -t $(obj) $(obj)\ 236 197 -- $(TOOL_VCC100X86_CXX) -c\ 237 198 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 238 199 -Fd$(outbase)-obj.pdb \ 239 -FD\240 200 -Fo$(obj)\ 241 201 $(subst /,\\,$(abspath $(source))) 242 endef243 244 define TOOL_VCC100X86_COMPILE_CXX_CMDS202 endef 203 else 204 define TOOL_VCC100X86_COMPILE_CXX_CMDS 245 205 $(QUIET)$(TOOL_VCC100X86_CXX) -c\ 246 206 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 247 207 -Fd$(outbase)-obj.pdb \ 248 -FD\249 208 -Fo$(obj)\ 250 209 $(subst /,\\,$(abspath $(source))) 251 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100X86_PDB,$(outbase)-obj,idb) 252 endef 253 endif # !TOOL_VCC100X86_KSUBMIT 254 endif # !KBUILD_USE_KOBJCACHE 210 $(QUIET)$(DEP_OBJ) -f -s -q -o $(dep) -t $(obj) $(obj) 211 endef 212 endif # !TOOL_VCC100X86_KSUBMIT 255 213 256 214 ## @todo configure the assembler template.
Note:
See TracChangeset
for help on using the changeset viewer.