]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/multilib.bkl
don't link wxBase against GUI libraries
[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_dll"
11 cond="SHARED=='1' and MONOLITHIC=='0'">
12 <define>WXMAKINGDLL_BASE</define>
13 <define>wxUSE_BASE=1</define>
14 <define>wxUSE_GUI=0</define>
15 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
16 </dll>
17
18 <lib id="baselib" template="wx_lib"
19 cond="SHARED=='0' and MONOLITHIC=='0'">
20 <define>wxUSE_BASE=1</define>
21 <define>wxUSE_GUI=0</define>
22 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
23 </lib>
24
25 <!-- ================================================================= -->
26 <!-- Main GUI library -->
27 <!-- ================================================================= -->
28
29 <dll id="coredll" template="wx_dll"
30 cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
31 <define>WXUSINGDLL</define>
32 <define>WXMAKINGDLL_CORE</define>
33 <define>wxUSE_BASE=0</define>
34 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
35 <library>basedll</library>
36 </dll>
37
38 <lib id="corelib" template="wx_lib"
39 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
40 <define>wxUSE_BASE=0</define>
41 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
42 </lib>
43
44
45 <!-- ================================================================ -->
46 <!-- wxHTML -->
47 <!-- ================================================================ -->
48
49 <dll id="htmldll" template="wx_dll"
50 cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
51 <define>WXUSINGDLL</define>
52 <define>WXMAKINGDLL_HTML</define>
53 <sources>$(HTML_SRC)</sources>
54 <library>coredll</library>
55 <library>basedll</library>
56 </dll>
57
58 <lib id="htmllib" template="wx_lib"
59 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
60 <sources>$(HTML_SRC)</sources>
61 </lib>
62
63 </makefile>