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