]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/multilib.bkl
Override CocoaSetEnabled() to call -[NSControl setEnabled:]
[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 <msvc-copy-setup-h/>
17 </dll>
18
19 <lib id="baselib" template="wx_base_lib"
20 cond="SHARED=='0' and MONOLITHIC=='0'">
21 <define>wxUSE_BASE=1</define>
22 <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
23 <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
24 <msvc-copy-setup-h/>
25 </lib>
26
27 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">base=baselib+basedll</set>
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 <sources>$(NET_SRC)</sources>
46 <msvc-headers>$(NET_CMN_HDR)</msvc-headers>
47 </lib>
48
49 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">net=netlib+netdll</set>
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 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">core=corelib+coredll</set>
74
75
76 <!-- ================================================================= -->
77 <!-- "Advanced" controls library -->
78 <!-- ================================================================= -->
79
80 <dll id="advdll" template="wx_dll"
81 cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
82 <define>WXUSINGDLL</define>
83 <define>WXMAKINGDLL_ADV</define>
84 <sources>$(ADVANCED_SRC)</sources>
85 <msvc-headers>$(ADVANCED_HDR)</msvc-headers>
86 <library>coredll</library>
87 <library>basedll</library>
88 </dll>
89
90 <lib id="advlib" template="wx_lib"
91 cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
92 <sources>$(ADVANCED_SRC)</sources>
93 <msvc-headers>$(ADVANCED_HDR)</msvc-headers>
94 </lib>
95
96 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">adv=advlib+advdll</set>
97
98
99 <!-- ================================================================= -->
100 <!-- DB classes library -->
101 <!-- ================================================================= -->
102
103 <dll id="odbcdll" template="wx_base_dll"
104 cond="SHARED=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
105 <define>WXUSINGDLL</define>
106 <define>WXMAKINGDLL_ODBC</define>
107 <sources>$(ODBC_SRC)</sources>
108 <msvc-headers>$(ODBC_HDR)</msvc-headers>
109 <library>basedll</library>
110 <ldlibs>$(EXTRALIBS_ODBC)</ldlibs>
111 </dll>
112
113 <lib id="odbclib" template="wx_base_lib"
114 cond="SHARED=='0' and USE_ODBC=='1' and MONOLITHIC=='0'">
115 <sources>$(ODBC_SRC)</sources>
116 <msvc-headers>$(ODBC_HDR)</msvc-headers>
117 </lib>
118
119
120 <dll id="dbgriddll" template="wx_dll"
121 cond="SHARED=='1' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
122 <define>WXUSINGDLL</define>
123 <define>WXMAKINGDLL_DBGRID</define>
124 <sources>$(DBGRID_SRC)</sources>
125 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
126 <library>advdll</library>
127 <library>odbcdll</library>
128 <library>coredll</library>
129 <library>basedll</library>
130 </dll>
131
132 <lib id="dbgridlib" template="wx_lib"
133 cond="SHARED=='0' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
134 <sources>$(DBGRID_SRC)</sources>
135 <msvc-headers>$(DBGRID_HDR)</msvc-headers>
136 </lib>
137
138 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">odbc=odbclib+odbcdll</set>
139 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">dbgrid=dbgridlib+dbgriddll</set>
140
141
142 <!-- ================================================================ -->
143 <!-- wxHTML -->
144 <!-- ================================================================ -->
145
146 <dll id="htmldll" template="wx_dll"
147 cond="SHARED=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
148 <define>WXUSINGDLL</define>
149 <define>WXMAKINGDLL_HTML</define>
150 <sources>$(HTML_SRC)</sources>
151 <library>coredll</library>
152 <library>basedll</library>
153 <msvc-headers>$(HTML_HDR)</msvc-headers>
154 </dll>
155
156 <lib id="htmllib" template="wx_lib"
157 cond="SHARED=='0' and USE_HTML=='1' and MONOLITHIC=='0'">
158 <sources>$(HTML_SRC)</sources>
159 <msvc-headers>$(HTML_HDR)</msvc-headers>
160 </lib>
161
162 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">html=htmllib+htmldll</set>
163
164 <!-- ================================================================ -->
165 <!-- OpenGL -->
166 <!-- ================================================================ -->
167
168 <!-- included by wx.bkl from opengl.bkl -->
169
170 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">gl=gllib+gldll</set>
171
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>
182 <msvc-headers>$(XML_HDR)</msvc-headers>
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>
190 <msvc-headers>$(XML_HDR)</msvc-headers>
191 </lib>
192
193 <set var="MSVC6PRJ_MERGED_TARGETS" append="1">xml=xmllib+xmldll</set>
194
195 </makefile>