Changeset 437 for trunk/kBuild/tools/VCC80X86.kmk
- Timestamp:
- May 27, 2006, 2:45:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC80X86.kmk
r434 r437 34 34 TOOL_VCC80X86_COBJSUFF := .obj 35 35 TOOL_VCC80X86_CFLAGS := -TC -c -nologo 36 TOOL_VCC80X86_CFLAGS.debug := - Od -Zi36 TOOL_VCC80X86_CFLAGS.debug := -Zi 37 37 TOOL_VCC80X86_CFLAGS.release := -O2 38 38 TOOL_VCC80X86_CFLAGS.profile := -O2 … … 43 43 TOOL_VCC80X86_CXXOBJSUFF := .obj 44 44 TOOL_VCC80X86_CXXFLAGS := -TP -c -nologo 45 TOOL_VCC80X86_CXXFLAGS.debug := - Od -Zi45 TOOL_VCC80X86_CXXFLAGS.debug := -Zi 46 46 TOOL_VCC80X86_CXXFLAGS.release := -O2 47 47 TOOL_VCC80X86_CXXFLAGS.profile := -O2 … … 57 57 58 58 TOOL_VCC80X86_LD := $(EXEC_X86_WIN32) $(PATH_TOOL_VCC80X86_BIN)/link.exe 59 TOOL_VCC80X86_LDFLAGS := -nologo 59 TOOL_VCC80X86_LDFLAGS := -nologo -machine:x86 60 60 TOOL_VCC80X86_LDFLAGS.debug := -debug 61 61 TOOL_VCC80X86_LDFLAGS.release := 62 63 TOOL_VCC80X86_MT := $(EXEC_X86_WIN32) $(PATH_TOOL_VCC80X86_BIN)/mt.exe 62 64 63 65 ## Constructs the correct .pdb name (the name is lowercased). … … 69 71 TOOL_VCC80X86_PDB = $(1).$(2) 70 72 endif 73 71 74 72 75 #ifeq ($(BUILD_PLATFORM),win32) … … 191 194 # @param $(outbase) Output basename (full). Use this for list files and such. 192 195 # 193 TOOL_VCC80X86_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80X86_PDB, $(outbase),pdb) $(outbase).ilk 196 TOOL_VCC80X86_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80X86_PDB, $(outbase),pdb) $(outbase).ilk $(out).manifest 194 197 TOOL_VCC80X86_LINK_PROGRAM_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 195 198 TOOL_VCC80X86_LINK_PROGRAM_DEPORD = … … 197 200 $(TOOL_VCC80X86_LD) $(flags) \ 198 201 /OUT:$(out) \ 199 /MAPINFO:EXPORTS /INCREMENTAL:NO /MAPINFO:LINES\202 /MAPINFO:EXPORTS /INCREMENTAL:NO \ 200 203 /MAP:$(outbase).map \ 201 204 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def)) \ … … 204 207 $(subst /,\\,$(objs)) \ 205 208 $(subst /,\\,$(libs)) 209 if test -f $(out).manifest; then \ 210 $(TOOL_VCC80X86_MT) -manifest $(subst /,\\,$(out)).manifest -outputresource:$(subst /,\\,$(out)); \ 211 fi 206 212 endef 207 213 … … 221 227 # 222 228 # @param $(outbase) Output basename (full). Use this for list files and such. 223 TOOL_VCC80X86_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80X86_PDB, $(outbase),pdb) $(outbase).ilk 229 TOOL_VCC80X86_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80X86_PDB, $(outbase),pdb) $(outbase).ilk $(out).manifest 224 230 TOOL_VCC80X86_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 225 231 TOOL_VCC80X86_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_LIB)) … … 228 234 /OUT:$(out) \ 229 235 /IMPLIB:$(outbase).lib \ 230 /MAPINFO:EXPORTS /INCREMENTAL:NO /MAPINFO:LINES\236 /MAPINFO:EXPORTS /INCREMENTAL:NO \ 231 237 /MAP:$(outbase).map \ 232 238 /DLL \ … … 236 242 $(subst /,\\,$(objs)) \ 237 243 $(subst /,\\,$(libs)) 244 if test -f $(out).manifest; then \ 245 $(TOOL_VCC80X86_MT) -manifest $(subst /,\\,$(out)).manifest "-outputresource:$(subst /,\\,$(out));#2"; \ 246 fi 238 247 ifeq ($(filter %.exp .def,$(othersrc)),) 239 248 if test -f $(outbase).exp; then $(CP_EXT) $(outbase).exp $(PATH_LIB)/; fi … … 258 267 # 259 268 # @param $(outbase) Output basename (full). Use this for list files and such. 260 TOOL_VCC80X86_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80X86_PDB, $(outbase),pdb) $(outbase).ilk 269 TOOL_VCC80X86_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80X86_PDB, $(outbase),pdb) $(outbase).ilk $(out).manifest 261 270 TOOL_VCC80X86_LINK_SYSMOD_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) 262 271 TOOL_VCC80X86_LINK_SYSMOD_DEPORD = … … 264 273 $(TOOL_VCC80X86_LD) $(flags) \ 265 274 /OUT:$(out) \ 266 /MAPINFO:EXPORTS /INCREMENTAL:NO /MAPINFO:LINES\275 /MAPINFO:EXPORTS /INCREMENTAL:NO \ 267 276 /MAP:$(outbase).map \ 268 277 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def)) \ … … 271 280 $(subst /,\\,$(objs)) \ 272 281 $(subst /,\\,$(libs)) 273 endef 274 282 if test -f $(out).manifest; then \ 283 $(TOOL_VCC80X86_MT) -manifest $(subst /,\\,$(out)).manifest "-outputresource:$(subst /,\\,$(out));#2"; \ 284 fi 285 endef 286
Note:
See TracChangeset
for help on using the changeset viewer.