]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/multilib.bkl
added wxVaCopy() and use it to fix wxVsnprintf() crash (see bug 1017651)
[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
VS
97
98 <!-- ================================================================= -->
99 <!-- DB classes library -->
100 <!-- ================================================================= -->
101
83b9886f 102 <dll id="odbcdll" template="wx_base_dll"
eb69fda5 103 cond="SHARED=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
bb41dcbe
VS
104 <define>WXUSINGDLL</define>
105 <define>WXMAKINGDLL_ODBC</define>
106 <sources>$(ODBC_SRC)</sources>
107 <msvc-headers>$(ODBC_HDR)</msvc-headers>
bb41dcbe
VS
108 <library>basedll</library>
109 <ldlibs>$(EXTRALIBS_ODBC)</ldlibs>
110 </dll>
111
83b9886f 112 <lib id="odbclib" template="wx_base_lib"
eb69fda5 113 cond="SHARED=='0' and USE_ODBC=='1' and MONOLITHIC=='0'">
bb41dcbe
VS
114 <sources>$(ODBC_SRC)</sources>
115 <msvc-headers>$(ODBC_HDR)</msvc-headers>
116 </lib>
83b9886f
VS
117
118
119 <dll id="dbgriddll" template="wx_dll"
120 cond="SHARED=='1' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
121 <define>WXUSINGDLL</define>
122 <define>WXMAKINGDLL_DBGRID</define>
123 <sources>$(DBGRID_SRC)</sources>
124 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
125 <library>advdll</library>
126 <library>odbcdll</library>
127 <library>coredll</library>
128 <library>basedll</library>
129 </dll>
130
131 <lib id="dbgridlib" template="wx_lib"
132 cond="SHARED=='0' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
133 <sources>$(DBGRID_SRC)</sources>
134 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
135 </lib>
7bd54b68 136
af594eca
VS
137 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">odbc=odbclib+odbcdll</set>
138 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">dbgrid=dbgridlib+dbgriddll</set>
ddf98968
VS
139
140
141 <!-- ================================================================ -->
142 <!-- wxHTML -->
143 <!-- ================================================================ -->
144
145 <dll id="htmldll" template="wx_dll"
4d264332 146 cond="SHARED=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
a7140600 147 <define>WXUSINGDLL</define>
81659205 148 <define>WXMAKINGDLL_HTML</define>
ddf98968 149 <sources>$(HTML_SRC)</sources>
6c6df83a
VS
150 <library>coredll</library>
151 <library>basedll</library>
c839485c 152 <ldlibs>$(EXTRALIBS_HTML)</ldlibs>
390c0cfb 153 <msvc-headers>$(HTML_HDR)</msvc-headers>
ddf98968
VS
154 </dll>
155
156 <lib id="htmllib" template="wx_lib"
4d264332 157 cond="SHARED=='0' and USE_HTML=='1' and MONOLITHIC=='0'">
ddf98968 158 <sources>$(HTML_SRC)</sources>
390c0cfb 159 <msvc-headers>$(HTML_HDR)</msvc-headers>
ddf98968 160 </lib>
4d264332 161
af594eca 162 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">html=htmllib+htmldll</set>
7bd54b68 163
4d264332
VS
164 <!-- ================================================================ -->
165 <!-- OpenGL -->
166 <!-- ================================================================ -->
167
168 <!-- included by wx.bkl from opengl.bkl -->
a69544bf 169
af594eca 170 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">gl=gllib+gldll</set>
7bd54b68 171
a69544bf
VS
172
173 <!-- ================================================================ -->
174 <!-- XML -->
175 <!-- ================================================================ -->
176
177 <dll id="xmldll" template="wx_base_dll"
178 cond="SHARED=='1' and MONOLITHIC=='0'">
179 <define>WXUSINGDLL</define>
180 <define>WXMAKINGDLL_XML</define>
181 <sources>$(XML_SRC)</sources>
390c0cfb 182 <msvc-headers>$(XML_HDR)</msvc-headers>
a69544bf
VS
183 <library>basedll</library>
184 <ldlibs>$(EXTRALIBS_XML)</ldlibs>
185 </dll>
186
187 <lib id="xmllib" template="wx_base_lib"
188 cond="SHARED=='0' and MONOLITHIC=='0'">
189 <sources>$(XML_SRC)</sources>
390c0cfb 190 <msvc-headers>$(XML_HDR)</msvc-headers>
a69544bf 191 </lib>
7bd54b68 192
af594eca 193 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xml=xmllib+xmldll</set>
c79241a2 194
3849327b
VS
195 <!-- ================================================================ -->
196 <!-- XRC -->
197 <!-- ================================================================ -->
198
199 <dll id="xrcdll" template="wx_dll"
200 cond="SHARED=='1' and USE_XRC=='1' and MONOLITHIC=='0'">
201 <define>WXUSINGDLL</define>
202 <define>WXMAKINGDLL_XRC</define>
203 <sources>$(XRC_SRC)</sources>
204 <library>htmldll</library>
205 <library>advdll</library>
206 <library>coredll</library>
207 <library>xmldll</library>
208 <library>basedll</library>
209 <msvc-headers>$(XRC_HDR)</msvc-headers>
210 </dll>
211
212 <lib id="xrclib" template="wx_lib"
213 cond="SHARED=='0' and USE_XRC=='1' and MONOLITHIC=='0'">
214 <sources>$(XRC_SRC)</sources>
215 <msvc-headers>$(XRC_HDR)</msvc-headers>
216 </lib>
217
218 <set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xrc=xrclib+xrcdll</set>
219
ddf98968 220</makefile>