]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/multilib.bkl
media lib bakefiles
[wxWidgets.git] / build / bakefiles / multilib.bkl
CommitLineData
ddf98968 1<?xml version="1.0" ?>
cb8bbc13
VS
2<!-- $Id$ -->
3
ddf98968 4<makefile>
e86e1522 5
ddf98968 6 <!-- ================================================================= -->
e86e1522 7 <!-- wxBase library -->
ddf98968
VS
8 <!-- ================================================================= -->
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
VS
16 </dll>
17
3560dc76 18 <lib id="baselib" template="wx_base_lib"
ddf98968 19 cond="SHARED=='0' and MONOLITHIC=='0'">
e86e1522 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>
7c4728f6
VS
26
27
28 <!-- ================================================================= -->
29 <!-- wxNet library -->
30 <!-- ================================================================= -->
31
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>
40
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>
7bd54b68 46
af594eca 47 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">net=netlib+netdll</set>
e86e1522 48
7c4728f6 49
e86e1522
VS
50 <!-- ================================================================= -->
51 <!-- Main GUI library -->
52 <!-- ================================================================= -->
53
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>
6fd9f0a4 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
VS
62 </dll>
63
64 <lib id="corelib" template="wx_lib"
65 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
6fd9f0a4 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>
13cb46e0 70
af594eca 71 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">core=corelib+coredll</set>
7bd54b68 72
13cb46e0
VS
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>
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
VS
87 </dll>
88
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>
bb41dcbe 94
af594eca 95 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">adv=advlib+advdll</set>
7bd54b68 96
bb41dcbe 97
2ae3b602
RN
98 <!-- ================================================================= -->
99 <!-- wxMedia classes library -->
100 <!-- ================================================================= -->
101
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>
110
111 <!--
112 <if cond="FORMAT!='autoconf'">
113 <if cond="FORMAT!='borland' and FORMAT!='msevc4prj'">
114 <sys-lib>strmiids</sys-lib>
115 </if>
116 </if>
117 -->
118 </dll>
119
120 <lib id="medialib" template="wx_lib"
121 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
122 <sources>$(MEDIA_SRC)</sources>
123 <msvc-headers>$(MEDIA_HDR)</msvc-headers>
124 </lib>
125
126 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">media=medialib+mediadll</set>
127
128
bb41dcbe
VS
129 <!-- ================================================================= -->
130 <!-- DB classes library -->
131 <!-- ================================================================= -->
132
83b9886f 133 <dll id="odbcdll" template="wx_base_dll"
eb69fda5 134 cond="SHARED=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
bb41dcbe
VS
135 <define>WXUSINGDLL</define>
136 <define>WXMAKINGDLL_ODBC</define>
137 <sources>$(ODBC_SRC)</sources>
138 <msvc-headers>$(ODBC_HDR)</msvc-headers>
bb41dcbe
VS
139 <library>basedll</library>
140 <ldlibs>$(EXTRALIBS_ODBC)</ldlibs>
141 </dll>
142
83b9886f 143 <lib id="odbclib" template="wx_base_lib"
eb69fda5 144 cond="SHARED=='0' and USE_ODBC=='1' and MONOLITHIC=='0'">
bb41dcbe
VS
145 <sources>$(ODBC_SRC)</sources>
146 <msvc-headers>$(ODBC_HDR)</msvc-headers>
147 </lib>
83b9886f
VS
148
149
150 <dll id="dbgriddll" template="wx_dll"
151 cond="SHARED=='1' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
152 <define>WXUSINGDLL</define>
153 <define>WXMAKINGDLL_DBGRID</define>
154 <sources>$(DBGRID_SRC)</sources>
155 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
156 <library>advdll</library>
157 <library>odbcdll</library>
158 <library>coredll</library>
159 <library>basedll</library>
160 </dll>
161
162 <lib id="dbgridlib" template="wx_lib"
163 cond="SHARED=='0' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
164 <sources>$(DBGRID_SRC)</sources>
165 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
166 </lib>
7bd54b68 167
af594eca
VS
168 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">odbc=odbclib+odbcdll</set>
169 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">dbgrid=dbgridlib+dbgriddll</set>
ddf98968
VS
170
171
172 <!-- ================================================================ -->
173 <!-- wxHTML -->
174 <!-- ================================================================ -->
175
176 <dll id="htmldll" template="wx_dll"
4d264332 177 cond="SHARED=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
a7140600 178 <define>WXUSINGDLL</define>
81659205 179 <define>WXMAKINGDLL_HTML</define>
ddf98968 180 <sources>$(HTML_SRC)</sources>
6c6df83a
VS
181 <library>coredll</library>
182 <library>basedll</library>
c839485c 183 <ldlibs>$(EXTRALIBS_HTML)</ldlibs>
390c0cfb 184 <msvc-headers>$(HTML_HDR)</msvc-headers>
ddf98968
VS
185 </dll>
186
187 <lib id="htmllib" template="wx_lib"
4d264332 188 cond="SHARED=='0' and USE_HTML=='1' and MONOLITHIC=='0'">
ddf98968 189 <sources>$(HTML_SRC)</sources>
390c0cfb 190 <msvc-headers>$(HTML_HDR)</msvc-headers>
ddf98968 191 </lib>
4d264332 192
af594eca 193 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">html=htmllib+htmldll</set>
7bd54b68 194
4d264332
VS
195 <!-- ================================================================ -->
196 <!-- OpenGL -->
197 <!-- ================================================================ -->
198
199 <!-- included by wx.bkl from opengl.bkl -->
a69544bf 200
af594eca 201 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">gl=gllib+gldll</set>
7bd54b68 202
a69544bf
VS
203
204 <!-- ================================================================ -->
205 <!-- XML -->
206 <!-- ================================================================ -->
207
208 <dll id="xmldll" template="wx_base_dll"
209 cond="SHARED=='1' and MONOLITHIC=='0'">
210 <define>WXUSINGDLL</define>
211 <define>WXMAKINGDLL_XML</define>
212 <sources>$(XML_SRC)</sources>
390c0cfb 213 <msvc-headers>$(XML_HDR)</msvc-headers>
a69544bf
VS
214 <library>basedll</library>
215 <ldlibs>$(EXTRALIBS_XML)</ldlibs>
216 </dll>
217
218 <lib id="xmllib" template="wx_base_lib"
219 cond="SHARED=='0' and MONOLITHIC=='0'">
220 <sources>$(XML_SRC)</sources>
390c0cfb 221 <msvc-headers>$(XML_HDR)</msvc-headers>
a69544bf 222 </lib>
7bd54b68 223
af594eca 224 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xml=xmllib+xmldll</set>
c79241a2 225
3849327b
VS
226 <!-- ================================================================ -->
227 <!-- XRC -->
228 <!-- ================================================================ -->
229
230 <dll id="xrcdll" template="wx_dll"
231 cond="SHARED=='1' and USE_XRC=='1' and MONOLITHIC=='0'">
232 <define>WXUSINGDLL</define>
233 <define>WXMAKINGDLL_XRC</define>
234 <sources>$(XRC_SRC)</sources>
235 <library>htmldll</library>
236 <library>advdll</library>
237 <library>coredll</library>
238 <library>xmldll</library>
239 <library>basedll</library>
240 <msvc-headers>$(XRC_HDR)</msvc-headers>
241 </dll>
242
243 <lib id="xrclib" template="wx_lib"
244 cond="SHARED=='0' and USE_XRC=='1' and MONOLITHIC=='0'">
245 <sources>$(XRC_SRC)</sources>
246 <msvc-headers>$(XRC_HDR)</msvc-headers>
247 </lib>
248
249 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xrc=xrclib+xrcdll</set>
250
ddf98968 251</makefile>