]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/multilib.bkl
fixed wrong srcdir in contrib w/ autoconf
[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 <msvc-copy-setup-h/>
27 </lib>
28
29
30 <!-- ================================================================= -->
31 <!-- wxNet library -->
32 <!-- ================================================================= -->
33
34 <dll id="netdll" template="wx_base_dll"
35 cond="SHARED=='1' and MONOLITHIC=='0'">
36 <define>WXUSINGDLL</define>
37 <define>WXMAKINGDLL_NET</define>
38 <sources>$(NET_SRC)</sources>
39 <msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)</msvc-headers>
40 <library>basedll</library>
41 </dll>
42
43 <lib id="netlib" template="wx_base_lib"
44 cond="SHARED=='0' and MONOLITHIC=='0'">
45 <define>WXUSINGDLL</define>
46 <define>WXMAKINGDLL_NET</define>
47 <sources>$(NET_SRC)</sources>
48 <msvc-headers>$(NET_CMN_HDR)</msvc-headers>
49 </lib>
50
51
52 <!-- ================================================================= -->
53 <!-- Main GUI library -->
54 <!-- ================================================================= -->
55
56 <dll id="coredll" template="wx_dll"
57 cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
58 <define>WXUSINGDLL</define>
59 <define>WXMAKINGDLL_CORE</define>
60 <define>wxUSE_BASE=0</define>
61 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
62 <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
63 <library>basedll</library>
64 </dll>
65
66 <lib id="corelib" template="wx_lib"
67 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
68 <define>wxUSE_BASE=0</define>
69 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
70 <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
71 </lib>
72
73
74 <!-- ================================================================= -->
75 <!-- "Advanced" controls library -->
76 <!-- ================================================================= -->
77
78 <dll id="advdll" template="wx_dll"
79 cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
80 <define>WXUSINGDLL</define>
81 <define>WXMAKINGDLL_ADV</define>
82 <sources>$(ADVANCED_SRC)</sources>
83 <msvc-headers>$(ADVANCED_HDR)</msvc-headers>
84 <library>coredll</library>
85 <library>basedll</library>
86 </dll>
87
88 <lib id="advlib" template="wx_lib"
89 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
90 <sources>$(ADVANCED_SRC)</sources>
91 <msvc-headers>$(ADVANCED_HDR)</msvc-headers>
92 </lib>
93
94
95 <!-- ================================================================= -->
96 <!-- DB classes library -->
97 <!-- ================================================================= -->
98
99 <dll id="odbcdll" template="wx_base_dll"
100 cond="SHARED=='1' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
101 <define>WXUSINGDLL</define>
102 <define>WXMAKINGDLL_ODBC</define>
103 <sources>$(ODBC_SRC)</sources>
104 <msvc-headers>$(ODBC_HDR)</msvc-headers>
105 <library>basedll</library>
106 <ldlibs>$(EXTRALIBS_ODBC)</ldlibs>
107 </dll>
108
109 <lib id="odbclib" template="wx_base_lib"
110 cond="SHARED=='0' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
111 <sources>$(ODBC_SRC)</sources>
112 <msvc-headers>$(ODBC_HDR)</msvc-headers>
113 </lib>
114
115
116 <dll id="dbgriddll" template="wx_dll"
117 cond="SHARED=='1' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
118 <define>WXUSINGDLL</define>
119 <define>WXMAKINGDLL_DBGRID</define>
120 <sources>$(DBGRID_SRC)</sources>
121 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
122 <library>advdll</library>
123 <library>odbcdll</library>
124 <library>coredll</library>
125 <library>basedll</library>
126 </dll>
127
128 <lib id="dbgridlib" template="wx_lib"
129 cond="SHARED=='0' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
130 <sources>$(DBGRID_SRC)</sources>
131 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
132 </lib>
133
134
135 <!-- ================================================================ -->
136 <!-- wxHTML -->
137 <!-- ================================================================ -->
138
139 <dll id="htmldll" template="wx_dll"
140 cond="SHARED=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
141 <define>WXUSINGDLL</define>
142 <define>WXMAKINGDLL_HTML</define>
143 <sources>$(HTML_SRC)</sources>
144 <library>coredll</library>
145 <library>basedll</library>
146 <msvc-headers>$(HTML_HDR)</msvc-headers>
147 </dll>
148
149 <lib id="htmllib" template="wx_lib"
150 cond="SHARED=='0' and USE_HTML=='1' and MONOLITHIC=='0'">
151 <sources>$(HTML_SRC)</sources>
152 <msvc-headers>$(HTML_HDR)</msvc-headers>
153 </lib>
154
155 <!-- ================================================================ -->
156 <!-- OpenGL -->
157 <!-- ================================================================ -->
158
159 <!-- included by wx.bkl from opengl.bkl -->
160
161
162 <!-- ================================================================ -->
163 <!-- XML -->
164 <!-- ================================================================ -->
165
166 <dll id="xmldll" template="wx_base_dll"
167 cond="SHARED=='1' and MONOLITHIC=='0'">
168 <define>WXUSINGDLL</define>
169 <define>WXMAKINGDLL_XML</define>
170 <sources>$(XML_SRC)</sources>
171 <msvc-headers>$(XML_HDR)</msvc-headers>
172 <library>basedll</library>
173 <ldlibs>$(EXTRALIBS_XML)</ldlibs>
174 </dll>
175
176 <lib id="xmllib" template="wx_base_lib"
177 cond="SHARED=='0' and MONOLITHIC=='0'">
178 <sources>$(XML_SRC)</sources>
179 <msvc-headers>$(XML_HDR)</msvc-headers>
180 </lib>
181
182 </makefile>