5 <define-rule name=
"wxshortcut" extends=
"phony">
7 <set var=
"name">$(id.replace('wx',''))
</set>
9 <if cond=
"SHARED=='1'">$(name)dll
</if>
12 <if cond=
"SHARED=='0'">$(name)lib
</if>
14 <depends>$(namedll)
</depends>
15 <depends>$(namelib)
</depends>
19 <!-- ================================================================= -->
20 <!-- wxBase library -->
21 <!-- ================================================================= -->
23 <dll id=
"basedll" template=
"wx_base_dll"
24 cond=
"SHARED=='1' and MONOLITHIC=='0'">
25 <define>WXMAKINGDLL_BASE
</define>
26 <define>wxUSE_BASE=
1</define>
27 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)
</sources>
28 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)
</msvc-headers>
31 <lib id=
"baselib" template=
"wx_base_lib"
32 cond=
"SHARED=='0' and MONOLITHIC=='0'">
33 <define>wxUSE_BASE=
1</define>
34 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)
</sources>
35 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)
</msvc-headers>
38 <wxshortcut id=
"wxbase" cond=
"MONOLITHIC=='0'"/>
40 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">base=baselib+basedll
</set>
43 <!-- ================================================================= -->
44 <!-- wxNet library -->
45 <!-- ================================================================= -->
47 <dll id=
"netdll" template=
"wx_base_dll"
48 cond=
"SHARED=='1' and MONOLITHIC=='0'">
49 <define>WXUSINGDLL
</define>
50 <define>WXMAKINGDLL_NET
</define>
51 <sources>$(NET_SRC)
</sources>
52 <msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)
</msvc-headers>
53 <library>basedll
</library>
56 <lib id=
"netlib" template=
"wx_base_lib"
57 cond=
"SHARED=='0' and MONOLITHIC=='0'">
58 <sources>$(NET_SRC)
</sources>
59 <msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)
</msvc-headers>
62 <wxshortcut id=
"wxnet" cond=
"MONOLITHIC=='0'"/>
64 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">net=netlib+netdll
</set>
67 <!-- ================================================================= -->
68 <!-- Main GUI library -->
69 <!-- ================================================================= -->
71 <dll id=
"coredll" template=
"wx_dll"
72 cond=
"SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
73 <define>WXUSINGDLL
</define>
74 <define>WXMAKINGDLL_CORE
</define>
75 <define>wxUSE_BASE=
0</define>
76 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)
</sources>
77 <msvc-headers>$(ALL_GUI_HEADERS)
</msvc-headers>
78 <library>basedll
</library>
81 <lib id=
"corelib" template=
"wx_lib"
82 cond=
"SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
83 <define>wxUSE_BASE=
0</define>
84 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)
</sources>
85 <msvc-headers>$(ALL_GUI_HEADERS)
</msvc-headers>
88 <wxshortcut id=
"wxcore" cond=
"MONOLITHIC=='0' and USE_GUI=='1'"/>
90 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">core=corelib+coredll
</set>
93 <!-- ================================================================= -->
94 <!-- "Advanced" controls library -->
95 <!-- ================================================================= -->
97 <dll id=
"advdll" template=
"wx_dll"
98 cond=
"SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
99 <define>WXUSINGDLL
</define>
100 <define>WXMAKINGDLL_ADV
</define>
101 <sources>$(ADVANCED_SRC) $(PLUGIN_ADV_SRC)
</sources>
102 <msvc-headers>$(ADVANCED_HDR)
</msvc-headers>
103 <library>coredll
</library>
104 <library>basedll
</library>
105 <ldlibs>$(PLUGIN_ADV_EXTRALIBS)
</ldlibs>
108 <lib id=
"advlib" template=
"wx_lib"
109 cond=
"SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
110 <sources>$(ADVANCED_SRC) $(PLUGIN_ADV_SRC)
</sources>
111 <msvc-headers>$(ADVANCED_HDR)
</msvc-headers>
114 <wxshortcut id=
"wxadv" cond=
"MONOLITHIC=='0' and USE_GUI=='1'"/>
116 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">adv=advlib+advdll
</set>
119 <!-- ================================================================= -->
120 <!-- wxMedia classes library -->
121 <!-- ================================================================= -->
123 <dll id=
"mediadll" template=
"wx_dll"
124 cond=
"SHARED=='1' and USE_MEDIA=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
125 <define>WXUSINGDLL
</define>
126 <define>WXMAKINGDLL_MEDIA
</define>
127 <sources>$(MEDIA_SRC)
</sources>
128 <msvc-headers>$(MEDIA_HDR)
</msvc-headers>
129 <library>coredll
</library>
130 <library>basedll
</library>
131 <ldlibs>$(EXTRALIBS_MEDIA)
</ldlibs>
134 <lib id=
"medialib" template=
"wx_lib"
135 cond=
"SHARED=='0' and USE_MEDIA=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
136 <sources>$(MEDIA_SRC)
</sources>
137 <msvc-headers>$(MEDIA_HDR)
</msvc-headers>
140 <wxshortcut id=
"wxmedia" cond=
"MONOLITHIC=='0' and USE_GUI=='1' and USE_MEDIA=='1'"/>
142 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">media=medialib+mediadll
</set>
145 <!-- ================================================================ -->
147 <!-- ================================================================ -->
149 <dll id=
"htmldll" template=
"wx_dll"
150 cond=
"SHARED=='1' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
151 <define>WXUSINGDLL
</define>
152 <define>WXMAKINGDLL_HTML
</define>
153 <sources>$(HTML_SRC)
</sources>
154 <library>coredll
</library>
155 <library>basedll
</library>
156 <ldlibs>$(EXTRALIBS_HTML)
</ldlibs>
157 <msvc-headers>$(HTML_HDR)
</msvc-headers>
160 <!-- use this to conditonally link against htmldll with <library>: -->
161 <set var=
"htmldll_library_link">
162 <if cond=
"SHARED=='1' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">htmldll
</if>
165 <lib id=
"htmllib" template=
"wx_lib"
166 cond=
"SHARED=='0' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
167 <sources>$(HTML_SRC)
</sources>
168 <msvc-headers>$(HTML_HDR)
</msvc-headers>
171 <wxshortcut id=
"wxhtml" cond=
"MONOLITHIC=='0' and USE_HTML=='1'"/>
173 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">html=htmllib+htmldll
</set>
175 <!-- ================================================================ -->
177 <!-- ================================================================ -->
179 <dll id=
"webviewdll" template=
"wx_dll"
180 cond=
"SHARED=='1' and USE_GUI=='1' and USE_WEBVIEW=='1' and MONOLITHIC=='0'">
181 <define>WXUSINGDLL
</define>
182 <define>WXMAKINGDLL_WEBVIEW
</define>
183 <sources>$(WEBVIEW_SRC)
</sources>
184 <library>coredll
</library>
185 <library>basedll
</library>
186 <msvc-headers>$(WEBVIEW_HDR)
</msvc-headers>
189 <lib id=
"webviewlib" template=
"wx_lib"
190 cond=
"SHARED=='0' and USE_GUI=='1' and USE_WEBVIEW=='1' and MONOLITHIC=='0'">
191 <sources>$(WEBVIEW_SRC)
</sources>
192 <msvc-headers>$(WEBVIEW_HDR)
</msvc-headers>
195 <wxshortcut id=
"wxwebview" cond=
"MONOLITHIC=='0' and USE_WEBVIEW=='1'"/>
197 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">webview=webviewlib+webviewdll
</set>
199 <!-- ================================================================ -->
201 <!-- ================================================================ -->
203 <!-- included by wx.bkl from opengl.bkl -->
205 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">gl=gllib+gldll
</set>
208 <!-- ================================================================ -->
210 <!-- ================================================================ -->
212 <dll id=
"qadll" template=
"wx_dll"
213 cond=
"SHARED=='1' and USE_GUI=='1' and USE_QA=='1' and MONOLITHIC=='0'">
214 <define>WXUSINGDLL
</define>
215 <define>WXMAKINGDLL_QA
</define>
216 <sources>$(QA_SRC)
</sources>
217 <msvc-headers>$(QA_HDR)
</msvc-headers>
218 <library>coredll
</library>
219 <library>basedll
</library>
220 <library>xmldll
</library>
223 <lib id=
"qalib" template=
"wx_lib"
224 cond=
"SHARED=='0' and USE_GUI=='1' and USE_QA=='1' and MONOLITHIC=='0'">
225 <sources>$(QA_SRC)
</sources>
226 <msvc-headers>$(QA_HDR)
</msvc-headers>
229 <wxshortcut id=
"wxqa" cond=
"MONOLITHIC=='0' and USE_QA=='1'"/>
231 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">qa=qalib+qadll
</set>
233 <!-- ================================================================ -->
235 <!-- ================================================================ -->
237 <dll id=
"xmldll" template=
"wx_base_dll"
238 cond=
"SHARED=='1' and MONOLITHIC=='0'">
239 <define>WXUSINGDLL
</define>
240 <define>WXMAKINGDLL_XML
</define>
241 <sources>$(XML_SRC)
</sources>
242 <msvc-headers>$(XML_HDR)
</msvc-headers>
243 <library>basedll
</library>
244 <ldlibs>$(EXTRALIBS_XML)
</ldlibs>
247 <lib id=
"xmllib" template=
"wx_base_lib"
248 cond=
"SHARED=='0' and MONOLITHIC=='0'">
249 <sources>$(XML_SRC)
</sources>
250 <msvc-headers>$(XML_HDR)
</msvc-headers>
253 <wxshortcut id=
"wxxml" cond=
"MONOLITHIC=='0'"/>
255 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">xml=xmllib+xmldll
</set>
257 <!-- ================================================================ -->
259 <!-- ================================================================ -->
261 <dll id=
"xrcdll" template=
"wx_dll"
262 cond=
"SHARED=='1' and USE_XRC=='1' and MONOLITHIC=='0'">
263 <define>WXUSINGDLL
</define>
264 <define>WXMAKINGDLL_XRC
</define>
265 <sources>$(XRC_SRC)
</sources>
266 <library>$(htmldll_library_link)
</library>
267 <library>advdll
</library>
268 <library>coredll
</library>
269 <library>xmldll
</library>
270 <library>basedll
</library>
271 <msvc-headers>$(XRC_HDR)
</msvc-headers>
274 <lib id=
"xrclib" template=
"wx_lib"
275 cond=
"SHARED=='0' and USE_XRC=='1' and MONOLITHIC=='0'">
276 <sources>$(XRC_SRC)
</sources>
277 <msvc-headers>$(XRC_HDR)
</msvc-headers>
280 <wxshortcut id=
"wxxrc" cond=
"MONOLITHIC=='0' and USE_XRC=='1'"/>
282 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">xrc=xrclib+xrcdll
</set>
284 <!-- ================================================================ -->
286 <!-- ================================================================ -->
288 <dll id=
"auidll" template=
"wx_dll"
289 cond=
"SHARED=='1' and USE_AUI=='1' and MONOLITHIC=='0'">
290 <define>WXUSINGDLL
</define>
291 <define>WXMAKINGDLL_AUI
</define>
292 <sources>$(AUI_SRC)
</sources>
293 <library>advdll
</library>
294 <library>coredll
</library>
295 <library>basedll
</library>
296 <msvc-headers>$(AUI_HDR)
</msvc-headers>
299 <lib id=
"auilib" template=
"wx_lib"
300 cond=
"SHARED=='0' and USE_AUI=='1' and MONOLITHIC=='0'">
301 <sources>$(AUI_SRC)
</sources>
302 <msvc-headers>$(AUI_HDR)
</msvc-headers>
305 <wxshortcut id=
"wxaui" cond=
"MONOLITHIC=='0' and USE_AUI=='1'"/>
307 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">aui=auilib+auidll
</set>
309 <!-- ================================================================ -->
311 <!-- ================================================================ -->
313 <dll id=
"ribbondll" template=
"wx_dll"
314 cond=
"SHARED=='1' and USE_RIBBON=='1' and MONOLITHIC=='0'">
315 <define>WXUSINGDLL
</define>
316 <define>WXMAKINGDLL_RIBBON
</define>
317 <sources>$(RIBBON_SRC)
</sources>
318 <library>advdll
</library>
319 <library>coredll
</library>
320 <library>basedll
</library>
321 <msvc-headers>$(RIBBON_HDR)
</msvc-headers>
324 <lib id=
"ribbonlib" template=
"wx_lib"
325 cond=
"SHARED=='0' and USE_RIBBON=='1' and MONOLITHIC=='0'">
326 <sources>$(RIBBON_SRC)
</sources>
327 <msvc-headers>$(RIBBON_HDR)
</msvc-headers>
330 <wxshortcut id=
"wxribbon" cond=
"MONOLITHIC=='0' and USE_RIBBON=='1'"/>
332 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">ribbon=ribbonlib+ribbondll
</set>
334 <!-- ================================================================ -->
336 <!-- ================================================================ -->
338 <dll id=
"propgriddll" template=
"wx_dll"
339 cond=
"SHARED=='1' and USE_PROPGRID=='1' and MONOLITHIC=='0'">
340 <define>WXUSINGDLL
</define>
341 <define>WXMAKINGDLL_PROPGRID
</define>
342 <sources>$(PROPGRID_SRC)
</sources>
343 <library>advdll
</library>
344 <library>coredll
</library>
345 <library>basedll
</library>
346 <msvc-headers>$(PROPGRID_HDR)
</msvc-headers>
349 <lib id=
"propgridlib" template=
"wx_lib"
350 cond=
"SHARED=='0' and USE_PROPGRID=='1' and MONOLITHIC=='0'">
351 <sources>$(PROPGRID_SRC)
</sources>
352 <msvc-headers>$(PROPGRID_HDR)
</msvc-headers>
355 <wxshortcut id=
"wxpropgrid" cond=
"MONOLITHIC=='0' and USE_PROPGRID=='1'"/>
357 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">propgrid=propgridlib+propgriddll
</set>
359 <!-- ================================================================ -->
361 <!-- ================================================================ -->
363 <dll id=
"richtextdll" template=
"wx_dll"
364 cond=
"SHARED=='1' and USE_RICHTEXT=='1' and MONOLITHIC=='0'">
365 <define>WXUSINGDLL
</define>
366 <define>WXMAKINGDLL_RICHTEXT
</define>
367 <sources>$(RICHTEXT_SRC)
</sources>
368 <library>advdll
</library>
369 <library>$(htmldll_library_link)
</library>
370 <library>xmldll
</library>
371 <library>coredll
</library>
372 <library>basedll
</library>
373 <msvc-headers>$(RICHTEXT_HDR)
</msvc-headers>
376 <lib id=
"richtextlib" template=
"wx_lib"
377 cond=
"SHARED=='0' and USE_RICHTEXT=='1' and MONOLITHIC=='0'">
378 <sources>$(RICHTEXT_SRC)
</sources>
379 <msvc-headers>$(RICHTEXT_HDR)
</msvc-headers>
382 <wxshortcut id=
"wxrichtext" cond=
"MONOLITHIC=='0' and USE_RICHTEXT=='1'"/>
384 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">richtext=richtextlib+richtextdll
</set>
386 <!-- ================================================================ -->
388 <!-- ================================================================ -->
390 <template id=
"stc_base" template=
"wxscintilla_cppflags">
391 <library>wxscintilla
</library>
394 <dll id=
"stcdll" template=
"wx_dll,stc_base"
395 cond=
"SHARED=='1' and USE_STC=='1' and MONOLITHIC=='0'">
396 <define>WXUSINGDLL
</define>
397 <define>WXMAKINGDLL_STC
</define>
398 <sources>$(STC_SRC)
</sources>
399 <library>coredll
</library>
400 <library>basedll
</library>
401 <msvc-headers>$(STC_HDR)
</msvc-headers>
404 <lib id=
"stclib" template=
"wx_lib,stc_base"
405 cond=
"SHARED=='0' and USE_STC=='1' and MONOLITHIC=='0'">
406 <sources>$(STC_SRC)
</sources>
407 <msvc-headers>$(STC_HDR)
</msvc-headers>
410 <wxshortcut id=
"wxstc" cond=
"MONOLITHIC=='0' and USE_STC=='1'"/>
412 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">stc=stclib+stcdll
</set>