source: trunk/kBuild/tools/VCC100X86.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.2 KB
Line 
1# $Id: VCC100X86.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 x86.
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_VCC100X86 := Visual C++ 10.0 (aka Visual 2010 and MSC v16), targeting x86.
35
36# Tool Specific Properties
37ifndef PATH_TOOL_VCC100X86
38 PATH_TOOL_VCC100X86 := $(wildcard $(PATH_DEVTOOLS)/win.x86/vcc/v10*)
39 ifeq ($(PATH_TOOL_VCC100X86),)
40 PATH_TOOL_VCC100X86 := $(PATH_TOOL_VCC100)
41 endif
42 ifeq ($(PATH_TOOL_VCC100X86),)
43 PATH_TOOL_VCC100X86 := $(PATH_TOOL_VCC100AMD64)
44 endif
45 ifeq ($(PATH_TOOL_VCC100X86),)
46 PATH_TOOL_VCC100X86 := $(wildcard $(PATH_DEVTOOLS)/x86.win32/vcc/v10*)
47 endif
48 ifeq ($(PATH_TOOL_VCC100X86),)
49 PATH_TOOL_VCC100X86 := $(wildcard $(PATH_DEVTOOLS)/win.amd64/vcc/v10*)
50 endif
51 ifneq ($(PATH_TOOL_VCC100X86),)
52 PATH_TOOL_VCC100X86 := $(lastword $(sort $(PATH_TOOL_VCC100X86)))
53 else
54 $(warning kBuild: PATH_TOOL_VCC100X86 cannot be determined!)
55 PATH_TOOL_VCC100X86 := $(PATH_DEVTOOLS)/x86.win/vcc/v10
56 endif
57else
58 # Resolve any fancy stuff once and for all.
59 PATH_TOOL_VCC100X86 := $(PATH_TOOL_VCC100X86)
60endif
61PATH_TOOL_VCC100X86_BIN ?= $(PATH_TOOL_VCC100X86)/bin
62PATH_TOOL_VCC100X86_LIB ?= $(PATH_TOOL_VCC100X86)/lib
63PATH_TOOL_VCC100X86_INC ?= $(PATH_TOOL_VCC100X86)/include
64PATH_TOOL_VCC100X86_ATLMFC ?= $(PATH_TOOL_VCC100X86)/atlmfc
65PATH_TOOL_VCC100X86_ATLMFC_INC ?= $(PATH_TOOL_VCC100X86_ATLMFC)/include
66PATH_TOOL_VCC100X86_ATLMFC_LIB ?= $(PATH_TOOL_VCC100X86_ATLMFC)/lib
67TOOL_VCC100X86_CC ?= $(EXEC_X86_WIN32) $(PATH_TOOL_VCC100X86_BIN)/cl.exe
68TOOL_VCC100X86_CXX ?= $(EXEC_X86_WIN32) $(PATH_TOOL_VCC100X86_BIN)/cl.exe
69TOOL_VCC100X86_AS ?= $(EXEC_X86_WIN32) $(PATH_TOOL_VCC100X86_BIN)/ml.exe
70TOOL_VCC100X86_AR ?= $(EXEC_X86_WIN32) $(PATH_TOOL_VCC100X86_BIN)/lib.exe
71TOOL_VCC100X86_LD ?= $(EXEC_X86_WIN32) $(PATH_TOOL_VCC100X86_BIN)/link.exe
72TOOL_VCC100X86_RC ?= $(EXEC_X86_WIN32) $(call TOOL_VCC100_FN_FIND_SDK_TOOL,rc.exe,[Rr][Cc].[Ee][Xx][Ee],TOOL_VCC100_RC_CACHED)
73TOOL_VCC100X86_MT ?= $(EXEC_X86_WIN32) $(call TOOL_VCC100_FN_FIND_SDK_TOOL,mt.exe,[Mm][Tt].[Ee][Xx][Ee],TOOL_VCC100_MT_CACHED)
74
75# The following in duplicated in VCC100.kmk and VCC100X86.kmk.
76TOOL_VCC100_FN_FIND_SDK_TOOL_SUB = $(eval $3 := $(firstword \
77 $(if-expr defined(PATH_SDK_WINPSDK71_BIN), $(wildcard $(PATH_SDK_WINPSDK71_BIN)/$2)) \
78 $(if-expr defined(PATH_SDK_WINPSDK_BIN) , $(wildcard $(PATH_SDK_WINPSDK_BIN)/$2)) \
79 $(rsort $(wildcard $(KBUILD_DEVTOOLS_HST)/sdk/*/[Bb][Ii][Nn]/$2)) \
80 $(rsort $(wildcard $(KBUILD_DEVTOOLS_HST_ALT)/sdk/*/[Bb][Ii][Nn]/$2)) \
81 $1))
82TOOL_VCC100_FN_FIND_SDK_TOOL = $(if-expr !defined($3),$(TOOL_VCC100_FN_FIND_SDK_TOOL_SUB),)$($3)
83
84## Disabled fast DEP_IDB based dependencies.
85#VCC100X86_OLD_DEPS = 1
86
87## Constructs the correct .pdb name (the name is lowercased).
88# @param $(1) Base name, no extention.
89# @param $(2) The extension.
90TOOL_VCC100X86_PDB = $(dir $(1))$(tolower $(notdir $(1))).$(2)
91
92
93# General Properties used by kBuild
94TOOL_VCC100X86_COBJSUFF ?= .obj
95TOOL_VCC100X86_CFLAGS ?= -TC -nologo
96TOOL_VCC100X86_CFLAGS.debug ?= -Zi
97TOOL_VCC100X86_CFLAGS.release ?= -O2
98TOOL_VCC100X86_CFLAGS.profile ?= -O2
99TOOL_VCC100X86_CINCS ?= $(PATH_TOOL_VCC100X86_INC)
100TOOL_VCC100X86_CDEFS ?=
101
102TOOL_VCC100X86_CXXOBJSUFF ?= .obj
103TOOL_VCC100X86_CXXFLAGS ?= -TP -nologo
104TOOL_VCC100X86_CXXFLAGS.debug ?= -Zi
105TOOL_VCC100X86_CXXFLAGS.release ?= -O2
106TOOL_VCC100X86_CXXFLAGS.profile ?= -O2
107TOOL_VCC100X86_CXXINCS ?= $(PATH_TOOL_VCC100X86_INC) $(PATH_TOOL_VCC100X86_ATLMFC_INC)
108TOOL_VCC100X86_CXXDEFS ?=
109
110TOOL_VCC100X86_ASOBJSUFF ?= .obj
111
112TOOL_VCC100X86_RCOBJSUFF ?= .res
113TOOL_VCC100X86_RCINCS ?= $(PATH_TOOL_VCC100X86_INC) $(PATH_TOOL_VCC100X86_ATLMFC_INC)
114
115TOOL_VCC100X86_ARFLAGS ?= -nologo
116TOOL_VCC100X86_ARLIBSUFF ?= .lib
117
118TOOL_VCC100X86_LDFLAGS ?= -nologo -machine:x86
119TOOL_VCC100X86_LDFLAGS.debug ?= -debug
120TOOL_VCC100X86_LDFLAGS.release ?=
121
122
123
124## Compile C source.
125# @param $(target) Normalized main target name.
126# @param $(source) Source filename (relative).
127# @param $(obj) Object file name. This shall be (re)created by the compilation.
128# @param $(dep) Dependcy file. This shall be (re)created by the compilation.
129# @param $(flags) Flags.
130# @param $(defs) Definitions. No -D or something.
131# @param $(incs) Includes. No -I or something.
132# @param $(dirdep) Directory creation dependency.
133# @param $(deps) Other dependencies.
134#
135# @param $(outbase) Output basename (full). Use this for list files and such.
136# @param $(objsuff) Object suffix.
137TOOL_VCC100X86_COMPILE_C_DEPEND =
138TOOL_VCC100X86_COMPILE_C_DEPORD =
139TOOL_VCC100X86_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,pdb)
140ifdef KBUILD_USE_KOBJCACHE
141TOOL_VCC100X86_COMPILE_C_USES_KOBJCACHE = 1
142TOOL_VCC100X86_COMPILE_C_OUTPUT = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb) $(outbase).i
143define TOOL_VCC100X86_COMPILE_C_CMDS
144 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\
145 --kObjCache-cpp $(outbase).i\
146 $(TOOL_VCC100X86_CC) -E\
147 $(flags)\
148 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
149 $(subst /,\\,$(abspath $(source))) \
150 --kObjCache-cc $(obj)\
151 $(TOOL_VCC100X86_CC) -c\
152 $(flags)\
153 -Fd$(outbase)-obj.pdb \
154 -FD\
155 -Fo$(obj)\
156 $(outbase).i
157 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100X86_PDB,$(outbase)-obj,idb)
158endef
159else # !KBUILD_USE_KOBJCACHE
160TOOL_VCC100X86_COMPILE_C_OUTPUT = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb)
161define TOOL_VCC100X86_COMPILE_C_CMDS
162 $(QUIET)$(TOOL_VCC100X86_CC) -c\
163 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
164 -Fd$(outbase)-obj.pdb \
165 -FD\
166 -Fo$(obj)\
167 $(subst /,\\,$(abspath $(source)))
168 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100X86_PDB,$(outbase)-obj,idb)
169endef
170endif # !KBUILD_USE_KOBJCACHE
171
172
173## Compile C++ source.
174# @param $(target) Normalized main target name.
175# @param $(source) Source filename (relative).
176# @param $(obj) Object file name. This shall be (re)created by the compilation.
177# @param $(dep) Dependcy file. This shall be (re)created by the compilation.
178# @param $(flags) Flags.
179# @param $(defs) Definitions. No -D or something.
180# @param $(incs) Includes. No -I or something.
181# @param $(dirdep) Directory creation dependency.
182# @param $(deps) Other dependencies.
183#
184# @param $(outbase) Output basename (full). Use this for list files and such.
185# @param $(objsuff) Object suffix.
186TOOL_VCC100X86_COMPILE_CXX_DEPEND =
187TOOL_VCC100X86_COMPILE_CXX_DEPORD =
188TOOL_VCC100X86_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,pdb)
189ifdef KBUILD_USE_KOBJCACHE
190TOOL_VCC100X86_COMPILE_CXX_USES_KOBJCACHE = 1
191TOOL_VCC100X86_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb) $(outbase).ii
192define TOOL_VCC100X86_COMPILE_CXX_CMDS
193 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\
194 --kObjCache-cpp $(outbase).ii\
195 $(TOOL_VCC100X86_CXX) -E\
196 $(flags)\
197 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
198 $(subst /,\\,$(abspath $(source))) \
199 --kObjCache-cc $(obj)\
200 $(TOOL_VCC100X86_CXX) -c\
201 $(flags)\
202 -Fd$(outbase)-obj.pdb \
203 -FD\
204 -Fo$(obj)\
205 $(outbase).ii
206 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100X86_PDB,$(outbase)-obj,idb)
207endef
208else # !KBUILD_USE_KOBJCACHE
209TOOL_VCC100X86_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb)
210define TOOL_VCC100X86_COMPILE_CXX_CMDS
211 $(QUIET)$(TOOL_VCC100X86_CXX) -c\
212 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
213 -Fd$(outbase)-obj.pdb \
214 -FD\
215 -Fo$(obj)\
216 $(subst /,\\,$(abspath $(source)))
217 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100X86_PDB,$(outbase)-obj,idb)
218endef
219endif # !KBUILD_USE_KOBJCACHE
220
221## @todo configure the assembler template.
222
223## Compile resource source.
224# @param $(target) Normalized main target name.
225# @param $(source) Source filename (relative).
226# @param $(obj) Object file name. This shall be (re)created by the compilation.
227# @param $(dep) Dependcy file. This shall be (re)created by the compilation.
228# @param $(flags) Flags.
229# @param $(defs) Definitions. No -D or something.
230# @param $(incs) Includes. No -I or something.
231# @param $(dirdep) Directory creation dependency.
232# @param $(deps) Other dependencies.
233#
234# @param $(outbase) Output basename (full). Use this for list files and such.
235# @param $(objsuff) Object suffix.
236TOOL_VCC100X86_COMPILE_RC_DEPEND =
237TOOL_VCC100X86_COMPILE_RC_DEPORD =
238TOOL_VCC100X86_COMPILE_RC_OUTPUT =
239define TOOL_VCC100X86_COMPILE_RC_CMDS
240 $(QUIET)$(TOOL_VCC100X86_RC) \
241 $(flags) $(addprefix /i, $(subst /,\\,$(incs))) $(addprefix /d, $(defs))\
242 /fo$(obj)\
243 $(subst /,\\,$(abspath $(source)))
244endef
245
246
247## Link library
248# @param $(target) Normalized main target name.
249# @param $(out) Library name.
250# @param $(objs) Object files to put in the library.
251# @param $(flags) Flags.
252# @param $(dirdep) Directory creation dependency.
253# @param $(deps) Other dependencies.
254# @param $(othersrc) Unhandled sources.
255# @param $(outbase) Output basename (full). Use this for list files and such.
256#
257TOOL_VCC100X86_LINK_LIBRARY_DEPEND = $(othersrc)
258TOOL_VCC100X86_LINK_LIBRARY_DEPORD =
259TOOL_VCC100X86_LINK_LIBRARY_OUTPUT = $(outbase).rsp
260TOOL_VCC100X86_LINK_LIBRARY_OUTPUT_MAYBE = $(outbase).lst $(outbase).exp $(outbase).pdb
261define TOOL_VCC100X86_LINK_LIBRARY_CMDS
262 $(QUIET)$(APPEND) -tn $(outbase).rsp \
263 $(foreach arg,\
264 $(subst /,\\,$(objs) \
265 $(filter-out %.def,$(othersrc))) \
266 $(addprefix /DEF:,$(filter %.def,$(othersrc))) \
267 ,\"$(arg)\")
268 $(QUIET)$(TOOL_VCC100X86_AR) $(flags) /OUT:$(out) @$(outbase).rsp
269endef
270
271
272## Link program
273# @param $(target) Normalized main target name.
274# @param $(out) Program name.
275# @param $(objs) Object files to link together.
276# @param $(libs) Libraries to search.
277# @param $(libpath) Library search paths.
278# @param $(flags) Flags.
279# @param $(dirdep) Directory creation dependency.
280# @param $(deps) Other dependencies.
281# @param $(othersrc) Unhandled sources.
282# @param $(custom_pre) Custom step invoked before linking.
283# @param $(custom_post) Custom step invoked after linking.
284# @param $(outbase) Output basename (full). Use this for list files and such.
285#
286TOOL_VCC100X86_LINK_PROGRAM_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
287TOOL_VCC100X86_LINK_PROGRAM_DEPORD =
288TOOL_VCC100X86_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).rsp
289TOOL_VCC100X86_LINK_PROGRAM_OUTPUT_MAYBE = $(outbase).lib $(outbase).exp $(outbase).ilk $(out).manifest
290TOOL_VCC100X86_LINK_PROGRAM_OUTPUT_DEBUG = $(outbase).pdb
291TOOL_VCC100X86_LINK_PROGRAM_DEBUG_INSTALL_FN = $(2).pdb=>$(basename $(3)).pdb
292define TOOL_VCC100X86_LINK_PROGRAM_CMDS
293 $(QUIET)$(APPEND) -tn $(outbase).rsp \
294 $(foreach arg,\
295 $(subst /,\\,$(objs)) \
296 $(subst /,\\,$(libs)) \
297 ,\"$(arg)\")
298 $(QUIET)$(TOOL_VCC100X86_LD) $(flags) \
299 /OUT:$(out) \
300 /MAPINFO:EXPORTS /INCREMENTAL:NO \
301 /MAP:$(outbase).map \
302 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def)) \
303 $(subst /,\\,$(filter %.exp %.res,$(othersrc))) \
304 $(foreach p,$(libpath), /LIBPATH:$(p)) \
305 @$(outbase).rsp
306 $(QUIET)$(TEST) -f $(out).manifest -- \
307 $(TOOL_VCC100X86_MT) -manifest $(subst /,\\,$(out)).manifest -outputresource:$(subst /,\\,$(out))
308endef
309
310
311## Link DLL.
312# @param $(target) Normalized main target name.
313# @param $(out) DLL name.
314# @param $(objs) Object files to link together.
315# @param $(libs) Libraries to search.
316# @param $(libpath) Library search paths.
317# @param $(flags) Flags.
318# @param $(dirdep) Directory creation dependency.
319# @param $(deps) Other dependencies.
320# @param $(othersrc) Unhandled sources.
321# @param $(custom_pre) Custom step invoked before linking.
322# @param $(custom_post) Custom step invoked after linking.
323#
324# @param $(outbase) Output basename (full). Use this for list files and such.
325TOOL_VCC100X86_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
326TOOL_VCC100X86_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_STAGE_LIB))
327TOOL_VCC100X86_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(outbase).rsp
328TOOL_VCC100X86_LINK_DLL_OUTPUT_MAYBE = $(outbase).ilk $(out).manifest $(PATH_STAGE_LIB)/$(notdir $(outbase)).lib $(PATH_STAGE_LIB)/$(notdir $(outbase)).exp
329TOOL_VCC100X86_LINK_DLL_OUTPUT_DEBUG = $(outbase).pdb
330TOOL_VCC100X86_LINK_DLL_DEBUG_INSTALL_FN = $(2).pdb=>$(basename $(3)).pdb
331define TOOL_VCC100X86_LINK_DLL_CMDS
332 $(QUIET)$(APPEND) -tn $(outbase).rsp \
333 $(foreach arg,\
334 $(subst /,\\,$(objs)) \
335 $(subst /,\\,$(libs)) \
336 ,\"$(arg)\")
337 $(QUIET)$(TOOL_VCC100X86_LD) $(flags) \
338 /OUT:$(out) \
339 /IMPLIB:$(outbase).lib \
340 /MAPINFO:EXPORTS /INCREMENTAL:NO \
341 /MAP:$(outbase).map \
342 /DLL \
343 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def)) \
344 $(subst /,\\,$(filter %.exp %.res,$(othersrc))) \
345 $(foreach p,$(libpath), /LIBPATH:$(p)) \
346 @$(outbase).rsp
347 $(QUIET)$(TEST) -f $(out).manifest -- \
348 $(TOOL_VCC100X86_MT) -manifest $(subst /,\\,$(out)).manifest '-outputresource:$(subst /,\\,$(out));#2'
349 $(QUIET)$(CP) --changed --ignore-non-existing $(outbase).exp $(outbase).lib $(PATH_STAGE_LIB)/
350$(eval _DIRS += $(PATH_STAGE_LIB))
351endef
352
353
354## Link system module (windows aka driver, linux aka kernel module)
355# @param $(target) Normalized main target name.
356# @param $(out) System module name.
357# @param $(objs) Object files to link together.
358# @param $(libs) Libraries to search.
359# @param $(libpath) Library search paths.
360# @param $(flags) Flags.
361# @param $(dirdep) Directory creation dependency.
362# @param $(deps) Other dependencies.
363# @param $(othersrc) Unhandled sources.
364# @param $(custom_pre) Custom step invoked before linking.
365# @param $(custom_post) Custom step invoked after linking.
366#
367# @param $(outbase) Output basename (full). Use this for list files and such.
368TOOL_VCC100X86_LINK_SYSMOD_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
369TOOL_VCC100X86_LINK_SYSMOD_DEPORD =
370TOOL_VCC100X86_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).rsp
371TOOL_VCC100X86_LINK_SYSMOD_OUTPUT_MAYBE = $(outbase).lib $(outbase).exp $(outbase).ilk $(out).manifest
372TOOL_VCC100X86_LINK_SYSMOD_OUTPUT_DEBUG = $(outbase).pdb
373TOOL_VCC100X86_LINK_SYSMOD_DEBUG_INSTALL_FN = $(2).pdb=>$(basename $(3)).pdb
374define TOOL_VCC100X86_LINK_SYSMOD_CMDS
375 $(QUIET)$(APPEND) -tn $(outbase).rsp \
376 $(foreach arg,\
377 $(subst /,\\,$(objs)) \
378 $(subst /,\\,$(libs)) \
379 ,\"$(arg)\")
380 $(QUIET)$(TOOL_VCC100X86_LD) $(flags) \
381 /OUT:$(out) \
382 /MAPINFO:EXPORTS /INCREMENTAL:NO \
383 /MAP:$(outbase).map \
384 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def)) \
385 $(subst /,\\,$(filter %.exp %.res,$(othersrc))) \
386 $(foreach p,$(libpath), /LIBPATH:$(p)) \
387 @$(outbase).rsp
388 $(QUIET)$(TEST) -f $(out).manifest -- \
389 $(TOOL_VCC100X86_MT) -manifest $(subst /,\\,$(out)).manifest '-outputresource:$(subst /,\\,$(out));#2'
390endef
391
Note: See TracBrowser for help on using the repository browser.