]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/multilib.bkl
Removed unused Symantec (*.sc) build system. Symantec C++ is now replaced by DigitalMars.
[wxWidgets.git] / build / bakefiles / multilib.bkl
CommitLineData
ddf98968 1<?xml version="1.0" ?>
cb8bbc13
VS
2<!-- $Id$ -->
3
ddf98968 4<makefile>
61639efb 5
ddf98968 6 <!-- ================================================================= -->
e86e1522 7 <!-- wxBase library -->
ddf98968 8 <!-- ================================================================= -->
61639efb 9
3560dc76 10 <dll id="basedll" template="wx_base_dll"
ddf98968 11 cond="SHARED=='1' and MONOLITHIC=='0'">
81659205 12 <define>WXMAKINGDLL_BASE</define>
e86e1522 13 <define>wxUSE_BASE=1</define>
e86e1522 14 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
390c0cfb 15 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
ddf98968 16 </dll>
61639efb 17
3560dc76 18 <lib id="baselib" template="wx_base_lib"
ddf98968 19 cond="SHARED=='0' and MONOLITHIC=='0'">
61639efb 20 <define>wxUSE_BASE=1</define>
e86e1522 21 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
390c0cfb 22 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
e86e1522 23 </lib>
7bd54b68 24
af594eca 25 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">base=baselib+basedll</set>
61639efb
VZ
26
27
7c4728f6
VS
28 <!-- ================================================================= -->
29 <!-- wxNet library -->
30 <!-- ================================================================= -->
61639efb 31
7c4728f6
VS
32 <dll id="netdll" template="wx_base_dll"
33 cond="SHARED=='1' and MONOLITHIC=='0'">
34 <define>WXUSINGDLL</define>
35 <define>WXMAKINGDLL_NET</define>
36 <sources>$(NET_SRC)</sources>
37 <msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)</msvc-headers>
38 <library>basedll</library>
39 </dll>
61639efb 40
7c4728f6
VS
41 <lib id="netlib" template="wx_base_lib"
42 cond="SHARED=='0' and MONOLITHIC=='0'">
7c4728f6 43 <sources>$(NET_SRC)</sources>
e2281645 44 <msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)</msvc-headers>
7c4728f6 45 </lib>
61639efb 46
af594eca 47 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">net=netlib+netdll</set>
e86e1522 48
61639efb 49
e86e1522
VS
50 <!-- ================================================================= -->
51 <!-- Main GUI library -->
52 <!-- ================================================================= -->
61639efb 53
e86e1522
VS
54 <dll id="coredll" template="wx_dll"
55 cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
a7140600 56 <define>WXUSINGDLL</define>
81659205 57 <define>WXMAKINGDLL_CORE</define>
61639efb 58 <define>wxUSE_BASE=0</define>
e86e1522 59 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
390c0cfb 60 <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
6c6df83a 61 <library>basedll</library>
e86e1522 62 </dll>
61639efb 63
e86e1522
VS
64 <lib id="corelib" template="wx_lib"
65 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
61639efb 66 <define>wxUSE_BASE=0</define>
e86e1522 67 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
390c0cfb 68 <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
ddf98968 69 </lib>
61639efb 70
af594eca 71 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">core=corelib+coredll</set>
61639efb
VZ
72
73
13cb46e0
VS
74 <!-- ================================================================= -->
75 <!-- "Advanced" controls library -->
76 <!-- ================================================================= -->
61639efb 77
13cb46e0
VS
78 <dll id="advdll" template="wx_dll"
79 cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
80 <define>WXUSINGDLL</define>
81 <define>WXMAKINGDLL_ADV</define>
c79241a2 82 <sources>$(ADVANCED_SRC) $(PLUGIN_ADV_SRC)</sources>
13cb46e0 83 <msvc-headers>$(ADVANCED_HDR)</msvc-headers>
4383e2b1
MW
84 <library>htmldll</library>
85 <library>xmldll</library>
13cb46e0
VS
86 <library>coredll</library>
87 <library>basedll</library>
c79241a2 88 <ldlibs>$(PLUGIN_ADV_EXTRALIBS)</ldlibs>
13cb46e0 89 </dll>
61639efb 90
13cb46e0
VS
91 <lib id="advlib" template="wx_lib"
92 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
c79241a2 93 <sources>$(ADVANCED_SRC) $(PLUGIN_ADV_SRC)</sources>
13cb46e0
VS
94 <msvc-headers>$(ADVANCED_HDR)</msvc-headers>
95 </lib>
61639efb 96
af594eca 97 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">adv=advlib+advdll</set>
61639efb
VZ
98
99
2ae3b602
RN
100 <!-- ================================================================= -->
101 <!-- wxMedia classes library -->
102 <!-- ================================================================= -->
61639efb 103
2ae3b602 104 <dll id="mediadll" template="wx_dll"
557002cf 105 cond="SHARED=='1' and USE_MEDIA=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
2ae3b602
RN
106 <define>WXUSINGDLL</define>
107 <define>WXMAKINGDLL_MEDIA</define>
108 <sources>$(MEDIA_SRC)</sources>
109 <msvc-headers>$(MEDIA_HDR)</msvc-headers>
110 <library>coredll</library>
111 <library>basedll</library>
2ae3b602 112 </dll>
61639efb 113
2ae3b602 114 <lib id="medialib" template="wx_lib"
557002cf 115 cond="SHARED=='0' and USE_MEDIA=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
2ae3b602
RN
116 <sources>$(MEDIA_SRC)</sources>
117 <msvc-headers>$(MEDIA_HDR)</msvc-headers>
118 </lib>
61639efb 119
2ae3b602
RN
120 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">media=medialib+mediadll</set>
121
122
bb41dcbe
VS
123 <!-- ================================================================= -->
124 <!-- DB classes library -->
125 <!-- ================================================================= -->
61639efb 126
83b9886f 127 <dll id="odbcdll" template="wx_base_dll"
eb69fda5 128 cond="SHARED=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
bb41dcbe
VS
129 <define>WXUSINGDLL</define>
130 <define>WXMAKINGDLL_ODBC</define>
131 <sources>$(ODBC_SRC)</sources>
132 <msvc-headers>$(ODBC_HDR)</msvc-headers>
bb41dcbe
VS
133 <library>basedll</library>
134 <ldlibs>$(EXTRALIBS_ODBC)</ldlibs>
135 </dll>
61639efb 136
83b9886f 137 <lib id="odbclib" template="wx_base_lib"
eb69fda5 138 cond="SHARED=='0' and USE_ODBC=='1' and MONOLITHIC=='0'">
bb41dcbe
VS
139 <sources>$(ODBC_SRC)</sources>
140 <msvc-headers>$(ODBC_HDR)</msvc-headers>
141 </lib>
61639efb
VZ
142
143
83b9886f
VS
144 <dll id="dbgriddll" template="wx_dll"
145 cond="SHARED=='1' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
146 <define>WXUSINGDLL</define>
147 <define>WXMAKINGDLL_DBGRID</define>
148 <sources>$(DBGRID_SRC)</sources>
149 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
150 <library>advdll</library>
151 <library>odbcdll</library>
152 <library>coredll</library>
153 <library>basedll</library>
154 </dll>
61639efb 155
83b9886f
VS
156 <lib id="dbgridlib" template="wx_lib"
157 cond="SHARED=='0' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
158 <sources>$(DBGRID_SRC)</sources>
159 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
160 </lib>
61639efb 161
af594eca
VS
162 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">odbc=odbclib+odbcdll</set>
163 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">dbgrid=dbgridlib+dbgriddll</set>
ddf98968 164
61639efb 165
ddf98968
VS
166 <!-- ================================================================ -->
167 <!-- wxHTML -->
168 <!-- ================================================================ -->
61639efb 169
ddf98968 170 <dll id="htmldll" template="wx_dll"
0bcf9597 171 cond="SHARED=='1' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
a7140600 172 <define>WXUSINGDLL</define>
81659205 173 <define>WXMAKINGDLL_HTML</define>
ddf98968 174 <sources>$(HTML_SRC)</sources>
6c6df83a
VS
175 <library>coredll</library>
176 <library>basedll</library>
c839485c 177 <ldlibs>$(EXTRALIBS_HTML)</ldlibs>
390c0cfb 178 <msvc-headers>$(HTML_HDR)</msvc-headers>
ddf98968 179 </dll>
61639efb 180
ddf98968 181 <lib id="htmllib" template="wx_lib"
0bcf9597 182 cond="SHARED=='0' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
ddf98968 183 <sources>$(HTML_SRC)</sources>
390c0cfb 184 <msvc-headers>$(HTML_HDR)</msvc-headers>
ddf98968 185 </lib>
61639efb 186
af594eca 187 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">html=htmllib+htmldll</set>
61639efb 188
4d264332
VS
189 <!-- ================================================================ -->
190 <!-- OpenGL -->
191 <!-- ================================================================ -->
192
193 <!-- included by wx.bkl from opengl.bkl -->
61639efb 194
af594eca 195 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">gl=gllib+gldll</set>
61639efb
VZ
196
197
198 <!-- ================================================================ -->
199 <!-- QA -->
200 <!-- ================================================================ -->
201
202 <dll id="qadll" template="wx_dll"
203 cond="SHARED=='1' and USE_GUI=='1' and USE_QA=='1' and MONOLITHIC=='0'">
204 <define>WXUSINGDLL</define>
205 <define>WXMAKINGDLL_QA</define>
206 <sources>$(QA_SRC)</sources>
207 <msvc-headers>$(QA_HDR)</msvc-headers>
4ebd02e9 208 <library>coredll</library>
61639efb
VZ
209 <library>basedll</library>
210 <library>xmldll</library>
211 </dll>
212
213 <lib id="qalib" template="wx_lib"
214 cond="SHARED=='0' and USE_GUI=='1' and USE_QA=='1' and MONOLITHIC=='0'">
215 <sources>$(QA_SRC)</sources>
216 <msvc-headers>$(QA_HDR)</msvc-headers>
217 </lib>
218
219 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">qa=qalib+qadll</set>
220
a69544bf
VS
221 <!-- ================================================================ -->
222 <!-- XML -->
223 <!-- ================================================================ -->
61639efb 224
a69544bf
VS
225 <dll id="xmldll" template="wx_base_dll"
226 cond="SHARED=='1' and MONOLITHIC=='0'">
227 <define>WXUSINGDLL</define>
228 <define>WXMAKINGDLL_XML</define>
229 <sources>$(XML_SRC)</sources>
390c0cfb 230 <msvc-headers>$(XML_HDR)</msvc-headers>
a69544bf
VS
231 <library>basedll</library>
232 <ldlibs>$(EXTRALIBS_XML)</ldlibs>
233 </dll>
61639efb 234
a69544bf
VS
235 <lib id="xmllib" template="wx_base_lib"
236 cond="SHARED=='0' and MONOLITHIC=='0'">
237 <sources>$(XML_SRC)</sources>
390c0cfb 238 <msvc-headers>$(XML_HDR)</msvc-headers>
a69544bf 239 </lib>
61639efb 240
af594eca 241 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xml=xmllib+xmldll</set>
61639efb 242
3849327b
VS
243 <!-- ================================================================ -->
244 <!-- XRC -->
245 <!-- ================================================================ -->
61639efb 246
3849327b
VS
247 <dll id="xrcdll" template="wx_dll"
248 cond="SHARED=='1' and USE_XRC=='1' and MONOLITHIC=='0'">
249 <define>WXUSINGDLL</define>
250 <define>WXMAKINGDLL_XRC</define>
251 <sources>$(XRC_SRC)</sources>
252 <library>htmldll</library>
253 <library>advdll</library>
254 <library>coredll</library>
255 <library>xmldll</library>
256 <library>basedll</library>
257 <msvc-headers>$(XRC_HDR)</msvc-headers>
258 </dll>
61639efb 259
3849327b
VS
260 <lib id="xrclib" template="wx_lib"
261 cond="SHARED=='0' and USE_XRC=='1' and MONOLITHIC=='0'">
262 <sources>$(XRC_SRC)</sources>
263 <msvc-headers>$(XRC_HDR)</msvc-headers>
264 </lib>
61639efb 265
3849327b 266 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xrc=xrclib+xrcdll</set>
61639efb 267
50acee04
JS
268 <!-- ================================================================ -->
269 <!-- AUI -->
270 <!-- ================================================================ -->
271
272 <dll id="auidll" template="wx_dll"
273 cond="SHARED=='1' and USE_AUI=='1' and MONOLITHIC=='0'">
274 <define>WXUSINGDLL</define>
275 <define>WXMAKINGDLL_AUI</define>
276 <sources>$(AUI_SRC)</sources>
277 <library>advdll</library>
278 <library>coredll</library>
279 <library>basedll</library>
280 <msvc-headers>$(AUI_HDR)</msvc-headers>
281 </dll>
282
283 <lib id="auilib" template="wx_lib"
284 cond="SHARED=='0' and USE_AUI=='1' and MONOLITHIC=='0'">
285 <sources>$(AUI_SRC)</sources>
286 <msvc-headers>$(AUI_HDR)</msvc-headers>
287 </lib>
288
289 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">aui=auilib+auidll</set>
290
3b2cb431
JS
291 <!-- ================================================================ -->
292 <!-- RICHTEXT -->
293 <!-- ================================================================ -->
294
295 <dll id="richtextdll" template="wx_dll"
296 cond="SHARED=='1' and USE_RICHTEXT=='1' and MONOLITHIC=='0'">
297 <define>WXUSINGDLL</define>
c69f9884 298 <define>WXMAKINGDLL_RICHTEXT</define>
3b2cb431
JS
299 <sources>$(RICHTEXT_SRC)</sources>
300 <library>advdll</library>
a3f6a2cd
RD
301 <library>htmldll</library>
302 <library>xmldll</library>
3b2cb431
JS
303 <library>coredll</library>
304 <library>basedll</library>
305 <msvc-headers>$(RICHTEXT_HDR)</msvc-headers>
306 </dll>
307
308 <lib id="richtextlib" template="wx_lib"
309 cond="SHARED=='0' and USE_RICHTEXT=='1' and MONOLITHIC=='0'">
310 <sources>$(RICHTEXT_SRC)</sources>
311 <msvc-headers>$(RICHTEXT_HDR)</msvc-headers>
312 </lib>
313
314 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">richtext=richtextlib+richtextdll</set>
315
ddf98968 316</makefile>