6 <define-rule name=
"wxshortcut" extends=
"phony">
8 <set var=
"name">$(id.replace('wx',''))
</set>
10 <if cond=
"SHARED=='1'">$(name)dll
</if>
13 <if cond=
"SHARED=='0'">$(name)lib
</if>
15 <depends>$(namedll)
</depends>
16 <depends>$(namelib)
</depends>
20 <!-- ================================================================= -->
21 <!-- wxBase library -->
22 <!-- ================================================================= -->
24 <dll id=
"basedll" template=
"wx_base_dll"
25 cond=
"SHARED=='1' and MONOLITHIC=='0'">
26 <define>WXMAKINGDLL_BASE
</define>
27 <define>wxUSE_BASE=
1</define>
28 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)
</sources>
29 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)
</msvc-headers>
32 <lib id=
"baselib" template=
"wx_base_lib"
33 cond=
"SHARED=='0' and MONOLITHIC=='0'">
34 <define>wxUSE_BASE=
1</define>
35 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)
</sources>
36 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)
</msvc-headers>
39 <wxshortcut id=
"wxbase" cond=
"MONOLITHIC=='0'"/>
41 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">base=baselib+basedll
</set>
44 <!-- ================================================================= -->
45 <!-- wxNet library -->
46 <!-- ================================================================= -->
48 <dll id=
"netdll" template=
"wx_base_dll"
49 cond=
"SHARED=='1' and MONOLITHIC=='0'">
50 <define>WXUSINGDLL
</define>
51 <define>WXMAKINGDLL_NET
</define>
52 <sources>$(NET_SRC)
</sources>
53 <msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)
</msvc-headers>
54 <library>basedll
</library>
57 <lib id=
"netlib" template=
"wx_base_lib"
58 cond=
"SHARED=='0' and MONOLITHIC=='0'">
59 <sources>$(NET_SRC)
</sources>
60 <msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)
</msvc-headers>
63 <wxshortcut id=
"wxnet" cond=
"MONOLITHIC=='0'"/>
65 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">net=netlib+netdll
</set>
68 <!-- ================================================================= -->
69 <!-- Main GUI library -->
70 <!-- ================================================================= -->
72 <dll id=
"coredll" template=
"wx_dll"
73 cond=
"SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
74 <define>WXUSINGDLL
</define>
75 <define>WXMAKINGDLL_CORE
</define>
76 <define>wxUSE_BASE=
0</define>
77 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)
</sources>
78 <msvc-headers>$(ALL_GUI_HEADERS)
</msvc-headers>
79 <library>basedll
</library>
82 <lib id=
"corelib" template=
"wx_lib"
83 cond=
"SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
84 <define>wxUSE_BASE=
0</define>
85 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)
</sources>
86 <msvc-headers>$(ALL_GUI_HEADERS)
</msvc-headers>
89 <wxshortcut id=
"wxcore" cond=
"MONOLITHIC=='0' and USE_GUI=='1'"/>
91 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">core=corelib+coredll
</set>
94 <!-- ================================================================= -->
95 <!-- "Advanced" controls library -->
96 <!-- ================================================================= -->
98 <dll id=
"advdll" template=
"wx_dll"
99 cond=
"SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
100 <define>WXUSINGDLL
</define>
101 <define>WXMAKINGDLL_ADV
</define>
102 <sources>$(ADVANCED_SRC) $(PLUGIN_ADV_SRC)
</sources>
103 <msvc-headers>$(ADVANCED_HDR)
</msvc-headers>
104 <library>coredll
</library>
105 <library>basedll
</library>
106 <ldlibs>$(PLUGIN_ADV_EXTRALIBS)
</ldlibs>
109 <lib id=
"advlib" template=
"wx_lib"
110 cond=
"SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
111 <sources>$(ADVANCED_SRC) $(PLUGIN_ADV_SRC)
</sources>
112 <msvc-headers>$(ADVANCED_HDR)
</msvc-headers>
115 <wxshortcut id=
"wxadv" cond=
"MONOLITHIC=='0' and USE_GUI=='1'"/>
117 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">adv=advlib+advdll
</set>
120 <!-- ================================================================= -->
121 <!-- wxMedia classes library -->
122 <!-- ================================================================= -->
124 <dll id=
"mediadll" template=
"wx_dll"
125 cond=
"SHARED=='1' and USE_MEDIA=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
126 <define>WXUSINGDLL
</define>
127 <define>WXMAKINGDLL_MEDIA
</define>
128 <sources>$(MEDIA_SRC)
</sources>
129 <msvc-headers>$(MEDIA_HDR)
</msvc-headers>
130 <library>coredll
</library>
131 <library>basedll
</library>
132 <ldlibs>$(EXTRALIBS_MEDIA)
</ldlibs>
135 <lib id=
"medialib" template=
"wx_lib"
136 cond=
"SHARED=='0' and USE_MEDIA=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
137 <sources>$(MEDIA_SRC)
</sources>
138 <msvc-headers>$(MEDIA_HDR)
</msvc-headers>
141 <wxshortcut id=
"wxmedia" cond=
"MONOLITHIC=='0' and USE_GUI=='1' and USE_MEDIA=='1'"/>
143 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">media=medialib+mediadll
</set>
146 <!-- ================================================================ -->
148 <!-- ================================================================ -->
150 <dll id=
"htmldll" template=
"wx_dll"
151 cond=
"SHARED=='1' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
152 <define>WXUSINGDLL
</define>
153 <define>WXMAKINGDLL_HTML
</define>
154 <sources>$(HTML_SRC)
</sources>
155 <library>coredll
</library>
156 <library>basedll
</library>
157 <ldlibs>$(EXTRALIBS_HTML)
</ldlibs>
158 <msvc-headers>$(HTML_HDR)
</msvc-headers>
161 <!-- use this to conditonally link against htmldll with <library>: -->
162 <set var=
"htmldll_library_link">
163 <if cond=
"SHARED=='1' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">htmldll
</if>
166 <lib id=
"htmllib" template=
"wx_lib"
167 cond=
"SHARED=='0' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
168 <sources>$(HTML_SRC)
</sources>
169 <msvc-headers>$(HTML_HDR)
</msvc-headers>
172 <wxshortcut id=
"wxhtml" cond=
"MONOLITHIC=='0' and USE_HTML=='1'"/>
174 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">html=htmllib+htmldll
</set>
176 <!-- ================================================================ -->
178 <!-- ================================================================ -->
180 <!-- included by wx.bkl from opengl.bkl -->
182 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">gl=gllib+gldll
</set>
185 <!-- ================================================================ -->
187 <!-- ================================================================ -->
189 <dll id=
"qadll" template=
"wx_dll"
190 cond=
"SHARED=='1' and USE_GUI=='1' and USE_QA=='1' and MONOLITHIC=='0'">
191 <define>WXUSINGDLL
</define>
192 <define>WXMAKINGDLL_QA
</define>
193 <sources>$(QA_SRC)
</sources>
194 <msvc-headers>$(QA_HDR)
</msvc-headers>
195 <library>coredll
</library>
196 <library>basedll
</library>
197 <library>xmldll
</library>
200 <lib id=
"qalib" template=
"wx_lib"
201 cond=
"SHARED=='0' and USE_GUI=='1' and USE_QA=='1' and MONOLITHIC=='0'">
202 <sources>$(QA_SRC)
</sources>
203 <msvc-headers>$(QA_HDR)
</msvc-headers>
206 <wxshortcut id=
"wxqa" cond=
"MONOLITHIC=='0' and USE_QA=='1'"/>
208 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">qa=qalib+qadll
</set>
210 <!-- ================================================================ -->
212 <!-- ================================================================ -->
214 <dll id=
"xmldll" template=
"wx_base_dll"
215 cond=
"SHARED=='1' and MONOLITHIC=='0'">
216 <define>WXUSINGDLL
</define>
217 <define>WXMAKINGDLL_XML
</define>
218 <sources>$(XML_SRC)
</sources>
219 <msvc-headers>$(XML_HDR)
</msvc-headers>
220 <library>basedll
</library>
221 <ldlibs>$(EXTRALIBS_XML)
</ldlibs>
224 <lib id=
"xmllib" template=
"wx_base_lib"
225 cond=
"SHARED=='0' and MONOLITHIC=='0'">
226 <sources>$(XML_SRC)
</sources>
227 <msvc-headers>$(XML_HDR)
</msvc-headers>
230 <wxshortcut id=
"wxxml" cond=
"MONOLITHIC=='0'"/>
232 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">xml=xmllib+xmldll
</set>
234 <!-- ================================================================ -->
236 <!-- ================================================================ -->
238 <dll id=
"xrcdll" template=
"wx_dll"
239 cond=
"SHARED=='1' and USE_XRC=='1' and MONOLITHIC=='0'">
240 <define>WXUSINGDLL
</define>
241 <define>WXMAKINGDLL_XRC
</define>
242 <sources>$(XRC_SRC)
</sources>
243 <library>$(htmldll_library_link)
</library>
244 <library>advdll
</library>
245 <library>coredll
</library>
246 <library>xmldll
</library>
247 <library>basedll
</library>
248 <msvc-headers>$(XRC_HDR)
</msvc-headers>
251 <lib id=
"xrclib" template=
"wx_lib"
252 cond=
"SHARED=='0' and USE_XRC=='1' and MONOLITHIC=='0'">
253 <sources>$(XRC_SRC)
</sources>
254 <msvc-headers>$(XRC_HDR)
</msvc-headers>
257 <wxshortcut id=
"wxxrc" cond=
"MONOLITHIC=='0' and USE_XRC=='1'"/>
259 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">xrc=xrclib+xrcdll
</set>
261 <!-- ================================================================ -->
263 <!-- ================================================================ -->
265 <dll id=
"auidll" template=
"wx_dll"
266 cond=
"SHARED=='1' and USE_AUI=='1' and MONOLITHIC=='0'">
267 <define>WXUSINGDLL
</define>
268 <define>WXMAKINGDLL_AUI
</define>
269 <sources>$(AUI_SRC)
</sources>
270 <library>advdll
</library>
271 <library>coredll
</library>
272 <library>basedll
</library>
273 <msvc-headers>$(AUI_HDR)
</msvc-headers>
276 <lib id=
"auilib" template=
"wx_lib"
277 cond=
"SHARED=='0' and USE_AUI=='1' and MONOLITHIC=='0'">
278 <sources>$(AUI_SRC)
</sources>
279 <msvc-headers>$(AUI_HDR)
</msvc-headers>
282 <wxshortcut id=
"wxaui" cond=
"MONOLITHIC=='0' and USE_AUI=='1'"/>
284 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">aui=auilib+auidll
</set>
286 <!-- ================================================================ -->
288 <!-- ================================================================ -->
290 <dll id=
"ribbondll" template=
"wx_dll"
291 cond=
"SHARED=='1' and USE_RIBBON=='1' and MONOLITHIC=='0'">
292 <define>WXUSINGDLL
</define>
293 <define>WXMAKINGDLL_RIBBON
</define>
294 <sources>$(RIBBON_SRC)
</sources>
295 <library>advdll
</library>
296 <library>coredll
</library>
297 <library>basedll
</library>
298 <msvc-headers>$(RIBBON_HDR)
</msvc-headers>
301 <lib id=
"ribbonlib" template=
"wx_lib"
302 cond=
"SHARED=='0' and USE_RIBBON=='1' and MONOLITHIC=='0'">
303 <sources>$(RIBBON_SRC)
</sources>
304 <msvc-headers>$(RIBBON_HDR)
</msvc-headers>
307 <wxshortcut id=
"wxribbon" cond=
"MONOLITHIC=='0' and USE_RIBBON=='1'"/>
309 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">ribbon=ribbonlib+ribbondll
</set>
311 <!-- ================================================================ -->
313 <!-- ================================================================ -->
315 <dll id=
"propgriddll" template=
"wx_dll"
316 cond=
"SHARED=='1' and USE_PROPGRID=='1' and MONOLITHIC=='0'">
317 <define>WXUSINGDLL
</define>
318 <define>WXMAKINGDLL_PROPGRID
</define>
319 <sources>$(PROPGRID_SRC)
</sources>
320 <library>advdll
</library>
321 <library>coredll
</library>
322 <library>basedll
</library>
323 <msvc-headers>$(PROPGRID_HDR)
</msvc-headers>
326 <lib id=
"propgridlib" template=
"wx_lib"
327 cond=
"SHARED=='0' and USE_PROPGRID=='1' and MONOLITHIC=='0'">
328 <sources>$(PROPGRID_SRC)
</sources>
329 <msvc-headers>$(PROPGRID_HDR)
</msvc-headers>
332 <wxshortcut id=
"wxpropgrid" cond=
"MONOLITHIC=='0' and USE_PROPGRID=='1'"/>
334 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">propgrid=propgridlib+propgriddll
</set>
336 <!-- ================================================================ -->
338 <!-- ================================================================ -->
340 <dll id=
"richtextdll" template=
"wx_dll"
341 cond=
"SHARED=='1' and USE_RICHTEXT=='1' and MONOLITHIC=='0'">
342 <define>WXUSINGDLL
</define>
343 <define>WXMAKINGDLL_RICHTEXT
</define>
344 <sources>$(RICHTEXT_SRC)
</sources>
345 <library>advdll
</library>
346 <library>$(htmldll_library_link)
</library>
347 <library>xmldll
</library>
348 <library>coredll
</library>
349 <library>basedll
</library>
350 <msvc-headers>$(RICHTEXT_HDR)
</msvc-headers>
353 <lib id=
"richtextlib" template=
"wx_lib"
354 cond=
"SHARED=='0' and USE_RICHTEXT=='1' and MONOLITHIC=='0'">
355 <sources>$(RICHTEXT_SRC)
</sources>
356 <msvc-headers>$(RICHTEXT_HDR)
</msvc-headers>
359 <wxshortcut id=
"wxrichtext" cond=
"MONOLITHIC=='0' and USE_RICHTEXT=='1'"/>
361 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">richtext=richtextlib+richtextdll
</set>
363 <!-- ================================================================ -->
365 <!-- ================================================================ -->
367 <template id=
"stc_base" template=
"wxscintilla_cppflags">
368 <library>wxscintilla
</library>
371 <dll id=
"stcdll" template=
"wx_dll,stc_base"
372 cond=
"SHARED=='1' and USE_STC=='1' and MONOLITHIC=='0'">
373 <define>WXUSINGDLL
</define>
374 <define>WXMAKINGDLL_STC
</define>
375 <sources>$(STC_SRC)
</sources>
376 <library>coredll
</library>
377 <library>basedll
</library>
378 <msvc-headers>$(STC_HDR)
</msvc-headers>
381 <lib id=
"stclib" template=
"wx_lib,stc_base"
382 cond=
"SHARED=='0' and USE_STC=='1' and MONOLITHIC=='0'">
383 <sources>$(STC_SRC)
</sources>
384 <msvc-headers>$(STC_HDR)
</msvc-headers>
387 <wxshortcut id=
"wxstc" cond=
"MONOLITHIC=='0' and USE_STC=='1'"/>
389 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">stc=stclib+stcdll
</set>