]>
Commit | Line | Data |
---|---|---|
ddf98968 | 1 | <?xml version="1.0" ?> |
cb8bbc13 VS |
2 | <!-- $Id$ --> |
3 | ||
ddf98968 | 4 | <makefile> |
61639efb | 5 | |
e80118cf VS |
6 | <define-rule name="wxshortcut" extends="phony"> |
7 | <template> | |
8 | <set var="name">$(id.replace('wx',''))</set> | |
9 | <set var="namedll"> | |
10 | <if cond="SHARED=='1'">$(name)dll</if> | |
11 | </set> | |
12 | <set var="namelib"> | |
13 | <if cond="SHARED=='0'">$(name)lib</if> | |
14 | </set> | |
15 | <depends>$(namedll)</depends> | |
16 | <depends>$(namelib)</depends> | |
17 | </template> | |
18 | </define-rule> | |
19 | ||
ddf98968 | 20 | <!-- ================================================================= --> |
e86e1522 | 21 | <!-- wxBase library --> |
ddf98968 | 22 | <!-- ================================================================= --> |
61639efb | 23 | |
3560dc76 | 24 | <dll id="basedll" template="wx_base_dll" |
ddf98968 | 25 | cond="SHARED=='1' and MONOLITHIC=='0'"> |
81659205 | 26 | <define>WXMAKINGDLL_BASE</define> |
e86e1522 | 27 | <define>wxUSE_BASE=1</define> |
e86e1522 | 28 | <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources> |
390c0cfb | 29 | <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers> |
ddf98968 | 30 | </dll> |
61639efb | 31 | |
3560dc76 | 32 | <lib id="baselib" template="wx_base_lib" |
ddf98968 | 33 | cond="SHARED=='0' and MONOLITHIC=='0'"> |
61639efb | 34 | <define>wxUSE_BASE=1</define> |
e86e1522 | 35 | <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources> |
390c0cfb | 36 | <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers> |
e86e1522 | 37 | </lib> |
7bd54b68 | 38 | |
e80118cf VS |
39 | <wxshortcut id="wxbase" cond="MONOLITHIC=='0'"/> |
40 | ||
af594eca | 41 | <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">base=baselib+basedll</set> |
61639efb VZ |
42 | |
43 | ||
7c4728f6 VS |
44 | <!-- ================================================================= --> |
45 | <!-- wxNet library --> | |
46 | <!-- ================================================================= --> | |
61639efb | 47 | |
7c4728f6 VS |
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> | |
55 | </dll> | |
61639efb | 56 | |
7c4728f6 VS |
57 | <lib id="netlib" template="wx_base_lib" |
58 | cond="SHARED=='0' and MONOLITHIC=='0'"> | |
7c4728f6 | 59 | <sources>$(NET_SRC)</sources> |
e2281645 | 60 | <msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)</msvc-headers> |
7c4728f6 | 61 | </lib> |
61639efb | 62 | |
e80118cf VS |
63 | <wxshortcut id="wxnet" cond="MONOLITHIC=='0'"/> |
64 | ||
af594eca | 65 | <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">net=netlib+netdll</set> |
e86e1522 | 66 | |
61639efb | 67 | |
e86e1522 VS |
68 | <!-- ================================================================= --> |
69 | <!-- Main GUI library --> | |
70 | <!-- ================================================================= --> | |
61639efb | 71 | |
e86e1522 VS |
72 | <dll id="coredll" template="wx_dll" |
73 | cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'"> | |
a7140600 | 74 | <define>WXUSINGDLL</define> |
81659205 | 75 | <define>WXMAKINGDLL_CORE</define> |
61639efb | 76 | <define>wxUSE_BASE=0</define> |
e86e1522 | 77 | <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources> |
390c0cfb | 78 | <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers> |
6c6df83a | 79 | <library>basedll</library> |
e86e1522 | 80 | </dll> |
61639efb | 81 | |
e86e1522 VS |
82 | <lib id="corelib" template="wx_lib" |
83 | cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'"> | |
61639efb | 84 | <define>wxUSE_BASE=0</define> |
e86e1522 | 85 | <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources> |
390c0cfb | 86 | <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers> |
ddf98968 | 87 | </lib> |
61639efb | 88 | |
e80118cf VS |
89 | <wxshortcut id="wxcore" cond="MONOLITHIC=='0' and USE_GUI=='1'"/> |
90 | ||
af594eca | 91 | <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">core=corelib+coredll</set> |
61639efb VZ |
92 | |
93 | ||
13cb46e0 VS |
94 | <!-- ================================================================= --> |
95 | <!-- "Advanced" controls library --> | |
96 | <!-- ================================================================= --> | |
61639efb | 97 | |
13cb46e0 VS |
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> | |
c79241a2 | 102 | <sources>$(ADVANCED_SRC) $(PLUGIN_ADV_SRC)</sources> |
13cb46e0 VS |
103 | <msvc-headers>$(ADVANCED_HDR)</msvc-headers> |
104 | <library>coredll</library> | |
105 | <library>basedll</library> | |
c79241a2 | 106 | <ldlibs>$(PLUGIN_ADV_EXTRALIBS)</ldlibs> |
13cb46e0 | 107 | </dll> |
61639efb | 108 | |
13cb46e0 VS |
109 | <lib id="advlib" template="wx_lib" |
110 | cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'"> | |
c79241a2 | 111 | <sources>$(ADVANCED_SRC) $(PLUGIN_ADV_SRC)</sources> |
13cb46e0 VS |
112 | <msvc-headers>$(ADVANCED_HDR)</msvc-headers> |
113 | </lib> | |
61639efb | 114 | |
e80118cf VS |
115 | <wxshortcut id="wxadv" cond="MONOLITHIC=='0' and USE_GUI=='1'"/> |
116 | ||
af594eca | 117 | <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">adv=advlib+advdll</set> |
61639efb VZ |
118 | |
119 | ||
2ae3b602 RN |
120 | <!-- ================================================================= --> |
121 | <!-- wxMedia classes library --> | |
122 | <!-- ================================================================= --> | |
61639efb | 123 | |
2ae3b602 | 124 | <dll id="mediadll" template="wx_dll" |
557002cf | 125 | cond="SHARED=='1' and USE_MEDIA=='1' and USE_GUI=='1' and MONOLITHIC=='0'"> |
2ae3b602 RN |
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> | |
2ae3b602 | 132 | </dll> |
61639efb | 133 | |
2ae3b602 | 134 | <lib id="medialib" template="wx_lib" |
557002cf | 135 | cond="SHARED=='0' and USE_MEDIA=='1' and USE_GUI=='1' and MONOLITHIC=='0'"> |
2ae3b602 RN |
136 | <sources>$(MEDIA_SRC)</sources> |
137 | <msvc-headers>$(MEDIA_HDR)</msvc-headers> | |
138 | </lib> | |
61639efb | 139 | |
e80118cf VS |
140 | <wxshortcut id="wxmedia" cond="MONOLITHIC=='0' and USE_GUI=='1' and USE_MEDIA=='1'"/> |
141 | ||
2ae3b602 RN |
142 | <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">media=medialib+mediadll</set> |
143 | ||
144 | ||
bb41dcbe VS |
145 | <!-- ================================================================= --> |
146 | <!-- DB classes library --> | |
147 | <!-- ================================================================= --> | |
61639efb | 148 | |
83b9886f | 149 | <dll id="odbcdll" template="wx_base_dll" |
eb69fda5 | 150 | cond="SHARED=='1' and USE_ODBC=='1' and MONOLITHIC=='0'"> |
bb41dcbe VS |
151 | <define>WXUSINGDLL</define> |
152 | <define>WXMAKINGDLL_ODBC</define> | |
153 | <sources>$(ODBC_SRC)</sources> | |
154 | <msvc-headers>$(ODBC_HDR)</msvc-headers> | |
bb41dcbe VS |
155 | <library>basedll</library> |
156 | <ldlibs>$(EXTRALIBS_ODBC)</ldlibs> | |
157 | </dll> | |
61639efb | 158 | |
83b9886f | 159 | <lib id="odbclib" template="wx_base_lib" |
eb69fda5 | 160 | cond="SHARED=='0' and USE_ODBC=='1' and MONOLITHIC=='0'"> |
bb41dcbe VS |
161 | <sources>$(ODBC_SRC)</sources> |
162 | <msvc-headers>$(ODBC_HDR)</msvc-headers> | |
163 | </lib> | |
61639efb | 164 | |
83b9886f VS |
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> | |
175 | </dll> | |
61639efb | 176 | |
83b9886f VS |
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> | |
181 | </lib> | |
61639efb | 182 | |
e80118cf VS |
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'"/> | |
185 | ||
af594eca VS |
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> | |
ddf98968 | 188 | |
61639efb | 189 | |
ddf98968 VS |
190 | <!-- ================================================================ --> |
191 | <!-- wxHTML --> | |
192 | <!-- ================================================================ --> | |
61639efb | 193 | |
ddf98968 | 194 | <dll id="htmldll" template="wx_dll" |
0bcf9597 | 195 | cond="SHARED=='1' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'"> |
a7140600 | 196 | <define>WXUSINGDLL</define> |
81659205 | 197 | <define>WXMAKINGDLL_HTML</define> |
ddf98968 | 198 | <sources>$(HTML_SRC)</sources> |
6c6df83a VS |
199 | <library>coredll</library> |
200 | <library>basedll</library> | |
c839485c | 201 | <ldlibs>$(EXTRALIBS_HTML)</ldlibs> |
390c0cfb | 202 | <msvc-headers>$(HTML_HDR)</msvc-headers> |
ddf98968 | 203 | </dll> |
61639efb | 204 | |
47b6ebde VS |
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> | |
208 | </set> | |
209 | ||
ddf98968 | 210 | <lib id="htmllib" template="wx_lib" |
0bcf9597 | 211 | cond="SHARED=='0' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'"> |
ddf98968 | 212 | <sources>$(HTML_SRC)</sources> |
390c0cfb | 213 | <msvc-headers>$(HTML_HDR)</msvc-headers> |
ddf98968 | 214 | </lib> |
61639efb | 215 | |
e80118cf VS |
216 | <wxshortcut id="wxhtml" cond="MONOLITHIC=='0' and USE_HTML=='1'"/> |
217 | ||
af594eca | 218 | <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">html=htmllib+htmldll</set> |
61639efb | 219 | |
4d264332 VS |
220 | <!-- ================================================================ --> |
221 | <!-- OpenGL --> | |
222 | <!-- ================================================================ --> | |
223 | ||
224 | <!-- included by wx.bkl from opengl.bkl --> | |
61639efb | 225 | |
af594eca | 226 | <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">gl=gllib+gldll</set> |
61639efb VZ |
227 | |
228 | ||
229 | <!-- ================================================================ --> | |
230 | <!-- QA --> | |
231 | <!-- ================================================================ --> | |
232 | ||
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> | |
4ebd02e9 | 239 | <library>coredll</library> |
61639efb VZ |
240 | <library>basedll</library> |
241 | <library>xmldll</library> | |
242 | </dll> | |
243 | ||
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> | |
248 | </lib> | |
249 | ||
e80118cf VS |
250 | <wxshortcut id="wxqa" cond="MONOLITHIC=='0' and USE_QA=='1'"/> |
251 | ||
61639efb VZ |
252 | <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">qa=qalib+qadll</set> |
253 | ||
a69544bf VS |
254 | <!-- ================================================================ --> |
255 | <!-- XML --> | |
256 | <!-- ================================================================ --> | |
61639efb | 257 | |
a69544bf VS |
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> | |
390c0cfb | 263 | <msvc-headers>$(XML_HDR)</msvc-headers> |
a69544bf VS |
264 | <library>basedll</library> |
265 | <ldlibs>$(EXTRALIBS_XML)</ldlibs> | |
266 | </dll> | |
61639efb | 267 | |
a69544bf VS |
268 | <lib id="xmllib" template="wx_base_lib" |
269 | cond="SHARED=='0' and MONOLITHIC=='0'"> | |
270 | <sources>$(XML_SRC)</sources> | |
390c0cfb | 271 | <msvc-headers>$(XML_HDR)</msvc-headers> |
a69544bf | 272 | </lib> |
61639efb | 273 | |
e80118cf VS |
274 | <wxshortcut id="wxxml" cond="MONOLITHIC=='0'"/> |
275 | ||
af594eca | 276 | <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xml=xmllib+xmldll</set> |
61639efb | 277 | |
3849327b VS |
278 | <!-- ================================================================ --> |
279 | <!-- XRC --> | |
280 | <!-- ================================================================ --> | |
61639efb | 281 | |
3849327b VS |
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> | |
47b6ebde | 287 | <library>$(htmldll_library_link)</library> |
3849327b VS |
288 | <library>advdll</library> |
289 | <library>coredll</library> | |
290 | <library>xmldll</library> | |
291 | <library>basedll</library> | |
292 | <msvc-headers>$(XRC_HDR)</msvc-headers> | |
293 | </dll> | |
61639efb | 294 | |
3849327b VS |
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> | |
299 | </lib> | |
61639efb | 300 | |
e80118cf VS |
301 | <wxshortcut id="wxxrc" cond="MONOLITHIC=='0' and USE_XRC=='1'"/> |
302 | ||
3849327b | 303 | <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xrc=xrclib+xrcdll</set> |
61639efb | 304 | |
50acee04 JS |
305 | <!-- ================================================================ --> |
306 | <!-- AUI --> | |
307 | <!-- ================================================================ --> | |
308 | ||
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> | |
318 | </dll> | |
319 | ||
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> | |
324 | </lib> | |
e80118cf VS |
325 | |
326 | <wxshortcut id="wxaui" cond="MONOLITHIC=='0' and USE_AUI=='1'"/> | |
50acee04 JS |
327 | |
328 | <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">aui=auilib+auidll</set> | |
329 | ||
3b2cb431 JS |
330 | <!-- ================================================================ --> |
331 | <!-- RICHTEXT --> | |
332 | <!-- ================================================================ --> | |
333 | ||
334 | <dll id="richtextdll" template="wx_dll" | |
335 | cond="SHARED=='1' and USE_RICHTEXT=='1' and MONOLITHIC=='0'"> | |
336 | <define>WXUSINGDLL</define> | |
c69f9884 | 337 | <define>WXMAKINGDLL_RICHTEXT</define> |
3b2cb431 JS |
338 | <sources>$(RICHTEXT_SRC)</sources> |
339 | <library>advdll</library> | |
47b6ebde | 340 | <library>$(htmldll_library_link)</library> |
a3f6a2cd | 341 | <library>xmldll</library> |
3b2cb431 JS |
342 | <library>coredll</library> |
343 | <library>basedll</library> | |
344 | <msvc-headers>$(RICHTEXT_HDR)</msvc-headers> | |
345 | </dll> | |
346 | ||
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> | |
351 | </lib> | |
e80118cf VS |
352 | |
353 | <wxshortcut id="wxrichtext" cond="MONOLITHIC=='0' and USE_RICHTEXT=='1'"/> | |
3b2cb431 JS |
354 | |
355 | <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">richtext=richtextlib+richtextdll</set> | |
356 | ||
ddf98968 | 357 | </makefile> |