]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/multilib.bkl
Adding dataview and combo sample files.
[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>htmldll</library>
85 <library>xmldll</library>
86 <library>coredll</library>
87 <library>basedll</library>
88 <ldlibs>$(PLUGIN_ADV_EXTRALIBS)</ldlibs>
89 </dll>
90
91 <lib id="advlib" template="wx_lib"
92 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
93 <sources>$(ADVANCED_SRC) $(PLUGIN_ADV_SRC)</sources>
94 <msvc-headers>$(ADVANCED_HDR)</msvc-headers>
95 </lib>
96
97 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">adv=advlib+advdll</set>
98
99
100 <!-- ================================================================= -->
101 <!-- wxMedia classes library -->
102 <!-- ================================================================= -->
103
104 <dll id="mediadll" template="wx_dll"
105 cond="SHARED=='1' and USE_MEDIA=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
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>
112 </dll>
113
114 <lib id="medialib" template="wx_lib"
115 cond="SHARED=='0' and USE_MEDIA=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
116 <sources>$(MEDIA_SRC)</sources>
117 <msvc-headers>$(MEDIA_HDR)</msvc-headers>
118 </lib>
119
120 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">media=medialib+mediadll</set>
121
122
123 <!-- ================================================================= -->
124 <!-- DB classes library -->
125 <!-- ================================================================= -->
126
127 <dll id="odbcdll" template="wx_base_dll"
128 cond="SHARED=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
129 <define>WXUSINGDLL</define>
130 <define>WXMAKINGDLL_ODBC</define>
131 <sources>$(ODBC_SRC)</sources>
132 <msvc-headers>$(ODBC_HDR)</msvc-headers>
133 <library>basedll</library>
134 <ldlibs>$(EXTRALIBS_ODBC)</ldlibs>
135 </dll>
136
137 <lib id="odbclib" template="wx_base_lib"
138 cond="SHARED=='0' and USE_ODBC=='1' and MONOLITHIC=='0'">
139 <sources>$(ODBC_SRC)</sources>
140 <msvc-headers>$(ODBC_HDR)</msvc-headers>
141 </lib>
142
143
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>
155
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>
161
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>
164
165
166 <!-- ================================================================ -->
167 <!-- wxHTML -->
168 <!-- ================================================================ -->
169
170 <dll id="htmldll" template="wx_dll"
171 cond="SHARED=='1' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
172 <define>WXUSINGDLL</define>
173 <define>WXMAKINGDLL_HTML</define>
174 <sources>$(HTML_SRC)</sources>
175 <library>coredll</library>
176 <library>basedll</library>
177 <ldlibs>$(EXTRALIBS_HTML)</ldlibs>
178 <msvc-headers>$(HTML_HDR)</msvc-headers>
179 </dll>
180
181 <lib id="htmllib" template="wx_lib"
182 cond="SHARED=='0' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
183 <sources>$(HTML_SRC)</sources>
184 <msvc-headers>$(HTML_HDR)</msvc-headers>
185 </lib>
186
187 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">html=htmllib+htmldll</set>
188
189 <!-- ================================================================ -->
190 <!-- OpenGL -->
191 <!-- ================================================================ -->
192
193 <!-- included by wx.bkl from opengl.bkl -->
194
195 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">gl=gllib+gldll</set>
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>
208 <library>coredll</library>
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
221 <!-- ================================================================ -->
222 <!-- XML -->
223 <!-- ================================================================ -->
224
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>
230 <msvc-headers>$(XML_HDR)</msvc-headers>
231 <library>basedll</library>
232 <ldlibs>$(EXTRALIBS_XML)</ldlibs>
233 </dll>
234
235 <lib id="xmllib" template="wx_base_lib"
236 cond="SHARED=='0' and MONOLITHIC=='0'">
237 <sources>$(XML_SRC)</sources>
238 <msvc-headers>$(XML_HDR)</msvc-headers>
239 </lib>
240
241 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xml=xmllib+xmldll</set>
242
243 <!-- ================================================================ -->
244 <!-- XRC -->
245 <!-- ================================================================ -->
246
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>
259
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>
265
266 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xrc=xrclib+xrcdll</set>
267
268 </makefile>