Changeset 641 for trunk/kBuild/tools
- Timestamp:
- Dec 1, 2006, 7:32:45 PM (19 years ago)
- Location:
- trunk/kBuild/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC70.kmk
r448 r641 56 56 TOOL_VCC70_ASOBJSUFF := .obj 57 57 58 TOOL_VCC70_RC := $(EXEC_X86_WIN32) $(PATH_TOOL_VCC70)/bin/rc.exe 59 TOOL_VCC70_RCOBJSUFF := .res 60 58 61 TOOL_VCC70_AR := $(EXEC_X86_WIN32) $(PATH_TOOL_VCC70)/bin/lib.exe 59 62 TOOL_VCC70_ARFLAGS := -nologo … … 162 165 163 166 167 ## Compile resource source. 168 # @param $(target) Normalized main target name. 169 # @param $(source) Source filename (relative). 170 # @param $(obj) Object file name. This shall be (re)created by the compilation. 171 # @param $(dep) Dependcy file. This shall be (re)created by the compilation. 172 # @param $(flags) Flags. 173 # @param $(defs) Definitions. No -D or something. 174 # @param $(incs) Includes. No -I or something. 175 # @param $(dirdep) Directory creation dependency. 176 # @param $(deps) Other dependencies. 177 # 178 # @param $(outbase) Output basename (full). Use this for list files and such. 179 # @param $(objsuff) Object suffix. 180 TOOL_VCC70_COMPILE_RC_OUTPUT = 181 TOOL_VCC70_COMPILE_RC_DEPEND = 182 TOOL_VCC70_COMPILE_RC_DEPORD = 183 define TOOL_VCC70_COMPILE_RC_CMDS 184 $(TOOL_VCC70_RC) \ 185 $(flags) $(addprefix /i, $(subst /,\\,$(incs))) $(addprefix /d, $(defs))\ 186 /fo$(obj)\ 187 $(subst /,\\,$(call ABSPATH,$(source))) 188 endef 189 190 164 191 ## Link library 165 192 # @param $(target) Normalized main target name. … … 172 199 # @param $(outbase) Output basename (full). Use this for list files and such. 173 200 # 174 TOOL_VCC70_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase),pdb) 201 TOOL_VCC70_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase),pdb) $(outbase).pdb 175 202 TOOL_VCC70_LINK_LIBRARY_DEPEND = $(othersrc) 176 203 TOOL_VCC70_LINK_LIBRARY_DEPORD = … … 195 222 # @param $(outbase) Output basename (full). Use this for list files and such. 196 223 # 197 TOOL_VCC70_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase),pdb) $(outbase). ilk224 TOOL_VCC70_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase),pdb) $(outbase).pdb $(outbase).ilk 198 225 TOOL_VCC70_LINK_PROGRAM_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 199 226 TOOL_VCC70_LINK_PROGRAM_DEPORD = … … 225 252 # 226 253 # @param $(outbase) Output basename (full). Use this for list files and such. 227 TOOL_VCC70_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase),pdb) $(outbase). ilk254 TOOL_VCC70_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase),pdb) $(outbase).pdb $(outbase).ilk 228 255 TOOL_VCC70_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 229 256 TOOL_VCC70_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_LIB)) … … 262 289 # 263 290 # @param $(outbase) Output basename (full). Use this for list files and such. 264 TOOL_VCC70_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase),pdb) $(outbase). ilk291 TOOL_VCC70_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase),pdb) $(outbase).pdb $(outbase).ilk 265 292 TOOL_VCC70_LINK_SYSMOD_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 266 293 TOOL_VCC70_LINK_SYSMOD_DEPORD = -
trunk/kBuild/tools/VCC80AMD64.kmk
r457 r641 2 2 ## @file 3 3 # 4 # kBuild Tool Config - Visual C++ 8.0 (aka Visual .NET 2005 )4 # kBuild Tool Config - Visual C++ 8.0 (aka Visual .NET 2005, or MSC v14) 5 5 # 6 6 # Copyright (c) 2004-2006 knut st. osmundsen <bird-srcspam@anduin.net> … … 56 56 TOOL_VCC80AMD64_ASOBJSUFF := .obj 57 57 58 TOOL_VCC80AMD64_RC := $(EXEC_X86_WIN32) $(PATH_TOOL_VCC80AMD64_BIN)/../rc.exe 59 TOOL_VCC80AMD64_RCOBJSUFF := .res 60 58 61 TOOL_VCC80AMD64_AR := $(EXEC_X86_WIN32) $(PATH_TOOL_VCC80AMD64_BIN)/lib.exe /MACHINE:X64 59 62 TOOL_VCC80AMD64_ARFLAGS := -nologo … … 165 168 166 169 170 ## Compile resource source. 171 # @param $(target) Normalized main target name. 172 # @param $(source) Source filename (relative). 173 # @param $(obj) Object file name. This shall be (re)created by the compilation. 174 # @param $(dep) Dependcy file. This shall be (re)created by the compilation. 175 # @param $(flags) Flags. 176 # @param $(defs) Definitions. No -D or something. 177 # @param $(incs) Includes. No -I or something. 178 # @param $(dirdep) Directory creation dependency. 179 # @param $(deps) Other dependencies. 180 # 181 # @param $(outbase) Output basename (full). Use this for list files and such. 182 # @param $(objsuff) Object suffix. 183 TOOL_VCC80AMD64_COMPILE_RC_OUTPUT = 184 TOOL_VCC80AMD64_COMPILE_RC_DEPEND = 185 TOOL_VCC80AMD64_COMPILE_RC_DEPORD = 186 define TOOL_VCC80AMD64_COMPILE_RC_CMDS 187 $(TOOL_VCC80AMD64_RC) \ 188 $(flags) $(addprefix /i, $(subst /,\\,$(incs))) $(addprefix /d, $(defs))\ 189 /fo$(obj)\ 190 $(subst /,\\,$(call ABSPATH,$(source))) 191 endef 192 193 167 194 ## Link library 168 195 # @param $(target) Normalized main target name. … … 175 202 # @param $(outbase) Output basename (full). Use this for list files and such. 176 203 # 177 TOOL_VCC80AMD64_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) 204 TOOL_VCC80AMD64_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) $(outbase).pdb 178 205 TOOL_VCC80AMD64_LINK_LIBRARY_DEPEND = $(othersrc) 179 206 TOOL_VCC80AMD64_LINK_LIBRARY_DEPORD = … … 198 225 # @param $(outbase) Output basename (full). Use this for list files and such. 199 226 # 200 TOOL_VCC80AMD64_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) $(outbase). ilk $(out).manifest227 TOOL_VCC80AMD64_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) $(outbase).pdb $(outbase).ilk $(out).manifest 201 228 TOOL_VCC80AMD64_LINK_PROGRAM_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 202 229 TOOL_VCC80AMD64_LINK_PROGRAM_DEPORD = … … 231 258 # 232 259 # @param $(outbase) Output basename (full). Use this for list files and such. 233 TOOL_VCC80AMD64_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) $(outbase). ilk $(out).manifest260 TOOL_VCC80AMD64_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) $(outbase).pdb $(outbase).ilk $(out).manifest 234 261 TOOL_VCC80AMD64_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 235 262 TOOL_VCC80AMD64_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_LIB)) … … 271 298 # 272 299 # @param $(outbase) Output basename (full). Use this for list files and such. 273 TOOL_VCC80AMD64_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) $(outbase). ilk $(out).manifest300 TOOL_VCC80AMD64_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) $(outbase).pdb $(outbase).ilk $(out).manifest 274 301 TOOL_VCC80AMD64_LINK_SYSMOD_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 275 302 TOOL_VCC80AMD64_LINK_SYSMOD_DEPORD = -
trunk/kBuild/tools/VCC80X86.kmk
r440 r641 2 2 ## @file 3 3 # 4 # kBuild Tool Config - Visual C++ 8.0 (aka Visual .NET 2005 )4 # kBuild Tool Config - Visual C++ 8.0 (aka Visual .NET 2005, or MSC v14) 5 5 # 6 6 # Copyright (c) 2004-2006 knut st. osmundsen <bird-srcspam@anduin.net> … … 52 52 TOOL_VCC80X86_ASOBJSUFF := .obj 53 53 54 TOOL_VCC80X86_RC := $(EXEC_X86_WIN32) $(PATH_TOOL_VCC80X86_BIN)/rc.exe 55 TOOL_VCC80X86_RCOBJSUFF := .res 56 54 57 TOOL_VCC80X86_AR := $(EXEC_X86_WIN32) $(PATH_TOOL_VCC80X86_BIN)/lib.exe 55 58 TOOL_VCC80X86_ARFLAGS := -nologo … … 161 164 162 165 166 ## Compile resource source. 167 # @param $(target) Normalized main target name. 168 # @param $(source) Source filename (relative). 169 # @param $(obj) Object file name. This shall be (re)created by the compilation. 170 # @param $(dep) Dependcy file. This shall be (re)created by the compilation. 171 # @param $(flags) Flags. 172 # @param $(defs) Definitions. No -D or something. 173 # @param $(incs) Includes. No -I or something. 174 # @param $(dirdep) Directory creation dependency. 175 # @param $(deps) Other dependencies. 176 # 177 # @param $(outbase) Output basename (full). Use this for list files and such. 178 # @param $(objsuff) Object suffix. 179 TOOL_VCC80X86_COMPILE_RC_OUTPUT = 180 TOOL_VCC80X86_COMPILE_RC_DEPEND = 181 TOOL_VCC80X86_COMPILE_RC_DEPORD = 182 define TOOL_VCC80X86_COMPILE_RC_CMDS 183 $(TOOL_VCC80X86_RC) \ 184 $(flags) $(addprefix /i, $(subst /,\\,$(incs))) $(addprefix /d, $(defs))\ 185 /fo$(obj)\ 186 $(subst /,\\,$(call ABSPATH,$(source))) 187 endef 188 189 163 190 ## Link library 164 191 # @param $(target) Normalized main target name. … … 171 198 # @param $(outbase) Output basename (full). Use this for list files and such. 172 199 # 173 TOOL_VCC80X86_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(call TOOL_VCC80X86_PDB, $(outbase),pdb) 200 TOOL_VCC80X86_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(call TOOL_VCC80X86_PDB, $(outbase),pdb) $(outbase).pdb 174 201 TOOL_VCC80X86_LINK_LIBRARY_DEPEND = $(othersrc) 175 202 TOOL_VCC80X86_LINK_LIBRARY_DEPORD = … … 194 221 # @param $(outbase) Output basename (full). Use this for list files and such. 195 222 # 196 TOOL_VCC80X86_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80X86_PDB, $(outbase),pdb) $(outbase). ilk $(out).manifest223 TOOL_VCC80X86_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80X86_PDB, $(outbase),pdb) $(outbase).pdb $(outbase).ilk $(out).manifest 197 224 TOOL_VCC80X86_LINK_PROGRAM_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 198 225 TOOL_VCC80X86_LINK_PROGRAM_DEPORD = … … 227 254 # 228 255 # @param $(outbase) Output basename (full). Use this for list files and such. 229 TOOL_VCC80X86_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80X86_PDB, $(outbase),pdb) $(outbase). ilk $(out).manifest256 TOOL_VCC80X86_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80X86_PDB, $(outbase),pdb) $(outbase).pdb $(outbase).ilk $(out).manifest 230 257 TOOL_VCC80X86_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 231 258 TOOL_VCC80X86_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_LIB)) … … 267 294 # 268 295 # @param $(outbase) Output basename (full). Use this for list files and such. 269 TOOL_VCC80X86_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80X86_PDB, $(outbase),pdb) $(outbase). ilk $(out).manifest296 TOOL_VCC80X86_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80X86_PDB, $(outbase),pdb) $(outbase).pdb $(outbase).ilk $(out).manifest 270 297 TOOL_VCC80X86_LINK_SYSMOD_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 271 298 TOOL_VCC80X86_LINK_SYSMOD_DEPORD =
Note:
See TracChangeset
for help on using the changeset viewer.