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>
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 <!-- ================================================================= -->
146 <!-- DB classes library -->
147 <!-- ================================================================= -->
149 <dll id=
"odbcdll" template=
"wx_base_dll"
150 cond=
"SHARED=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
151 <define>WXUSINGDLL
</define>
152 <define>WXMAKINGDLL_ODBC
</define>
153 <sources>$(ODBC_SRC)
</sources>
154 <msvc-headers>$(ODBC_HDR)
</msvc-headers>
155 <library>basedll
</library>
156 <ldlibs>$(EXTRALIBS_ODBC)
</ldlibs>
159 <lib id=
"odbclib" template=
"wx_base_lib"
160 cond=
"SHARED=='0' and USE_ODBC=='1' and MONOLITHIC=='0'">
161 <sources>$(ODBC_SRC)
</sources>
162 <msvc-headers>$(ODBC_HDR)
</msvc-headers>
165 <dll id=
"dbgriddll" template=
"wx_dll"
166 cond=
"SHARED=='1' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
167 <define>WXUSINGDLL
</define>
168 <define>WXMAKINGDLL_DBGRID
</define>
169 <sources>$(DBGRID_SRC)
</sources>
170 <msvc-headers>$(DBGRID_HDR)
</msvc-headers>
171 <library>advdll
</library>
172 <library>odbcdll
</library>
173 <library>coredll
</library>
174 <library>basedll
</library>
177 <lib id=
"dbgridlib" template=
"wx_lib"
178 cond=
"SHARED=='0' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
179 <sources>$(DBGRID_SRC)
</sources>
180 <msvc-headers>$(DBGRID_HDR)
</msvc-headers>
183 <!-- <wxshortcut id="wxodbc" cond="MONOLITHIC=='0' and USE_ODBC=='1'"/> -->
184 <wxshortcut id=
"wxdbgrid" cond=
"MONOLITHIC=='0' and USE_GUI=='1' and USE_ODBC=='1'"/>
186 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">odbc=odbclib+odbcdll
</set>
187 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">dbgrid=dbgridlib+dbgriddll
</set>
190 <!-- ================================================================ -->
192 <!-- ================================================================ -->
194 <dll id=
"htmldll" template=
"wx_dll"
195 cond=
"SHARED=='1' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
196 <define>WXUSINGDLL
</define>
197 <define>WXMAKINGDLL_HTML
</define>
198 <sources>$(HTML_SRC)
</sources>
199 <library>coredll
</library>
200 <library>basedll
</library>
201 <ldlibs>$(EXTRALIBS_HTML)
</ldlibs>
202 <msvc-headers>$(HTML_HDR)
</msvc-headers>
205 <!-- use this to conditonally link against htmldll with <library>: -->
206 <set var=
"htmldll_library_link">
207 <if cond=
"SHARED=='1' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">htmldll
</if>
210 <lib id=
"htmllib" template=
"wx_lib"
211 cond=
"SHARED=='0' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
212 <sources>$(HTML_SRC)
</sources>
213 <msvc-headers>$(HTML_HDR)
</msvc-headers>
216 <wxshortcut id=
"wxhtml" cond=
"MONOLITHIC=='0' and USE_HTML=='1'"/>
218 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">html=htmllib+htmldll
</set>
220 <!-- ================================================================ -->
222 <!-- ================================================================ -->
224 <!-- included by wx.bkl from opengl.bkl -->
226 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">gl=gllib+gldll
</set>
229 <!-- ================================================================ -->
231 <!-- ================================================================ -->
233 <dll id=
"qadll" template=
"wx_dll"
234 cond=
"SHARED=='1' and USE_GUI=='1' and USE_QA=='1' and MONOLITHIC=='0'">
235 <define>WXUSINGDLL
</define>
236 <define>WXMAKINGDLL_QA
</define>
237 <sources>$(QA_SRC)
</sources>
238 <msvc-headers>$(QA_HDR)
</msvc-headers>
239 <library>coredll
</library>
240 <library>basedll
</library>
241 <library>xmldll
</library>
244 <lib id=
"qalib" template=
"wx_lib"
245 cond=
"SHARED=='0' and USE_GUI=='1' and USE_QA=='1' and MONOLITHIC=='0'">
246 <sources>$(QA_SRC)
</sources>
247 <msvc-headers>$(QA_HDR)
</msvc-headers>
250 <wxshortcut id=
"wxqa" cond=
"MONOLITHIC=='0' and USE_QA=='1'"/>
252 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">qa=qalib+qadll
</set>
254 <!-- ================================================================ -->
256 <!-- ================================================================ -->
258 <dll id=
"xmldll" template=
"wx_base_dll"
259 cond=
"SHARED=='1' and MONOLITHIC=='0'">
260 <define>WXUSINGDLL
</define>
261 <define>WXMAKINGDLL_XML
</define>
262 <sources>$(XML_SRC)
</sources>
263 <msvc-headers>$(XML_HDR)
</msvc-headers>
264 <library>basedll
</library>
265 <ldlibs>$(EXTRALIBS_XML)
</ldlibs>
268 <lib id=
"xmllib" template=
"wx_base_lib"
269 cond=
"SHARED=='0' and MONOLITHIC=='0'">
270 <sources>$(XML_SRC)
</sources>
271 <msvc-headers>$(XML_HDR)
</msvc-headers>
274 <wxshortcut id=
"wxxml" cond=
"MONOLITHIC=='0'"/>
276 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">xml=xmllib+xmldll
</set>
278 <!-- ================================================================ -->
280 <!-- ================================================================ -->
282 <dll id=
"xrcdll" template=
"wx_dll"
283 cond=
"SHARED=='1' and USE_XRC=='1' and MONOLITHIC=='0'">
284 <define>WXUSINGDLL
</define>
285 <define>WXMAKINGDLL_XRC
</define>
286 <sources>$(XRC_SRC)
</sources>
287 <library>$(htmldll_library_link)
</library>
288 <library>advdll
</library>
289 <library>coredll
</library>
290 <library>xmldll
</library>
291 <library>basedll
</library>
292 <msvc-headers>$(XRC_HDR)
</msvc-headers>
295 <lib id=
"xrclib" template=
"wx_lib"
296 cond=
"SHARED=='0' and USE_XRC=='1' and MONOLITHIC=='0'">
297 <sources>$(XRC_SRC)
</sources>
298 <msvc-headers>$(XRC_HDR)
</msvc-headers>
301 <wxshortcut id=
"wxxrc" cond=
"MONOLITHIC=='0' and USE_XRC=='1'"/>
303 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">xrc=xrclib+xrcdll
</set>
305 <!-- ================================================================ -->
307 <!-- ================================================================ -->
309 <dll id=
"auidll" template=
"wx_dll"
310 cond=
"SHARED=='1' and USE_AUI=='1' and MONOLITHIC=='0'">
311 <define>WXUSINGDLL
</define>
312 <define>WXMAKINGDLL_AUI
</define>
313 <sources>$(AUI_SRC)
</sources>
314 <library>advdll
</library>
315 <library>coredll
</library>
316 <library>basedll
</library>
317 <msvc-headers>$(AUI_HDR)
</msvc-headers>
320 <lib id=
"auilib" template=
"wx_lib"
321 cond=
"SHARED=='0' and USE_AUI=='1' and MONOLITHIC=='0'">
322 <sources>$(AUI_SRC)
</sources>
323 <msvc-headers>$(AUI_HDR)
</msvc-headers>
326 <wxshortcut id=
"wxaui" cond=
"MONOLITHIC=='0' and USE_AUI=='1'"/>
328 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">aui=auilib+auidll
</set>
330 <!-- ================================================================ -->
332 <!-- ================================================================ -->
334 <dll id=
"richtextdll" template=
"wx_dll"
335 cond=
"SHARED=='1' and USE_RICHTEXT=='1' and MONOLITHIC=='0'">
336 <define>WXUSINGDLL
</define>
337 <define>WXMAKINGDLL_RICHTEXT
</define>
338 <sources>$(RICHTEXT_SRC)
</sources>
339 <library>advdll
</library>
340 <library>$(htmldll_library_link)
</library>
341 <library>xmldll
</library>
342 <library>coredll
</library>
343 <library>basedll
</library>
344 <msvc-headers>$(RICHTEXT_HDR)
</msvc-headers>
347 <lib id=
"richtextlib" template=
"wx_lib"
348 cond=
"SHARED=='0' and USE_RICHTEXT=='1' and MONOLITHIC=='0'">
349 <sources>$(RICHTEXT_SRC)
</sources>
350 <msvc-headers>$(RICHTEXT_HDR)
</msvc-headers>
353 <wxshortcut id=
"wxrichtext" cond=
"MONOLITHIC=='0' and USE_RICHTEXT=='1'"/>
355 <set var=
"MSVC6PRJ_MERGED_TARGETS_MULTILIB" append=
"1">richtext=richtextlib+richtextdll
</set>
357 <!-- ================================================================ -->
359 <!-- ================================================================ -->
361 <template id=
"stc_base">
362 <include>$(TOP_SRCDIR)src/stc/scintilla/include
</include>
363 <include>$(TOP_SRCDIR)src/stc/scintilla/src
</include>
364 <define>__WX__
</define>
365 <define>SCI_LEXER
</define>
366 <define>LINK_LEXERS
</define>
367 <cppflags-borland>-w-
8027</cppflags-borland>
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>