source: trunk/kBuild/tools/VCC100AMD64.kmk@ 2604

Last change on this file since 2604 was 2604, checked in by bird, 13 years ago

VCC110*: fixes and adjustments.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 16.5 KB
Line 
1# $Id: VCC100AMD64.kmk 2604 2012-07-13 15:37:18Z bird $
2## @file
3# kBuild Tool Config - Visual C++ 10.0 (aka Visual 2010 and MSC v16), targeting AMD64.
4#
5
6#
7# Copyright (c) 2004-2010 knut st. osmundsen <bird-kBuild-spamx@anduin.net>
8#
9# This file is part of kBuild.
10#
11# kBuild is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 2 of the License, or
14# (at your option) any later version.
15#
16# kBuild is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with kBuild; if not, write to the Free Software
23# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24#
25#
26# As a special exception you are granted permission to include this file, via
27# the kmk include directive, as you wish without this in itself causing the
28# resulting makefile, program or whatever to be covered by the GPL license.
29# This exception does not however invalidate any other reasons why the makefile,
30# program, whatever should not be covered the GPL.
31#
32#
33
34TOOL_VCC100AMD64 := Visual C++ 10.0 (aka Visual 2010 and MSC v16), targeting AMD64
35
36# Tool Specific Properties
37ifndef PATH_TOOL_VCC100AMD64
38 PATH_TOOL_VCC100AMD64 := $(wildcard $(PATH_DEVTOOLS)/win.x86/vcc/v10*)
39 ifeq ($(PATH_TOOL_VCC100AMD64),)
40 PATH_TOOL_VCC100AMD64 := $(PATH_TOOL_VCC100)
41 endif
42 ifeq ($(PATH_TOOL_VCC100AMD64),)
43 PATH_TOOL_VCC100AMD64 := $(PATH_TOOL_VCC100X86)
44 endif
45 ifeq ($(PATH_TOOL_VCC100AMD64),)
46 PATH_TOOL_VCC100AMD64 := $(wildcard $(PATH_DEVTOOLS)/win.x86/vcc/v10*)
47 endif
48 ifneq ($(PATH_TOOL_VCC100AMD64),)
49 PATH_TOOL_VCC100AMD64 := $(lastword $(sort $(PATH_TOOL_VCC100AMD64)))
50 else
51 $(warning kBuild: PATH_TOOL_VCC100AMD64 cannot be determined!)
52 PATH_TOOL_VCC100AMD64 := $(PATH_DEVTOOLS)/win.x86/vcc/v10
53 endif
54else
55 # Resolve any fancy stuff once and for all.
56 PATH_TOOL_VCC100AMD64 := $(PATH_TOOL_VCC100AMD64)
57endif
58ifeq ($(KBUILD_HOST).$(KBUILD_HOST_ARCH),win.amd64)
59PATH_TOOL_VCC100AMD64_BIN ?= $(PATH_TOOL_VCC100AMD64)/bin/amd64
60else
61PATH_TOOL_VCC100AMD64_BIN ?= $(PATH_TOOL_VCC100AMD64)/bin/x86_amd64
62endif
63PATH_TOOL_VCC100AMD64_LIB ?= $(PATH_TOOL_VCC100AMD64)/lib/amd64
64PATH_TOOL_VCC100AMD64_INC ?= $(PATH_TOOL_VCC100AMD64)/include
65PATH_TOOL_VCC100AMD64_ATLMFC ?= $(PATH_TOOL_VCC100AMD64)/atlmfc
66PATH_TOOL_VCC100AMD64_ATLMFC_INC ?= $(PATH_TOOL_VCC100AMD64_ATLMFC)/include
67PATH_TOOL_VCC100AMD64_ATLMFC_LIB ?= $(PATH_TOOL_VCC100AMD64_ATLMFC)/lib/amd64
68TOOL_VCC100AMD64_CC ?= $(EXEC_X86_WIN32) $(PATH_TOOL_VCC100AMD64_BIN)/cl.exe
69TOOL_VCC100AMD64_CXX ?= $(EXEC_X86_WIN32) $(PATH_TOOL_VCC100AMD64_BIN)/cl.exe
70TOOL_VCC100AMD64_AS ?= $(EXEC_X86_WIN32) $(PATH_TOOL_VCC100AMD64_BIN)/ml64.exe
71TOOL_VCC100AMD64_AR ?= $(EXEC_X86_WIN32) $(PATH_TOOL_VCC100AMD64_BIN)/lib.exe
72TOOL_VCC100AMD64_LD ?= $(EXEC_X86_WIN32) $(PATH_TOOL_VCC100AMD64_BIN)/link.exe
73TOOL_VCC100AMD64_RC ?= $(EXEC_X86_WIN32) $(call TOOL_VCC100_FN_FIND_SDK_TOOL,rc.exe,TOOL_VCC100_RC_CACHED)
74TOOL_VCC100AMD64_MT ?= $(EXEC_X86_WIN32) $(call TOOL_VCC100_FN_FIND_SDK_TOOL,mt.exe,TOOL_VCC100_MT_CACHED)
75
76# The following in duplicated in VCC100.kmk and VCC100X86.kmk.
77TOOL_VCC100_FN_FIND_SDK_TOOL_SUB = $(eval $2 := $(firstword \
78 $(if-expr defined(PATH_SDK_WINPSDK71_BIN), $(wildcard $(PATH_SDK_WINPSDK71_BIN)/$1)) \
79 $(if-expr defined(PATH_SDK_WINPSDK_BIN) , $(wildcard $(PATH_SDK_WINPSDK_BIN)/$1)) \
80 $(rsort $(wildcard $(KBUILD_DEVTOOLS_HST)/sdk/*/[Bb][Ii][Nn]/$1)) \
81 $(rsort $(wildcard $(KBUILD_DEVTOOLS_HST_ALT)/sdk/*/[Bb][Ii][Nn]/$1)) \
82 $1))
83TOOL_VCC100_FN_FIND_SDK_TOOL = $(if-expr !defined($2),$(TOOL_VCC100_FN_FIND_SDK_TOOL_SUB),)$($2)
84
85## Disabled fast DEP_IDB based dependencies.
86#VCC100AMD64_OLD_DEPS = 1
87
88## Constructs the correct .pdb name (the name is lowercased).
89# @param $(1) Base name, no extention.
90# @param $(2) The extension.
91TOOL_VCC100AMD64_PDB = $(dir $(1))$(tolower $(notdir $(1))).$(2)
92
93TOOL_VCC100AMD64_COBJSUFF ?= .obj
94TOOL_VCC100AMD64_CFLAGS ?= -TC -c -nologo
95TOOL_VCC100AMD64_CFLAGS.debug ?= -Od -Zi
96TOOL_VCC100AMD64_CFLAGS.release ?= -O2
97TOOL_VCC100AMD64_CFLAGS.profile ?= -O2
98TOOL_VCC100AMD64_CINCS ?= $(PATH_TOOL_VCC100AMD64_INC)
99TOOL_VCC100AMD64_CDEFS ?=
100
101TOOL_VCC100AMD64_CXXOBJSUFF ?= .obj
102TOOL_VCC100AMD64_CXXFLAGS ?= -TP -c -nologo
103TOOL_VCC100AMD64_CXXFLAGS.debug ?= -Od -Zi
104TOOL_VCC100AMD64_CXXFLAGS.release ?= -O2
105TOOL_VCC100AMD64_CXXFLAGS.profile ?= -O2
106TOOL_VCC100AMD64_CXXINCS ?= $(PATH_TOOL_VCC100AMD64_INC) $(PATH_TOOL_VCC100AMD64_ATLMFC_INC)
107TOOL_VCC100AMD64_CXXDEFS ?=
108
109TOOL_VCC100AMD64_ASOBJSUFF ?= .obj
110
111TOOL_VCC100AMD64_RCOBJSUFF ?= .res
112TOOL_VCC100AMD64_RCINCS ?= $(PATH_TOOL_VCC100AMD64_INC) $(PATH_TOOL_VCC100AMD64_ATLMFC_INC)
113
114TOOL_VCC100AMD64_ARFLAGS ?= -nologo -machine:amd64
115TOOL_VCC100AMD64_ARLIBSUFF ?= .lib
116
117TOOL_VCC100AMD64_LDFLAGS ?= -nologo -machine:amd64
118TOOL_VCC100AMD64_LDFLAGS.debug ?= -debug
119TOOL_VCC100AMD64_LDFLAGS.release ?=
120
121
122
123## Compile C source.
124# @param $(target) Normalized main target name.
125# @param $(source) Source filename (relative).
126# @param $(obj) Object file name. This shall be (re)created by the compilation.
127# @param $(dep) Dependcy file. This shall be (re)created by the compilation.
128# @param $(flags) Flags.
129# @param $(defs) Definitions. No -D or something.
130# @param $(incs) Includes. No -I or something.
131# @param $(dirdep) Directory creation dependency.
132# @param $(deps) Other dependencies.
133#
134# @param $(outbase) Output basename (full). Use this for list files and such.
135# @param $(objsuff) Object suffix.
136TOOL_VCC100AMD64_COMPILE_C_DEPEND =
137TOOL_VCC100AMD64_COMPILE_C_DEPORD =
138TOOL_VCC100AMD64_COMPILE_C_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb)
139TOOL_VCC100AMD64_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb)
140define TOOL_VCC100AMD64_COMPILE_C_CMDS
141 $(QUIET)$(TOOL_VCC100AMD64_CC) -c\
142 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
143 -Fd$(outbase)-obj.pdb \
144 -FD\
145 -Fo$(obj)\
146 $(subst /,\\,$(abspath $(source)))
147 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb)
148endef
149
150
151## Compile C++ source.
152# @param $(target) Normalized main target name.
153# @param $(source) Source filename (relative).
154# @param $(obj) Object file name. This shall be (re)created by the compilation.
155# @param $(dep) Dependcy file. This shall be (re)created by the compilation.
156# @param $(flags) Flags.
157# @param $(defs) Definitions. No -D or something.
158# @param $(incs) Includes. No -I or something.
159# @param $(dirdep) Directory creation dependency.
160# @param $(deps) Other dependencies.
161#
162# @param $(outbase) Output basename (full). Use this for list files and such.
163# @param $(objsuff) Object suffix.
164TOOL_VCC100AMD64_COMPILE_CXX_DEPEND =
165TOOL_VCC100AMD64_COMPILE_CXX_DEPORD =
166ifdef KBUILD_USE_KOBJCACHE
167TOOL_VCC100AMD64_COMPILE_CXX_USES_KOBJCACHE = 1
168TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb) $(outbase).ii
169TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb)
170if 1
171define TOOL_VCC100AMD64_COMPILE_CXX_CMDS
172 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\
173 --named-pipe-compile $(subst /,\\,//./pipe/kObjCache/$(translate $(outbase),:,_)/$(notdir $(source)))\
174 --kObjCache-cpp $(outbase).ii\
175 $(TOOL_VCC100AMD64_CXX) -E\
176 $(flags)\
177 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
178 $(subst /,\\,$(abspath $(source))) \
179 --kObjCache-cc $(obj)\
180 windbg $(TOOL_VCC100AMD64_CXX) -c -TP\
181 $(flags)\
182 -Fd$(outbase)-obj.pdb \
183 -FD\
184 -Fo$(obj)\
185 $(subst /,\\,//./pipe/kObjCache/$(translate $(outbase),:,_)/$(notdir $(source)))
186 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb)
187endef
188else
189define TOOL_VCC100AMD64_COMPILE_CXX_CMDS
190 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\
191 --kObjCache-cpp $(outbase).ii\
192 $(TOOL_VCC100AMD64_CXX) -E\
193 $(flags)\
194 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
195 $(subst /,\\,$(abspath $(source))) \
196 --kObjCache-cc $(obj)\
197 $(TOOL_VCC100AMD64_CXX) -c -TP\
198 $(flags)\
199 -Fd$(outbase)-obj.pdb \
200 -FD\
201 -Fo$(obj)\
202 $(outbase).ii
203 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb)
204endef
205endif
206else # !KBUILD_USE_KOBJCACHE
207TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb)
208TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb)
209define TOOL_VCC100AMD64_COMPILE_CXX_CMDS
210 $(QUIET)$(TOOL_VCC100AMD64_CXX) -c\
211 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
212 -Fd$(outbase)-obj.pdb \
213 -FD\
214 -Fo$(obj)\
215 $(subst /,\\,$(abspath $(source)))
216 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb)
217endef
218endif # !KBUILD_USE_KOBJCACHE
219
220## Compile resource source.
221# @param $(target) Normalized main target name.
222# @param $(source) Source filename (relative).
223# @param $(obj) Object file name. This shall be (re)created by the compilation.
224# @param $(dep) Dependcy file. This shall be (re)created by the compilation.
225# @param $(flags) Flags.
226# @param $(defs) Definitions. No -D or something.
227# @param $(incs) Includes. No -I or something.
228# @param $(dirdep) Directory creation dependency.
229# @param $(deps) Other dependencies.
230#
231# @param $(outbase) Output basename (full). Use this for list files and such.
232# @param $(objsuff) Object suffix.
233TOOL_VCC100AMD64_COMPILE_RC_DEPEND =
234TOOL_VCC100AMD64_COMPILE_RC_DEPORD =
235TOOL_VCC100AMD64_COMPILE_RC_OUTPUT =
236define TOOL_VCC100AMD64_COMPILE_RC_CMDS
237 $(QUIET)$(TOOL_VCC100AMD64_RC) \
238 $(flags) $(addprefix /i, $(subst /,\\,$(incs))) $(addprefix /d, $(defs))\
239 /fo$(obj)\
240 $(subst /,\\,$(abspath $(source)))
241endef
242
243
244## Link library
245# @param $(target) Normalized main target name.
246# @param $(out) Library name.
247# @param $(objs) Object files to put in the library.
248# @param $(flags) Flags.
249# @param $(dirdep) Directory creation dependency.
250# @param $(deps) Other dependencies.
251# @param $(othersrc) Unhandled sources.
252# @param $(outbase) Output basename (full). Use this for list files and such.
253#
254TOOL_VCC100AMD64_LINK_LIBRARY_DEPEND = $(othersrc)
255TOOL_VCC100AMD64_LINK_LIBRARY_DEPORD =
256TOOL_VCC100AMD64_LINK_LIBRARY_OUTPUT = $(outbase).rsp
257TOOL_VCC100AMD64_LINK_LIBRARY_OUTPUT_MAYBE = $(outbase).lst $(outbase).exp $(outbase).pdb
258define TOOL_VCC100AMD64_LINK_LIBRARY_CMDS
259 $(QUIET)$(APPEND) -tn $(outbase).rsp \
260 $(foreach arg,\
261 $(subst /,\\,$(objs) \
262 $(filter-out %.def,$(othersrc))) \
263 $(addprefix /DEF:,$(filter %.def,$(othersrc))) \
264 ,\"$(arg)\")
265 $(QUIET)$(TOOL_VCC100AMD64_AR) $(flags) /OUT:$(out) @$(outbase).rsp
266endef
267
268
269## Link program
270# @param $(target) Normalized main target name.
271# @param $(out) Program name.
272# @param $(objs) Object files to link together.
273# @param $(libs) Libraries to search.
274# @param $(libpath) Library search paths.
275# @param $(flags) Flags.
276# @param $(dirdep) Directory creation dependency.
277# @param $(deps) Other dependencies.
278# @param $(othersrc) Unhandled sources.
279# @param $(custom_pre) Custom step invoked before linking.
280# @param $(custom_post) Custom step invoked after linking.
281# @param $(outbase) Output basename (full). Use this for list files and such.
282#
283TOOL_VCC100AMD64_LINK_PROGRAM_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
284TOOL_VCC100AMD64_LINK_PROGRAM_DEPORD =
285TOOL_VCC100AMD64_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).rsp
286TOOL_VCC100AMD64_LINK_PROGRAM_OUTPUT_MAYBE = $(outbase).lib $(outbase).exp $(outbase).ilk $(out).manifest
287TOOL_VCC100AMD64_LINK_PROGRAM_OUTPUT_DEBUG = $(outbase).pdb
288TOOL_VCC100AMD64_LINK_PROGRAM_DEBUG_INSTALL_FN = $(2).pdb=>$(basename $(3)).pdb
289define TOOL_VCC100AMD64_LINK_PROGRAM_CMDS
290 $(QUIET)$(APPEND) -tn $(outbase).rsp \
291 $(foreach arg,\
292 $(subst /,\\,$(objs)) \
293 $(subst /,\\,$(libs)) \
294 ,\"$(arg)\")
295 $(QUIET)$(TOOL_VCC100AMD64_LD) $(flags) \
296 /OUT:$(out) \
297 /MAPINFO:EXPORTS /INCREMENTAL:NO \
298 /MAP:$(outbase).map \
299 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def)) \
300 $(subst /,\\,$(filter %.exp %.res,$(othersrc))) \
301 $(foreach p,$(libpath), /LIBPATH:$(p)) \
302 @$(outbase).rsp
303 $(QUIET)$(TEST) -f $(out).manifest -- \
304 $(TOOL_VCC100AMD64_MT) -manifest $(subst /,\\,$(out)).manifest -outputresource:$(subst /,\\,$(out))
305endef
306
307
308## Link DLL.
309# @param $(target) Normalized main target name.
310# @param $(out) DLL name.
311# @param $(objs) Object files to link together.
312# @param $(libs) Libraries to search.
313# @param $(libpath) Library search paths.
314# @param $(flags) Flags.
315# @param $(dirdep) Directory creation dependency.
316# @param $(deps) Other dependencies.
317# @param $(othersrc) Unhandled sources.
318# @param $(custom_pre) Custom step invoked before linking.
319# @param $(custom_post) Custom step invoked after linking.
320#
321# @param $(outbase) Output basename (full). Use this for list files and such.
322TOOL_VCC100AMD64_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
323TOOL_VCC100AMD64_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_STAGE_LIB))
324TOOL_VCC100AMD64_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(outbase).rsp
325TOOL_VCC100AMD64_LINK_DLL_OUTPUT_MAYBE = $(outbase).ilk $(out).manifest $(PATH_STAGE_LIB)/$(notdir $(outbase)).lib $(PATH_STAGE_LIB)/$(notdir $(outbase)).exp
326TOOL_VCC100AMD64_LINK_DLL_OUTPUT_DEBUG = $(outbase).pdb
327TOOL_VCC100AMD64_LINK_DLL_DEBUG_INSTALL_FN = $(2).pdb=>$(basename $(3)).pdb
328define TOOL_VCC100AMD64_LINK_DLL_CMDS
329 $(QUIET)$(APPEND) -tn $(outbase).rsp \
330 $(foreach arg,\
331 $(subst /,\\,$(objs)) \
332 $(subst /,\\,$(libs)) \
333 ,\"$(arg)\")
334 $(QUIET)$(TOOL_VCC100AMD64_LD) $(flags) \
335 /OUT:$(out) \
336 /IMPLIB:$(outbase).lib \
337 /MAPINFO:EXPORTS /INCREMENTAL:NO \
338 /MAP:$(outbase).map \
339 /DLL \
340 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def)) \
341 $(subst /,\\,$(filter %.exp %.res,$(othersrc))) \
342 $(foreach p,$(libpath), /LIBPATH:$(p)) \
343 @$(outbase).rsp
344 $(QUIET)$(TEST) -f $(out).manifest -- \
345 $(TOOL_VCC100AMD64_MT) -manifest $(subst /,\\,$(out)).manifest '-outputresource:$(subst /,\\,$(out));#2'
346 $(QUIET)$(CP) --changed --ignore-non-existing $(outbase).exp $(outbase).lib $(PATH_STAGE_LIB)/
347$(eval _DIRS += $(PATH_STAGE_LIB))
348endef
349
350
351## Link system module (windows aka driver, linux aka kernel module)
352# @param $(target) Normalized main target name.
353# @param $(out) System module name.
354# @param $(objs) Object files to link together.
355# @param $(libs) Libraries to search.
356# @param $(libpath) Library search paths.
357# @param $(flags) Flags.
358# @param $(dirdep) Directory creation dependency.
359# @param $(deps) Other dependencies.
360# @param $(othersrc) Unhandled sources.
361# @param $(custom_pre) Custom step invoked before linking.
362# @param $(custom_post) Custom step invoked after linking.
363#
364# @param $(outbase) Output basename (full). Use this for list files and such.
365TOOL_VCC100AMD64_LINK_SYSMOD_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
366TOOL_VCC100AMD64_LINK_SYSMOD_DEPORD =
367TOOL_VCC100AMD64_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).rsp
368TOOL_VCC100AMD64_LINK_SYSMOD_OUTPUT_MAYBE = $(outbase).lib $(outbase).exp $(outbase).ilk $(out).manifest
369TOOL_VCC100AMD64_LINK_SYSMOD_OUTPUT_DEBUG = $(outbase).pdb
370TOOL_VCC100AMD64_LINK_SYSMOD_DEBUG_INSTALL_FN = $(2).pdb=>$(basename $(3)).pdb
371define TOOL_VCC100AMD64_LINK_SYSMOD_CMDS
372 $(QUIET)$(APPEND) -tn $(outbase).rsp \
373 $(foreach arg,\
374 $(subst /,\\,$(objs)) \
375 $(subst /,\\,$(libs)) \
376 ,\"$(arg)\")
377 $(QUIET)$(TOOL_VCC100AMD64_LD) $(flags) \
378 /OUT:$(out) \
379 /MAPINFO:EXPORTS /INCREMENTAL:NO \
380 /MAP:$(outbase).map \
381 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def)) \
382 $(subst /,\\,$(filter %.exp %.res,$(othersrc))) \
383 $(foreach p,$(libpath), /LIBPATH:$(p)) \
384 @$(outbase).rsp
385 $(QUIET)$(TEST) -f $(out).manifest -- \
386 $(TOOL_VCC100AMD64_MT) -manifest $(subst /,\\,$(out)).manifest '-outputresource:$(subst /,\\,$(out));#2'
387endef
388
Note: See TracBrowser for help on using the repository browser.