Changeset 641 for trunk/kBuild/tools/VCC70.kmk
- Timestamp:
- Dec 1, 2006, 7:32:45 PM (19 years ago)
- File:
-
- 1 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 =
Note:
See TracChangeset
for help on using the changeset viewer.