fixed linking against builtin 3rd party libs
[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     </dll>
16     
17     <lib id="baselib" template="wx_lib"
18          cond="SHARED=='0' and MONOLITHIC=='0'">
19         <define>__WXBASE__</define> 
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>WXMAKINGDLL</define>
32         <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
33         
34         <wx-lib>base</wx-lib>
35     </dll>
36     
37     <lib id="corelib" template="wx_lib"
38          cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
39         <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
40     </lib>
41
42     
43     <!-- ================================================================ -->
44     <!--                               wxHTML                             -->
45     <!-- ================================================================ -->
46     
47     <dll id="htmldll" template="wx_dll"
48          cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
49         <define>WXMAKINGDLL</define>
50         <sources>$(HTML_SRC)</sources>
51         <wx-lib>core</wx-lib>
52         <wx-lib>base</wx-lib>
53     </dll>
54     
55     <lib id="htmllib" template="wx_lib"
56          cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
57         <sources>$(HTML_SRC)</sources>
58     </lib>
59
60 </makefile>