]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/multilib.bkl
don't put odbc lib twice in the generated makefile (part of patch 1303833)
[wxWidgets.git] / build / bakefiles / multilib.bkl
CommitLineData
ddf98968 1<?xml version="1.0" ?>
cb8bbc13
VS
2<!-- $Id$ -->
3
ddf98968 4<makefile>
61639efb 5
ddf98968 6 <!-- ================================================================= -->
e86e1522 7 <!-- wxBase library -->
ddf98968 8 <!-- ================================================================= -->
61639efb 9
3560dc76 10 <dll id="basedll" template="wx_base_dll"
ddf98968 11 cond="SHARED=='1' and MONOLITHIC=='0'">
81659205 12 <define>WXMAKINGDLL_BASE</define>
e86e1522 13 <define>wxUSE_BASE=1</define>
e86e1522 14 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
390c0cfb 15 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
ddf98968 16 </dll>
61639efb 17
3560dc76 18 <lib id="baselib" template="wx_base_lib"
ddf98968 19 cond="SHARED=='0' and MONOLITHIC=='0'">
61639efb 20 <define>wxUSE_BASE=1</define>
e86e1522 21 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
390c0cfb 22 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
e86e1522 23 </lib>
7bd54b68 24
af594eca 25 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">base=baselib+basedll</set>
61639efb
VZ
26
27
7c4728f6
VS
28 <!-- ================================================================= -->
29 <!-- wxNet library -->
30 <!-- ================================================================= -->
61639efb 31
7c4728f6
VS
32 <dll id="netdll" template="wx_base_dll"
33 cond="SHARED=='1' and MONOLITHIC=='0'">
34 <define>WXUSINGDLL</define>
35 <define>WXMAKINGDLL_NET</define>
36 <sources>$(NET_SRC)</sources>
37 <msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)</msvc-headers>
38 <library>basedll</library>
39 </dll>
61639efb 40
7c4728f6
VS
41 <lib id="netlib" template="wx_base_lib"
42 cond="SHARED=='0' and MONOLITHIC=='0'">
7c4728f6 43 <sources>$(NET_SRC)</sources>
e2281645 44 <msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)</msvc-headers>
7c4728f6 45 </lib>
61639efb 46
af594eca 47 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">net=netlib+netdll</set>
e86e1522 48
61639efb 49
e86e1522
VS
50 <!-- ================================================================= -->
51 <!-- Main GUI library -->
52 <!-- ================================================================= -->
61639efb 53
e86e1522
VS
54 <dll id="coredll" template="wx_dll"
55 cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
a7140600 56 <define>WXUSINGDLL</define>
81659205 57 <define>WXMAKINGDLL_CORE</define>
61639efb 58 <define>wxUSE_BASE=0</define>
e86e1522 59 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
390c0cfb 60 <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
6c6df83a 61 <library>basedll</library>
e86e1522 62 </dll>
61639efb 63
e86e1522
VS
64 <lib id="corelib" template="wx_lib"
65 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
61639efb 66 <define>wxUSE_BASE=0</define>
e86e1522 67 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
390c0cfb 68 <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
ddf98968 69 </lib>
61639efb 70
af594eca 71 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">core=corelib+coredll</set>
61639efb
VZ
72
73
13cb46e0
VS
74 <!-- ================================================================= -->
75 <!-- "Advanced" controls library -->
76 <!-- ================================================================= -->
61639efb 77
13cb46e0
VS
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>
c79241a2 82 <sources>$(ADVANCED_SRC) $(PLUGIN_ADV_SRC)</sources>
13cb46e0
VS
83 <msvc-headers>$(ADVANCED_HDR)</msvc-headers>
84 <library>coredll</library>
85 <library>basedll</library>
c79241a2 86 <ldlibs>$(PLUGIN_ADV_EXTRALIBS)</ldlibs>
13cb46e0 87 </dll>
61639efb 88
13cb46e0
VS
89 <lib id="advlib" template="wx_lib"
90 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
c79241a2 91 <sources>$(ADVANCED_SRC) $(PLUGIN_ADV_SRC)</sources>
13cb46e0
VS
92 <msvc-headers>$(ADVANCED_HDR)</msvc-headers>
93 </lib>
61639efb 94
af594eca 95 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">adv=advlib+advdll</set>
61639efb
VZ
96
97
2ae3b602
RN
98 <!-- ================================================================= -->
99 <!-- wxMedia classes library -->
100 <!-- ================================================================= -->
61639efb 101
2ae3b602
RN
102 <dll id="mediadll" template="wx_dll"
103 cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
104 <define>WXUSINGDLL</define>
105 <define>WXMAKINGDLL_MEDIA</define>
106 <sources>$(MEDIA_SRC)</sources>
107 <msvc-headers>$(MEDIA_HDR)</msvc-headers>
108 <library>coredll</library>
109 <library>basedll</library>
2ae3b602 110 </dll>
61639efb 111
2ae3b602
RN
112 <lib id="medialib" template="wx_lib"
113 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
114 <sources>$(MEDIA_SRC)</sources>
115 <msvc-headers>$(MEDIA_HDR)</msvc-headers>
116 </lib>
61639efb 117
2ae3b602
RN
118 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">media=medialib+mediadll</set>
119
120
bb41dcbe
VS
121 <!-- ================================================================= -->
122 <!-- DB classes library -->
123 <!-- ================================================================= -->
61639efb 124
83b9886f 125 <dll id="odbcdll" template="wx_base_dll"
eb69fda5 126 cond="SHARED=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
bb41dcbe
VS
127 <define>WXUSINGDLL</define>
128 <define>WXMAKINGDLL_ODBC</define>
129 <sources>$(ODBC_SRC)</sources>
130 <msvc-headers>$(ODBC_HDR)</msvc-headers>
bb41dcbe
VS
131 <library>basedll</library>
132 <ldlibs>$(EXTRALIBS_ODBC)</ldlibs>
133 </dll>
61639efb 134
83b9886f 135 <lib id="odbclib" template="wx_base_lib"
eb69fda5 136 cond="SHARED=='0' and USE_ODBC=='1' and MONOLITHIC=='0'">
bb41dcbe
VS
137 <sources>$(ODBC_SRC)</sources>
138 <msvc-headers>$(ODBC_HDR)</msvc-headers>
139 </lib>
61639efb
VZ
140
141
83b9886f
VS
142 <dll id="dbgriddll" template="wx_dll"
143 cond="SHARED=='1' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
144 <define>WXUSINGDLL</define>
145 <define>WXMAKINGDLL_DBGRID</define>
146 <sources>$(DBGRID_SRC)</sources>
147 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
148 <library>advdll</library>
149 <library>odbcdll</library>
150 <library>coredll</library>
151 <library>basedll</library>
152 </dll>
61639efb 153
83b9886f
VS
154 <lib id="dbgridlib" template="wx_lib"
155 cond="SHARED=='0' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
156 <sources>$(DBGRID_SRC)</sources>
157 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
158 </lib>
61639efb 159
af594eca
VS
160 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">odbc=odbclib+odbcdll</set>
161 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">dbgrid=dbgridlib+dbgriddll</set>
ddf98968 162
61639efb 163
ddf98968
VS
164 <!-- ================================================================ -->
165 <!-- wxHTML -->
166 <!-- ================================================================ -->
61639efb 167
ddf98968 168 <dll id="htmldll" template="wx_dll"
0bcf9597 169 cond="SHARED=='1' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
a7140600 170 <define>WXUSINGDLL</define>
81659205 171 <define>WXMAKINGDLL_HTML</define>
ddf98968 172 <sources>$(HTML_SRC)</sources>
6c6df83a
VS
173 <library>coredll</library>
174 <library>basedll</library>
c839485c 175 <ldlibs>$(EXTRALIBS_HTML)</ldlibs>
390c0cfb 176 <msvc-headers>$(HTML_HDR)</msvc-headers>
ddf98968 177 </dll>
61639efb 178
ddf98968 179 <lib id="htmllib" template="wx_lib"
0bcf9597 180 cond="SHARED=='0' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
ddf98968 181 <sources>$(HTML_SRC)</sources>
390c0cfb 182 <msvc-headers>$(HTML_HDR)</msvc-headers>
ddf98968 183 </lib>
61639efb 184
af594eca 185 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">html=htmllib+htmldll</set>
61639efb 186
4d264332
VS
187 <!-- ================================================================ -->
188 <!-- OpenGL -->
189 <!-- ================================================================ -->
190
191 <!-- included by wx.bkl from opengl.bkl -->
61639efb 192
af594eca 193 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">gl=gllib+gldll</set>
61639efb
VZ
194
195
196 <!-- ================================================================ -->
197 <!-- QA -->
198 <!-- ================================================================ -->
199
200 <dll id="qadll" template="wx_dll"
201 cond="SHARED=='1' and USE_GUI=='1' and USE_QA=='1' and MONOLITHIC=='0'">
202 <define>WXUSINGDLL</define>
203 <define>WXMAKINGDLL_QA</define>
204 <sources>$(QA_SRC)</sources>
205 <msvc-headers>$(QA_HDR)</msvc-headers>
4ebd02e9 206 <library>coredll</library>
61639efb
VZ
207 <library>basedll</library>
208 <library>xmldll</library>
209 </dll>
210
211 <lib id="qalib" template="wx_lib"
212 cond="SHARED=='0' and USE_GUI=='1' and USE_QA=='1' and MONOLITHIC=='0'">
213 <sources>$(QA_SRC)</sources>
214 <msvc-headers>$(QA_HDR)</msvc-headers>
215 </lib>
216
217 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">qa=qalib+qadll</set>
218
a69544bf
VS
219 <!-- ================================================================ -->
220 <!-- XML -->
221 <!-- ================================================================ -->
61639efb 222
a69544bf
VS
223 <dll id="xmldll" template="wx_base_dll"
224 cond="SHARED=='1' and MONOLITHIC=='0'">
225 <define>WXUSINGDLL</define>
226 <define>WXMAKINGDLL_XML</define>
227 <sources>$(XML_SRC)</sources>
390c0cfb 228 <msvc-headers>$(XML_HDR)</msvc-headers>
a69544bf
VS
229 <library>basedll</library>
230 <ldlibs>$(EXTRALIBS_XML)</ldlibs>
231 </dll>
61639efb 232
a69544bf
VS
233 <lib id="xmllib" template="wx_base_lib"
234 cond="SHARED=='0' and MONOLITHIC=='0'">
235 <sources>$(XML_SRC)</sources>
390c0cfb 236 <msvc-headers>$(XML_HDR)</msvc-headers>
a69544bf 237 </lib>
61639efb 238
af594eca 239 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xml=xmllib+xmldll</set>
61639efb 240
3849327b
VS
241 <!-- ================================================================ -->
242 <!-- XRC -->
243 <!-- ================================================================ -->
61639efb 244
3849327b
VS
245 <dll id="xrcdll" template="wx_dll"
246 cond="SHARED=='1' and USE_XRC=='1' and MONOLITHIC=='0'">
247 <define>WXUSINGDLL</define>
248 <define>WXMAKINGDLL_XRC</define>
249 <sources>$(XRC_SRC)</sources>
250 <library>htmldll</library>
251 <library>advdll</library>
252 <library>coredll</library>
253 <library>xmldll</library>
254 <library>basedll</library>
255 <msvc-headers>$(XRC_HDR)</msvc-headers>
256 </dll>
61639efb 257
3849327b
VS
258 <lib id="xrclib" template="wx_lib"
259 cond="SHARED=='0' and USE_XRC=='1' and MONOLITHIC=='0'">
260 <sources>$(XRC_SRC)</sources>
261 <msvc-headers>$(XRC_HDR)</msvc-headers>
262 </lib>
61639efb 263
3849327b 264 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xrc=xrclib+xrcdll</set>
61639efb 265
ddf98968 266</makefile>