]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/multilib.bkl
added bakefile's new tag <objects-depend>
[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 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
15 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
16 </dll>
17
18 <lib id="baselib" template="wx_base_lib"
19 cond="SHARED=='0' and MONOLITHIC=='0'">
20 <define>wxUSE_BASE=1</define>
21 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
22 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
23 </lib>
24
25 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">base=baselib+basedll</set>
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'">
43 <sources>$(NET_SRC)</sources>
44 <msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)</msvc-headers>
45 </lib>
46
47 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">net=netlib+netdll</set>
48
49
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'">
56 <define>WXUSINGDLL</define>
57 <define>WXMAKINGDLL_CORE</define>
58 <define>wxUSE_BASE=0</define>
59 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
60 <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
61 <library>basedll</library>
62 </dll>
63
64 <lib id="corelib" template="wx_lib"
65 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
66 <define>wxUSE_BASE=0</define>
67 <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
68 <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
69 </lib>
70
71 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">core=corelib+coredll</set>
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 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">adv=advlib+advdll</set>
95
96
97 <!-- ================================================================= -->
98 <!-- DB classes library -->
99 <!-- ================================================================= -->
100
101 <dll id="odbcdll" template="wx_base_dll"
102 cond="SHARED=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
103 <define>WXUSINGDLL</define>
104 <define>WXMAKINGDLL_ODBC</define>
105 <sources>$(ODBC_SRC)</sources>
106 <msvc-headers>$(ODBC_HDR)</msvc-headers>
107 <library>basedll</library>
108 <ldlibs>$(EXTRALIBS_ODBC)</ldlibs>
109 </dll>
110
111 <lib id="odbclib" template="wx_base_lib"
112 cond="SHARED=='0' and USE_ODBC=='1' and MONOLITHIC=='0'">
113 <sources>$(ODBC_SRC)</sources>
114 <msvc-headers>$(ODBC_HDR)</msvc-headers>
115 </lib>
116
117
118 <dll id="dbgriddll" template="wx_dll"
119 cond="SHARED=='1' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
120 <define>WXUSINGDLL</define>
121 <define>WXMAKINGDLL_DBGRID</define>
122 <sources>$(DBGRID_SRC)</sources>
123 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
124 <library>advdll</library>
125 <library>odbcdll</library>
126 <library>coredll</library>
127 <library>basedll</library>
128 </dll>
129
130 <lib id="dbgridlib" template="wx_lib"
131 cond="SHARED=='0' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
132 <sources>$(DBGRID_SRC)</sources>
133 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
134 </lib>
135
136 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">odbc=odbclib+odbcdll</set>
137 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">dbgrid=dbgridlib+dbgriddll</set>
138
139
140 <!-- ================================================================ -->
141 <!-- wxHTML -->
142 <!-- ================================================================ -->
143
144 <dll id="htmldll" template="wx_dll"
145 cond="SHARED=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
146 <define>WXUSINGDLL</define>
147 <define>WXMAKINGDLL_HTML</define>
148 <sources>$(HTML_SRC)</sources>
149 <library>coredll</library>
150 <library>basedll</library>
151 <ldlibs>$(EXTRALIBS_HTML)</ldlibs>
152 <msvc-headers>$(HTML_HDR)</msvc-headers>
153 </dll>
154
155 <lib id="htmllib" template="wx_lib"
156 cond="SHARED=='0' and USE_HTML=='1' and MONOLITHIC=='0'">
157 <sources>$(HTML_SRC)</sources>
158 <msvc-headers>$(HTML_HDR)</msvc-headers>
159 </lib>
160
161 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">html=htmllib+htmldll</set>
162
163 <!-- ================================================================ -->
164 <!-- OpenGL -->
165 <!-- ================================================================ -->
166
167 <!-- included by wx.bkl from opengl.bkl -->
168
169 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">gl=gllib+gldll</set>
170
171
172 <!-- ================================================================ -->
173 <!-- XML -->
174 <!-- ================================================================ -->
175
176 <dll id="xmldll" template="wx_base_dll"
177 cond="SHARED=='1' and MONOLITHIC=='0'">
178 <define>WXUSINGDLL</define>
179 <define>WXMAKINGDLL_XML</define>
180 <sources>$(XML_SRC)</sources>
181 <msvc-headers>$(XML_HDR)</msvc-headers>
182 <library>basedll</library>
183 <ldlibs>$(EXTRALIBS_XML)</ldlibs>
184 </dll>
185
186 <lib id="xmllib" template="wx_base_lib"
187 cond="SHARED=='0' and MONOLITHIC=='0'">
188 <sources>$(XML_SRC)</sources>
189 <msvc-headers>$(XML_HDR)</msvc-headers>
190 </lib>
191
192 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">xml=xmllib+xmldll</set>
193
194 </makefile>