Changeset 391 for trunk/kBuild/tools
- Timestamp:
- Jan 12, 2006, 5:11:05 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC70.kmk
r380 r391 62 62 ## Constructs the correct .pdb name (the name is lowercased). 63 63 # @param $(1) Base name, no extention. 64 # @param $(2) The extension. 64 65 ifeq ($(filter tolower,$(KMK_FEATURES)),tolower) 65 TOOL_VCC70_PDB = $(dir $(1))$(tolower $(notdir $(1))). pdb66 TOOL_VCC70_PDB = $(dir $(1))$(tolower $(notdir $(1))).$(2) 66 67 else # this fallback is incorrect and won't work on a case sensitive FS. 67 TOOL_VCC70_PDB = $(1). pdb68 TOOL_VCC70_PDB = $(1).$(2) 68 69 endif 69 70 … … 82 83 # @param $(outbase) Output basename (full). Use this for list files and such. 83 84 # @param $(objsuff) Object suffix. 84 TOOL_VCC70_COMPILE_C_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj )85 TOOL_VCC70_COMPILE_C_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) 85 86 TOOL_VCC70_COMPILE_C_DEPEND = 86 87 TOOL_VCC70_COMPILE_C_DEPORD = 88 ifdef VCC70_NEW_DEPS 87 89 define TOOL_VCC70_COMPILE_C_CMDS 88 90 $(TOOL_VCC70_CC) -c\ 89 91 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 90 92 -Fd$(outbase)-obj.pdb \ 93 -FD\ 94 -Fo$(obj)\ 95 $(subst /,\\,$(call ABSPATH,$(source))) 96 $(DEP_PRE) -f -s -o $(dep) -t $(obj) -i $(outbase)-obj.idb 97 endef 98 else 99 define TOOL_VCC70_COMPILE_C_CMDS 100 $(TOOL_VCC70_CC) -c\ 101 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 102 -Fd$(outbase)-obj.pdb \ 91 103 -Fo$(obj)\ 92 104 $(subst /,\\,$(call ABSPATH,$(source))) … … 96 108 | $(DEP_PRE) -f -s -o $(dep) -t $(obj) - 97 109 endef 110 endif 98 111 99 112 … … 111 124 # @param $(outbase) Output basename (full). Use this for list files and such. 112 125 # @param $(objsuff) Object suffix. 113 TOOL_VCC70_COMPILE_CXX_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj )126 TOOL_VCC70_COMPILE_CXX_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) 114 127 TOOL_VCC70_COMPILE_CXX_DEPEND = 115 128 TOOL_VCC70_COMPILE_CXX_DEPORD = 129 ifdef VCC70_NEW_DEPS 116 130 define TOOL_VCC70_COMPILE_CXX_CMDS 117 131 $(TOOL_VCC70_CXX) -c\ 118 132 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 119 133 -Fd$(outbase)-obj.pdb \ 134 -FD\ 135 -Fo$(obj)\ 136 $(subst /,\\,$(call ABSPATH,$(source))) 137 $(DEP_PRE) -f -s -o $(dep) -t $(obj) -i $(outbase)-obj.idb 138 endef 139 else 140 define TOOL_VCC70_COMPILE_CXX_CMDS 141 $(TOOL_VCC70_CXX) -c\ 142 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 143 -Fd$(outbase)-obj.pdb \ 120 144 -Fo$(obj)\ 121 145 $(subst /,\\,$(call ABSPATH,$(source))) … … 125 149 | $(DEP_PRE) -f -s -o $(dep) -t $(obj) - 126 150 endef 151 endif 127 152 128 153 … … 137 162 # @param $(outbase) Output basename (full). Use this for list files and such. 138 163 # 139 TOOL_VCC70_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase) )164 TOOL_VCC70_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase),pdb) 140 165 TOOL_VCC70_LINK_LIBRARY_DEPEND = $(othersrc) 141 166 TOOL_VCC70_LINK_LIBRARY_DEPORD = … … 160 185 # @param $(outbase) Output basename (full). Use this for list files and such. 161 186 # 162 TOOL_VCC70_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase) ) $(outbase).ilk187 TOOL_VCC70_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase),pdb) $(outbase).ilk 163 188 TOOL_VCC70_LINK_PROGRAM_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 164 189 TOOL_VCC70_LINK_PROGRAM_DEPORD = … … 190 215 # 191 216 # @param $(outbase) Output basename (full). Use this for list files and such. 192 TOOL_VCC70_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase) ) $(outbase).ilk217 TOOL_VCC70_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase),pdb) $(outbase).ilk 193 218 TOOL_VCC70_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 194 219 TOOL_VCC70_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_LIB)) … … 227 252 # 228 253 # @param $(outbase) Output basename (full). Use this for list files and such. 229 TOOL_VCC70_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase) ) $(outbase).ilk254 TOOL_VCC70_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC70_PDB, $(outbase),pdb) $(outbase).ilk 230 255 TOOL_VCC70_LINK_SYSMOD_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 231 256 TOOL_VCC70_LINK_SYSMOD_DEPORD =
Note:
See TracChangeset
for help on using the changeset viewer.