many changed to enable multilib build
[wxWidgets.git] / build / bakefiles / multilib.bkl
1 <?xml version="1.0" ?>
2 <makefile>
3     
4     <!-- ================================================================= -->
5     <!--                            wxBase library                         -->
6     <!-- ================================================================= -->
7     
8     <dll id="basedll" template="wx_dll"
9          cond="SHARED=='1' and MONOLITHIC=='0'">
10         <define>WXMAKINGDLL</define>
11         <define>__WXBASE__</define> 
12         <define>wxUSE_BASE=1</define>
13         <define>wxUSE_GUI=0</define> 
14         <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
15         
16         <library>$(LIB_ZLIB)</library>
17         <library>$(LIB_REGEX)</library>
18         <library>$(LIB_PNG)</library>
19         <library>$(LIB_JPEG)</library>
20         <library>$(LIB_TIFF)</library>
21     </dll>
22     
23     <lib id="baselib" template="wx_lib"
24          cond="SHARED=='0' and MONOLITHIC=='0'">
25         <define>__WXBASE__</define> 
26         <define>wxUSE_BASE=1</define> 
27         <define>wxUSE_GUI=0</define> 
28         <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
29     </lib>
30
31     <!-- ================================================================= -->
32     <!--                           Main GUI library                        -->
33     <!-- ================================================================= -->
34     
35     <dll id="coredll" template="wx_dll"
36          cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
37         <define>WXMAKINGDLL</define>
38         <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
39         
40         <wx-lib>base</wx-lib>
41       
42         <library>$(LIB_ODBC)</library>        
43     </dll>
44     
45     <lib id="corelib" template="wx_lib"
46          cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
47         <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
48     </lib>
49
50     
51     <!-- ================================================================ -->
52     <!--                               wxHTML                             -->
53     <!-- ================================================================ -->
54     
55     <dll id="htmldll" template="wx_dll"
56          cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
57         <define>WXMAKINGDLL</define>
58         <sources>$(HTML_SRC)</sources>
59         <wx-lib>core</wx-lib>
60         <wx-lib>base</wx-lib>
61     </dll>
62     
63     <lib id="htmllib" template="wx_lib"
64          cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
65         <sources>$(HTML_SRC)</sources>
66     </lib>
67
68 </makefile>