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

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

VCC100*: Fixed kObjCache support.

  • 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 2611 2012-07-27 08:14:26Z 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,[Rr][Cc].[Ee][Xx][Ee],TOOL_VCC100_RC_CACHED)
74TOOL_VCC100AMD64_MT ?= $(EXEC_X86_WIN32) $(call TOOL_VCC100_FN_FIND_SDK_TOOL,mt.exe,[Mm][Tt].[Ee][Xx][Ee],TOOL_VCC100_MT_CACHED)
75
76# The following in duplicated in VCC100.kmk and VCC100X86.kmk.
77TOOL_VCC100_FN_FIND_SDK_TOOL_SUB = $(eval $3 := $(firstword \
78 $(if-expr defined(PATH_SDK_WINPSDK71_BIN), $(wildcard $(PATH_SDK_WINPSDK71_BIN)/$2)) \
79 $(if-expr defined(PATH_SDK_WINPSDK_BIN) , $(wildcard $(PATH_SDK_WINPSDK_BIN)/$2)) \
80 $(rsort $(wildcard $(KBUILD_DEVTOOLS_HST)/sdk/*/[Bb][Ii][Nn]/$2)) \
81 $(rsort $(wildcard $(KBUILD_DEVTOOLS_HST_ALT)/sdk/*/[Bb][Ii][Nn]/$2)) \
82 $1))
83TOOL_VCC100_FN_FIND_SDK_TOOL = $(if-expr !defined($3),$(TOOL_VCC100_FN_FIND_SDK_TOOL_SUB),)$($3)
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 -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 -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_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb)
139ifdef KBUILD_USE_KOBJCACHE
140TOOL_VCC100AMD64_COMPILE_C_USES_KOBJCACHE = 1
141TOOL_VCC100AMD64_COMPILE_C_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb) $(outbase).i
142define TOOL_VCC100AMD64_COMPILE_C_CMDS
143 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\
144 --kObjCache-cpp $(outbase).i\
145 $(TOOL_VCC100AMD64_CC) -E\
146 $(flags)\
147 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
148 $(subst /,\\,$(abspath $(source))) \
149 --kObjCache-cc $(obj)\
150 $(TOOL_VCC100AMD64_CC) -c\
151 $(flags)\
152 -Fd$(outbase)-obj.pdb \
153 -FD\
154 -Fo$(obj)\
155 $(outbase).i
156 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb)
157endef
158else # !KBUILD_USE_KOBJCACHE
159TOOL_VCC100AMD64_COMPILE_C_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb)
160define TOOL_VCC100AMD64_COMPILE_C_CMDS
161 $(QUIET)$(TOOL_VCC100AMD64_CC) -c\
162 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
163 -Fd$(outbase)-obj.pdb \
164 -FD\
165 -Fo$(obj)\
166 $(subst /,\\,$(abspath $(source)))
167 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb)
168endef
169endif # !KBUILD_USE_KOBJCACHE
170
171
172## Compile C++ source.
173# @param $(target) Normalized main target name.
174# @param $(source) Source filename (relative).
175# @param $(obj) Object file name. This shall be (re)created by the compilation.
176# @param $(dep) Dependcy file. This shall be (re)created by the compilation.
177# @param $(flags) Flags.
178# @param $(defs) Definitions. No -D or something.
179# @param $(incs) Includes. No -I or something.
180# @param $(dirdep) Directory creation dependency.
181# @param $(deps) Other dependencies.
182#
183# @param $(outbase) Output basename (full). Use this for list files and such.
184# @param $(objsuff) Object suffix.
185TOOL_VCC100AMD64_COMPILE_CXX_DEPEND =
186TOOL_VCC100AMD64_COMPILE_CXX_DEPORD =
187TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb)
188ifdef KBUILD_USE_KOBJCACHE
189TOOL_VCC100AMD64_COMPILE_CXX_USES_KOBJCACHE = 1
190TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb) $(outbase).ii
191define TOOL_VCC100AMD64_COMPILE_CXX_CMDS
192 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\
193 --kObjCache-cpp $(outbase).ii\
194 $(TOOL_VCC100AMD64_CXX) -E\
195 $(flags)\
196 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
197 $(subst /,\\,$(abspath $(source))) \
198 --kObjCache-cc $(obj)\
199 $(TOOL_VCC100AMD64_CXX) -c\
200 $(flags)\
201 -Fd$(outbase)-obj.pdb \
202 -FD\
203 -Fo$(obj)\
204 $(outbase).ii
205 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb)
206endef
207else # !KBUILD_USE_KOBJCACHE
208TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb)
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## @todo configure the assembler template.
221
222## Compile resource source.
223# @param $(target) Normalized main target name.
224# @param $(source) Source filename (relative).
225# @param $(obj) Object file name. This shall be (re)created by the compilation.
226# @param $(dep) Dependcy file. This shall be (re)created by the compilation.
227# @param $(flags) Flags.
228# @param $(defs) Definitions. No -D or something.
229# @param $(incs) Includes. No -I or something.
230# @param $(dirdep) Directory creation dependency.
231# @param $(deps) Other dependencies.
232#
233# @param $(outbase) Output basename (full). Use this for list files and such.
234# @param $(objsuff) Object suffix.
235TOOL_VCC100AMD64_COMPILE_RC_DEPEND =
236TOOL_VCC100AMD64_COMPILE_RC_DEPORD =
237TOOL_VCC100AMD64_COMPILE_RC_OUTPUT =
238define TOOL_VCC100AMD64_COMPILE_RC_CMDS
239 $(QUIET)$(TOOL_VCC100AMD64_RC) \
240 $(flags) $(addprefix /i, $(subst /,\\,$(incs))) $(addprefix /d, $(defs))\
241 /fo$(obj)\
242 $(subst /,\\,$(abspath $(source)))
243endef
244
245
246## Link library
247# @param $(target) Normalized main target name.
248# @param $(out) Library name.
249# @param $(objs) Object files to put in the library.
250# @param $(flags) Flags.
251# @param $(dirdep) Directory creation dependency.
252# @param $(deps) Other dependencies.
253# @param $(othersrc) Unhandled sources.
254# @param $(outbase) Output basename (full). Use this for list files and such.
255#
256TOOL_VCC100AMD64_LINK_LIBRARY_DEPEND = $(othersrc)
257TOOL_VCC100AMD64_LINK_LIBRARY_DEPORD =
258TOOL_VCC100AMD64_LINK_LIBRARY_OUTPUT = $(outbase).rsp
259TOOL_VCC100AMD64_LINK_LIBRARY_OUTPUT_MAYBE = $(outbase).lst $(outbase).exp $(outbase).pdb
260define TOOL_VCC100AMD64_LINK_LIBRARY_CMDS
261 $(QUIET)$(APPEND) -tn $(outbase).rsp \
262 $(foreach arg,\
263 $(subst /,\\,$(objs) \
264 $(filter-out %.def,$(othersrc))) \
265 $(addprefix /DEF:,$(filter %.def,$(othersrc))) \
266 ,\"$(arg)\")
267 $(QUIET)$(TOOL_VCC100AMD64_AR) $(flags) /OUT:$(out) @$(outbase).rsp
268endef
269
270
271## Link program
272# @param $(target) Normalized main target name.
273# @param $(out) Program name.
274# @param $(objs) Object files to link together.
275# @param $(libs) Libraries to search.
276# @param $(libpath) Library search paths.
277# @param $(flags) Flags.
278# @param $(dirdep) Directory creation dependency.
279# @param $(deps) Other dependencies.
280# @param $(othersrc) Unhandled sources.
281# @param $(custom_pre) Custom step invoked before linking.
282# @param $(custom_post) Custom step invoked after linking.
283# @param $(outbase) Output basename (full). Use this for list files and such.
284#
285TOOL_VCC100AMD64_LINK_PROGRAM_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
286TOOL_VCC100AMD64_LINK_PROGRAM_DEPORD =
287TOOL_VCC100AMD64_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).rsp
288TOOL_VCC100AMD64_LINK_PROGRAM_OUTPUT_MAYBE = $(outbase).lib $(outbase).exp $(outbase).ilk $(out).manifest
289TOOL_VCC100AMD64_LINK_PROGRAM_OUTPUT_DEBUG = $(outbase).pdb
290TOOL_VCC100AMD64_LINK_PROGRAM_DEBUG_INSTALL_FN = $(2).pdb=>$(basename $(3)).pdb
291define TOOL_VCC100AMD64_LINK_PROGRAM_CMDS
292 $(QUIET)$(APPEND) -tn $(outbase).rsp \
293 $(foreach arg,\
294 $(subst /,\\,$(objs)) \
295 $(subst /,\\,$(libs)) \
296 ,\"$(arg)\")
297 $(QUIET)$(TOOL_VCC100AMD64_LD) $(flags) \
298 /OUT:$(out) \
299 /MAPINFO:EXPORTS /INCREMENTAL:NO \
300 /MAP:$(outbase).map \
301 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def)) \
302 $(subst /,\\,$(filter %.exp %.res,$(othersrc))) \
303 $(foreach p,$(libpath), /LIBPATH:$(p)) \
304 @$(outbase).rsp
305 $(QUIET)$(TEST) -f $(out).manifest -- \
306 $(TOOL_VCC100AMD64_MT) -manifest $(subst /,\\,$(out)).manifest -outputresource:$(subst /,\\,$(out))
307endef
308
309
310## Link DLL.
311# @param $(target) Normalized main target name.
312# @param $(out) DLL name.
313# @param $(objs) Object files to link together.
314# @param $(libs) Libraries to search.
315# @param $(libpath) Library search paths.
316# @param $(flags) Flags.
317# @param $(dirdep) Directory creation dependency.
318# @param $(deps) Other dependencies.
319# @param $(othersrc) Unhandled sources.
320# @param $(custom_pre) Custom step invoked before linking.
321# @param $(custom_post) Custom step invoked after linking.
322#
323# @param $(outbase) Output basename (full). Use this for list files and such.
324TOOL_VCC100AMD64_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
325TOOL_VCC100AMD64_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_STAGE_LIB))
326TOOL_VCC100AMD64_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(outbase).rsp
327TOOL_VCC100AMD64_LINK_DLL_OUTPUT_MAYBE = $(outbase).ilk $(out).manifest $(PATH_STAGE_LIB)/$(notdir $(outbase)).lib $(PATH_STAGE_LIB)/$(notdir $(outbase)).exp
328TOOL_VCC100AMD64_LINK_DLL_OUTPUT_DEBUG = $(outbase).pdb
329TOOL_VCC100AMD64_LINK_DLL_DEBUG_INSTALL_FN = $(2).pdb=>$(basename $(3)).pdb
330define TOOL_VCC100AMD64_LINK_DLL_CMDS
331 $(QUIET)$(APPEND) -tn $(outbase).rsp \
332 $(foreach arg,\
333 $(subst /,\\,$(objs)) \
334 $(subst /,\\,$(libs)) \
335 ,\"$(arg)\")
336 $(QUIET)$(TOOL_VCC100AMD64_LD) $(flags) \
337 /OUT:$(out) \
338 /IMPLIB:$(outbase).lib \
339 /MAPINFO:EXPORTS /INCREMENTAL:NO \
340 /MAP:$(outbase).map \
341 /DLL \
342 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def)) \
343 $(subst /,\\,$(filter %.exp %.res,$(othersrc))) \
344 $(foreach p,$(libpath), /LIBPATH:$(p)) \
345 @$(outbase).rsp
346 $(QUIET)$(TEST) -f $(out).manifest -- \
347 $(TOOL_VCC100AMD64_MT) -manifest $(subst /,\\,$(out)).manifest '-outputresource:$(subst /,\\,$(out));#2'
348 $(QUIET)$(CP) --changed --ignore-non-existing $(outbase).exp $(outbase).lib $(PATH_STAGE_LIB)/
349$(eval _DIRS += $(PATH_STAGE_LIB))
350endef
351
352
353## Link system module (windows aka driver, linux aka kernel module)
354# @param $(target) Normalized main target name.
355# @param $(out) System module name.
356# @param $(objs) Object files to link together.
357# @param $(libs) Libraries to search.
358# @param $(libpath) Library search paths.
359# @param $(flags) Flags.
360# @param $(dirdep) Directory creation dependency.
361# @param $(deps) Other dependencies.
362# @param $(othersrc) Unhandled sources.
363# @param $(custom_pre) Custom step invoked before linking.
364# @param $(custom_post) Custom step invoked after linking.
365#
366# @param $(outbase) Output basename (full). Use this for list files and such.
367TOOL_VCC100AMD64_LINK_SYSMOD_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
368TOOL_VCC100AMD64_LINK_SYSMOD_DEPORD =
369TOOL_VCC100AMD64_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).rsp
370TOOL_VCC100AMD64_LINK_SYSMOD_OUTPUT_MAYBE = $(outbase).lib $(outbase).exp $(outbase).ilk $(out).manifest
371TOOL_VCC100AMD64_LINK_SYSMOD_OUTPUT_DEBUG = $(outbase).pdb
372TOOL_VCC100AMD64_LINK_SYSMOD_DEBUG_INSTALL_FN = $(2).pdb=>$(basename $(3)).pdb
373define TOOL_VCC100AMD64_LINK_SYSMOD_CMDS
374 $(QUIET)$(APPEND) -tn $(outbase).rsp \
375 $(foreach arg,\
376 $(subst /,\\,$(objs)) \
377 $(subst /,\\,$(libs)) \
378 ,\"$(arg)\")
379 $(QUIET)$(TOOL_VCC100AMD64_LD) $(flags) \
380 /OUT:$(out) \
381 /MAPINFO:EXPORTS /INCREMENTAL:NO \
382 /MAP:$(outbase).map \
383 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def)) \
384 $(subst /,\\,$(filter %.exp %.res,$(othersrc))) \
385 $(foreach p,$(libpath), /LIBPATH:$(p)) \
386 @$(outbase).rsp
387 $(QUIET)$(TEST) -f $(out).manifest -- \
388 $(TOOL_VCC100AMD64_MT) -manifest $(subst /,\\,$(out)).manifest '-outputresource:$(subst /,\\,$(out));#2'
389endef
390
Note: See TracBrowser for help on using the repository browser.