]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/multilib.bkl
reference to technote
[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_base_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 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
17 <msvc-copy-setup-h/>
18 </dll>
19
20 <lib id="baselib" template="wx_base_lib"
21 cond="SHARED=='0' and MONOLITHIC=='0'">
22 <define>wxUSE_BASE=1</define>
23 <define>wxUSE_GUI=0</define>
24 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
25 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
26 </lib>
27
28
29 <!-- ================================================================= -->
30 <!-- wxNet library -->
31 <!-- ================================================================= -->
32
33 <dll id="netdll" template="wx_base_dll"
34 cond="SHARED=='1' and MONOLITHIC=='0'">
35 <define>WXUSINGDLL</define>
36 <define>WXMAKINGDLL_NET</define>
37 <sources>$(NET_SRC)</sources>
38 <msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)</msvc-headers>
39 <library>basedll</library>
40 </dll>
41
42 <lib id="netlib" template="wx_base_lib"
43 cond="SHARED=='0' and MONOLITHIC=='0'">
44 <define>WXUSINGDLL</define>
45 <define>WXMAKINGDLL_NET</define>
46 <sources>$(NET_SRC)</sources>
47 <msvc-headers>$(NET_CMN_HDR)</msvc-headers>
48 </lib>
49
50
51 <!-- ================================================================= -->
52 <!-- Main GUI library -->
53 <!-- ================================================================= -->
54
55 <dll id="coredll" template="wx_dll"
56 cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
57 <define>WXUSINGDLL</define>
58 <define>WXMAKINGDLL_CORE</define>
59 <define>wxUSE_BASE=0</define>
60 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
61 <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
62 <library>basedll</library>
63 </dll>
64
65 <lib id="corelib" template="wx_lib"
66 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
67 <define>wxUSE_BASE=0</define>
68 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
69 <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
70 </lib>
71
72
73 <!-- ================================================================ -->
74 <!-- wxHTML -->
75 <!-- ================================================================ -->
76
77 <dll id="htmldll" template="wx_dll"
78 cond="SHARED=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
79 <define>WXUSINGDLL</define>
80 <define>WXMAKINGDLL_HTML</define>
81 <sources>$(HTML_SRC)</sources>
82 <library>coredll</library>
83 <library>basedll</library>
84 <msvc-headers>$(HTML_HDR)</msvc-headers>
85 </dll>
86
87 <lib id="htmllib" template="wx_lib"
88 cond="SHARED=='0' and USE_HTML=='1' and MONOLITHIC=='0'">
89 <sources>$(HTML_SRC)</sources>
90 <msvc-headers>$(HTML_HDR)</msvc-headers>
91 </lib>
92
93 <!-- ================================================================ -->
94 <!-- OpenGL -->
95 <!-- ================================================================ -->
96
97 <!-- included by wx.bkl from opengl.bkl -->
98
99
100 <!-- ================================================================ -->
101 <!-- XML -->
102 <!-- ================================================================ -->
103
104 <dll id="xmldll" template="wx_base_dll"
105 cond="SHARED=='1' and MONOLITHIC=='0'">
106 <define>WXUSINGDLL</define>
107 <define>WXMAKINGDLL_XML</define>
108 <sources>$(XML_SRC)</sources>
109 <msvc-headers>$(XML_HDR)</msvc-headers>
110 <library>basedll</library>
111 <ldlibs>$(EXTRALIBS_XML)</ldlibs>
112 </dll>
113
114 <lib id="xmllib" template="wx_base_lib"
115 cond="SHARED=='0' and MONOLITHIC=='0'">
116 <sources>$(XML_SRC)</sources>
117 <msvc-headers>$(XML_HDR)</msvc-headers>
118 </lib>
119
120 </makefile>