Changeset 2621 in kBuild
- Timestamp:
- Aug 2, 2012 4:14:25 AM (12 years ago)
- Location:
- trunk/kBuild/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC100.kmk
r2611 r2621 155 155 TOOL_VCC100_COMPILE_C_DEPEND = 156 156 TOOL_VCC100_COMPILE_C_DEPORD = 157 TOOL_VCC100_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100_PDB, $(outbase)-obj,pdb)158 157 ifdef KBUILD_USE_KOBJCACHE 159 158 TOOL_VCC100_COMPILE_C_USES_KOBJCACHE = 1 160 TOOL_VCC100_COMPILE_C_OUTPUT = $(call TOOL_VCC100_PDB, $(outbase)-obj,idb) $(outbase).i 159 TOOL_VCC100_COMPILE_C_OUTPUT = $(outbase).i 160 TOOL_VCC100_COMPILE_C_OUTPUT_MAYBE = 161 161 define TOOL_VCC100_COMPILE_C_CMDS 162 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\ 162 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -O2 -r\ 163 --make-dep-fix-case --make-dep-gen-stubs --make-dep-quiet --make-dep-file $(dep)\ 163 164 --kObjCache-cpp $(outbase).i\ 164 165 $(TOOL_VCC100_CC) -E\ 165 $( flags)\166 $(subst -Zi,-Z7,$(flags))\ 166 167 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 167 168 $(subst /,\\,$(abspath $(source))) \ 168 169 --kObjCache-cc $(obj)\ 169 $(TOOL_VCC100_C) -c\ 170 $(flags)\ 171 -Fd$(outbase)-obj.pdb \ 172 -FD\ 170 $(TOOL_VCC100_CC) -c\ 171 $(subst -Zi,-Z7,$(flags))\ 173 172 -Fo$(obj)\ 174 173 $(outbase).i 175 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100_PDB,$(outbase)-obj,idb)176 174 endef 177 175 else # !KBUILD_USE_KOBJCACHE 178 176 TOOL_VCC100_COMPILE_C_OUTPUT = $(call TOOL_VCC100_PDB, $(outbase)-obj,idb) 177 TOOL_VCC100_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100_PDB, $(outbase)-obj,pdb) 179 178 define TOOL_VCC100_COMPILE_C_CMDS 180 179 $(QUIET)$(TOOL_VCC100_CC) -c\ … … 204 203 TOOL_VCC100_COMPILE_CXX_DEPEND = 205 204 TOOL_VCC100_COMPILE_CXX_DEPORD = 206 TOOL_VCC100_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100_PDB, $(outbase)-obj,pdb)207 205 ifdef KBUILD_USE_KOBJCACHE 208 206 TOOL_VCC100_COMPILE_CXX_USES_KOBJCACHE = 1 209 TOOL_VCC100_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100_PDB, $(outbase)-obj,idb) $(outbase).ii 207 TOOL_VCC100_COMPILE_CXX_OUTPUT = $(outbase).ii 208 TOOL_VCC100_COMPILE_CXX_OUTPUT_MAYBE = 210 209 define TOOL_VCC100_COMPILE_CXX_CMDS 211 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\ 210 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -O2 -r\ 211 --make-dep-fix-case --make-dep-gen-stubs --make-dep-quiet --make-dep-file $(dep)\ 212 212 --kObjCache-cpp $(outbase).ii\ 213 213 $(TOOL_VCC100_CXX) -E\ 214 $( flags)\214 $(subst -Zi,-Z7,$(flags))\ 215 215 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 216 216 $(subst /,\\,$(abspath $(source))) \ 217 217 --kObjCache-cc $(obj)\ 218 218 $(TOOL_VCC100_CXX) -c\ 219 $(flags)\ 220 -Fd$(outbase)-obj.pdb \ 221 -FD\ 219 $(subst -Zi,-Z7,$(flags))\ 222 220 -Fo$(obj)\ 223 221 $(outbase).ii 224 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100_PDB,$(outbase)-obj,idb)225 222 endef 226 223 else # !KBUILD_USE_KOBJCACHE 227 224 TOOL_VCC100_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100_PDB, $(outbase)-obj,idb) 225 TOOL_VCC100_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100_PDB, $(outbase)-obj,pdb) 228 226 define TOOL_VCC100_COMPILE_CXX_CMDS 229 227 $(QUIET)$(TOOL_VCC100_CXX) -c\ -
trunk/kBuild/tools/VCC100AMD64.kmk
r2611 r2621 136 136 TOOL_VCC100AMD64_COMPILE_C_DEPEND = 137 137 TOOL_VCC100AMD64_COMPILE_C_DEPORD = 138 TOOL_VCC100AMD64_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb)139 138 ifdef KBUILD_USE_KOBJCACHE 140 139 TOOL_VCC100AMD64_COMPILE_C_USES_KOBJCACHE = 1 141 TOOL_VCC100AMD64_COMPILE_C_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb) $(outbase).i 140 TOOL_VCC100AMD64_COMPILE_C_OUTPUT = $(outbase).i 141 TOOL_VCC100AMD64_COMPILE_C_OUTPUT_MAYBE = 142 142 define TOOL_VCC100AMD64_COMPILE_C_CMDS 143 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\ 143 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -O2 -r\ 144 --make-dep-fix-case --make-dep-gen-stubs --make-dep-quiet --make-dep-file $(dep)\ 144 145 --kObjCache-cpp $(outbase).i\ 145 146 $(TOOL_VCC100AMD64_CC) -E\ 146 $( flags)\147 $(subst -Zi,-Z7,$(flags))\ 147 148 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 148 149 $(subst /,\\,$(abspath $(source))) \ 149 150 --kObjCache-cc $(obj)\ 150 151 $(TOOL_VCC100AMD64_CC) -c\ 151 $(flags)\ 152 -Fd$(outbase)-obj.pdb \ 153 -FD\ 152 $(subst -Zi,-Z7,$(flags))\ 154 153 -Fo$(obj)\ 155 154 $(outbase).i 156 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb)157 155 endef 158 156 else # !KBUILD_USE_KOBJCACHE 159 157 TOOL_VCC100AMD64_COMPILE_C_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb) 158 TOOL_VCC100AMD64_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb) 160 159 define TOOL_VCC100AMD64_COMPILE_C_CMDS 161 160 $(QUIET)$(TOOL_VCC100AMD64_CC) -c\ … … 185 184 TOOL_VCC100AMD64_COMPILE_CXX_DEPEND = 186 185 TOOL_VCC100AMD64_COMPILE_CXX_DEPORD = 187 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb)188 186 ifdef KBUILD_USE_KOBJCACHE 189 187 TOOL_VCC100AMD64_COMPILE_CXX_USES_KOBJCACHE = 1 190 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb) $(outbase).ii 188 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT = $(outbase).ii 189 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT_MAYBE = 191 190 define TOOL_VCC100AMD64_COMPILE_CXX_CMDS 192 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\ 191 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -O2 -r\ 192 --make-dep-fix-case --make-dep-gen-stubs --make-dep-quiet --make-dep-file $(dep)\ 193 193 --kObjCache-cpp $(outbase).ii\ 194 194 $(TOOL_VCC100AMD64_CXX) -E\ 195 $( flags)\195 $(subst -Zi,-Z7,$(flags))\ 196 196 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 197 197 $(subst /,\\,$(abspath $(source))) \ 198 198 --kObjCache-cc $(obj)\ 199 199 $(TOOL_VCC100AMD64_CXX) -c\ 200 $(flags)\ 201 -Fd$(outbase)-obj.pdb \ 202 -FD\ 200 $(subst -Zi,-Z7,$(flags))\ 203 201 -Fo$(obj)\ 204 202 $(outbase).ii 205 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb)206 203 endef 207 204 else # !KBUILD_USE_KOBJCACHE 208 205 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb) 206 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb) 209 207 define TOOL_VCC100AMD64_COMPILE_CXX_CMDS 210 208 $(QUIET)$(TOOL_VCC100AMD64_CXX) -c\ -
trunk/kBuild/tools/VCC100X86.kmk
r2611 r2621 137 137 TOOL_VCC100X86_COMPILE_C_DEPEND = 138 138 TOOL_VCC100X86_COMPILE_C_DEPORD = 139 TOOL_VCC100X86_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,pdb)140 139 ifdef KBUILD_USE_KOBJCACHE 141 140 TOOL_VCC100X86_COMPILE_C_USES_KOBJCACHE = 1 142 TOOL_VCC100X86_COMPILE_C_OUTPUT = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb) $(outbase).i 141 TOOL_VCC100X86_COMPILE_C_OUTPUT = $(outbase).i 142 TOOL_VCC100AMD64_COMPILE_C_OUTPUT_MAYBE = 143 143 define TOOL_VCC100X86_COMPILE_C_CMDS 144 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\ 144 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -O2 -r\ 145 --make-dep-fix-case --make-dep-gen-stubs --make-dep-quiet --make-dep-file $(dep)\ 145 146 --kObjCache-cpp $(outbase).i\ 146 147 $(TOOL_VCC100X86_CC) -E\ 147 $( flags)\148 $(subst -Zi,-Z7,$(flags))\ 148 149 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 149 150 $(subst /,\\,$(abspath $(source))) \ 150 151 --kObjCache-cc $(obj)\ 151 152 $(TOOL_VCC100X86_CC) -c\ 152 $(flags)\ 153 -Fd$(outbase)-obj.pdb \ 154 -FD\ 153 $(subst -Zi,-Z7,$(flags))\ 155 154 -Fo$(obj)\ 156 155 $(outbase).i 157 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100X86_PDB,$(outbase)-obj,idb)158 156 endef 159 157 else # !KBUILD_USE_KOBJCACHE 160 158 TOOL_VCC100X86_COMPILE_C_OUTPUT = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb) 159 TOOL_VCC100X86_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,pdb) 161 160 define TOOL_VCC100X86_COMPILE_C_CMDS 162 161 $(QUIET)$(TOOL_VCC100X86_CC) -c\ … … 186 185 TOOL_VCC100X86_COMPILE_CXX_DEPEND = 187 186 TOOL_VCC100X86_COMPILE_CXX_DEPORD = 188 TOOL_VCC100X86_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,pdb)189 187 ifdef KBUILD_USE_KOBJCACHE 190 188 TOOL_VCC100X86_COMPILE_CXX_USES_KOBJCACHE = 1 191 TOOL_VCC100X86_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb) $(outbase).ii 189 TOOL_VCC100X86_COMPILE_CXX_OUTPUT = $(outbase).ii 190 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT_MAYBE = 192 191 define TOOL_VCC100X86_COMPILE_CXX_CMDS 193 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\ 192 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -O2 -r\ 193 --make-dep-fix-case --make-dep-gen-stubs --make-dep-quiet --make-dep-file $(dep)\ 194 194 --kObjCache-cpp $(outbase).ii\ 195 195 $(TOOL_VCC100X86_CXX) -E\ 196 $( flags)\196 $(subst -Zi,-Z7,$(flags))\ 197 197 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 198 198 $(subst /,\\,$(abspath $(source))) \ 199 199 --kObjCache-cc $(obj)\ 200 200 $(TOOL_VCC100X86_CXX) -c\ 201 $(flags)\ 202 -Fd$(outbase)-obj.pdb \ 203 -FD\ 201 $(subst -Zi,-Z7,$(flags))\ 204 202 -Fo$(obj)\ 205 203 $(outbase).ii 206 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100X86_PDB,$(outbase)-obj,idb)207 204 endef 208 205 else # !KBUILD_USE_KOBJCACHE 209 206 TOOL_VCC100X86_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb) 207 TOOL_VCC100X86_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,pdb) 210 208 define TOOL_VCC100X86_COMPILE_CXX_CMDS 211 209 $(QUIET)$(TOOL_VCC100X86_CXX) -c\
Note:
See TracChangeset
for help on using the changeset viewer.