Changeset 1006 in kBuild
- Timestamp:
- Jun 2, 2007 4:21:42 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC70.kmk
r782 r1006 115 115 # @param $(outbase) Output basename (full). Use this for list files and such. 116 116 # @param $(objsuff) Object suffix. 117 ifdef USE_KOBJCACHE 118 TOOL_VCC70_COMPILE_C_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) $(outbase).i 119 TOOL_VCC70_COMPILE_C_DEPEND = 120 TOOL_VCC70_COMPILE_C_DEPORD = 121 TOOL_VCC70_COMPILE_C_USESES_KOBJCACHE = 1 122 define TOOL_VCC70_COMPILE_C_CMDS 123 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \ 124 $(TOOL_VCC70_CC) -E \ 125 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 126 -Fd$(outbase)-obj.pdb \ 127 -FD\ 128 -Fo$(obj)\ 129 $(subst /,\\,$(abspath $(source))) \ 130 --kObjCache-cc $(obj) \ 131 $(TOOL_VCC70_CC) -c -TC\ 132 $(flags) \ 133 -Fd$(outbase)-obj.pdb \ 134 -FD\ 135 -Fo$(obj)\ 136 $(subst /,\\,$(outbase).i) 137 endef 138 # $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb) 139 else # !USE_KOBJCACHE 117 140 TOOL_VCC70_COMPILE_C_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) 118 141 TOOL_VCC70_COMPILE_C_DEPEND = 119 142 TOOL_VCC70_COMPILE_C_DEPORD = 120 ifndef VCC70_OLD_DEPS121 143 define TOOL_VCC70_COMPILE_C_CMDS 122 144 $(QUIET)$(TOOL_VCC70_CC) -c\ … … 128 150 $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb) 129 151 endef 130 else 131 define TOOL_VCC70_COMPILE_C_CMDS 132 $(QUIET)$(TOOL_VCC70_CC) -c\ 133 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 134 -Fd$(outbase)-obj.pdb \ 135 -Fo$(obj)\ 136 $(subst /,\\,$(abspath $(source))) 137 $(QUIET)$(TOOL_VCC70_CC) -E\ 138 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 139 $(subst /,\\,$(abspath $(source)))\ 140 | $(DEP_PRE) -f -s -o $(dep) -t $(obj) - 141 endef 142 endif 152 endif # !USE_KOBJCACHE 143 153 144 154 … … 156 166 # @param $(outbase) Output basename (full). Use this for list files and such. 157 167 # @param $(objsuff) Object suffix. 168 ifdef USE_KOBJCACHE 169 TOOL_VCC70_COMPILE_CXX_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) $(outbase).ii 170 TOOL_VCC70_COMPILE_CXX_DEPEND = 171 TOOL_VCC70_COMPILE_CXX_DEPORD = 172 TOOL_VCC70_COMPILE_CXX_USESES_KOBJCACHE = 1 173 define TOOL_VCC70_COMPILE_CXX_CMDS 174 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \ 175 $(TOOL_VCC70_CC) -E \ 176 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 177 -Fd$(outbase)-obj.pdb \ 178 -FD\ 179 -Fo$(obj)\ 180 $(subst /,\\,$(abspath $(source))) \ 181 --kObjCache-cc $(obj) \ 182 $(TOOL_VCC70_CC) -c -TP\ 183 $(flags) \ 184 -Fd$(outbase)-obj.pdb \ 185 -FD\ 186 -Fo$(obj)\ 187 $(subst /,\\,$(outbase).ii) 188 endef 189 # $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb) 190 else # !USE_KOBJCACHE 158 191 TOOL_VCC70_COMPILE_CXX_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) 159 192 TOOL_VCC70_COMPILE_CXX_DEPEND = 160 193 TOOL_VCC70_COMPILE_CXX_DEPORD = 161 ifndef VCC70_OLD_DEPS162 194 define TOOL_VCC70_COMPILE_CXX_CMDS 163 195 $(QUIET)$(TOOL_VCC70_CXX) -c\ … … 169 201 $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb) 170 202 endef 171 else 172 define TOOL_VCC70_COMPILE_CXX_CMDS 173 $(QUIET)$(TOOL_VCC70_CXX) -c\ 174 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 175 -Fd$(outbase)-obj.pdb \ 176 -Fo$(obj)\ 177 $(subst /,\\,$(abspath $(source))) 178 $(QUIET)$(TOOL_VCC70_CXX) -E\ 179 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 180 $(subst /,\\,$(abspath $(source)))\ 181 | $(DEP_PRE) -f -s -o $(dep) -t $(obj) - 182 endef 183 endif 203 endif # !USE_KOBJCACHE 184 204 185 205
Note:
See TracChangeset
for help on using the changeset viewer.