more #defines, libraries and precompiled headers work
[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_BASE</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_BASE</define>
52         <define>WXUSINGDLL_CORE</define>
53         <define>WXMAKINGDLL_HTML</define>
54         <sources>$(HTML_SRC)</sources>
55         <library>coredll</library>
56         <library>basedll</library>
57     </dll>
58     
59     <lib id="htmllib" template="wx_lib"
60          cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
61         <sources>$(HTML_SRC)</sources>
62     </lib>
63
64 </makefile>