]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/Bakefiles.bkgen
Fix compilation errors under OSX.
[wxWidgets.git] / build / bakefiles / Bakefiles.bkgen
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <bakefile-gen xmlns="http://www.bakefile.org/schema/bakefile-gen">
5
6 <!--
7 Formats listed here are not generated by default. To enable them, either
8 remove them from the <disable-formats> directive below or create
9 Bakefiles.local.bkgen file in this directory and add <enable-formats>
10 into it:
11 <?xml version="1.0" ?>
12 <bakefile-gen xmlns="http://www.bakefile.org/schema/bakefile-gen">
13 <enable-formats>dmars</enable-formats>
14 </bakefile-gen>
15
16 Reasons why these formats are disabled (and so not in CVS):
17
18 dmars, dmars_smake, msevc4prj - These are generated at release time and
19 we don't want to clutter the source tree with these files.
20 -->
21
22 <disable-formats>dmars,dmars_smake,msevc4prj</disable-formats>
23
24
25 <!-- These wildcards match all .bkl files in wxWidgets tree: -->
26 <input>
27 wx.bkl
28 ../../samples/*.bkl
29 ../../samples/*/*.bkl
30 ../../samples/*/*/*.bkl
31 ../../demos/*.bkl
32 ../../demos/*/*.bkl
33 ../../demos/*/*/*.bkl
34 ../../utils/*.bkl
35 ../../utils/*/*.bkl
36 ../../utils/*/*/*.bkl
37 ../../tests/*.bkl
38 ../../tests/*/*.bkl
39 </input>
40
41 <!-- List of output formats to generate: -->
42 <add-formats>
43 autoconf,borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj,watcom
44 </add-formats>
45
46 <del-formats files="../../samples/*.bkl">
47 autoconf,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj
48 </del-formats>
49 <del-formats files="../../demos/*.bkl">
50 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj
51 </del-formats>
52 <del-formats files="../../samples/html/html_samples.bkl">
53 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj
54 </del-formats>
55 <del-formats files="../../samples/opengl/opengl_samples.bkl">
56 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj
57 </del-formats>
58 <del-formats files="../../utils/*.bkl">
59 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj
60 </del-formats>
61
62 <!-- WinCE can't have console apps: -->
63 <del-formats files="../../samples/console/*">msevc4prj</del-formats>
64 <del-formats files="../../samples/sockets/*">msevc4prj</del-formats>
65 <del-formats files="../../utils/execmon/*">msevc4prj</del-formats>
66 <del-formats files="../../utils/HelpGen/src/*">msevc4prj</del-formats>
67 <del-formats files="../../utils/ifacecheck/src/*">msevc4prj</del-formats>
68 <del-formats files="../../utils/wxrc/*">msevc4prj</del-formats>
69 <del-formats files="../../tests/*">msevc4prj</del-formats>
70 <del-formats files="../../tests/benchmarks/*">msevc4prj</del-formats>
71
72
73 <!-- HtmlCtrl sample is Cocoa only (autoconf format) -->
74 <del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl">
75 borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj,watcom
76 </del-formats>
77
78 <!-- Some samples use MSVC-specific stuff -->
79 <del-formats files="../../samples/flash/flash.bkl,../../samples/mfc/mfc.bkl">
80 autoconf,borland,dmars_smake,dmars,mingw,msevc4prj,watcom
81 </del-formats>
82
83 <!-- Default flags (for all formats and bakefiles): -->
84 <add-flags>-Iformats</add-flags>
85
86
87 <!-- Directories where the files go: -->
88 <add-flags files="wx.bkl" formats="autoconf">
89 -o../../Makefile.in
90 </add-flags>
91 <add-flags files="wx.bkl" formats="borland">
92 -o../msw/makefile.bcc
93 </add-flags>
94 <add-flags files="wx.bkl" formats="dmars_smake">
95 -o../msw/makefile.dms
96 </add-flags>
97 <add-flags files="wx.bkl" formats="dmars">
98 -o../msw/makefile.dmc
99 </add-flags>
100 <add-flags files="wx.bkl" formats="mingw">
101 -o../msw/makefile.gcc
102 </add-flags>
103 <add-flags files="wx.bkl" formats="msvc">
104 -o../msw/makefile.vc
105 </add-flags>
106 <add-flags files="wx.bkl" formats="watcom">
107 -o../msw/makefile.wat
108 </add-flags>
109 <add-flags files="wx.bkl" formats="msvc6prj">
110 -o../msw/wx.dsw
111 </add-flags>
112 <add-flags files="wx.bkl" formats="msvs2003prj">
113 -o../msw/wx_vc7.sln
114 </add-flags>
115 <add-flags files="wx.bkl" formats="msvs2005prj">
116 -o../msw/wx_vc8.sln
117 </add-flags>
118 <add-flags files="wx.bkl" formats="msvs2008prj">
119 -o../msw/wx_vc9.sln
120 </add-flags>
121 <add-flags files="wx.bkl" formats="msevc4prj">
122 -o../wince/wx.vcw
123 </add-flags>
124
125
126
127 <!-- Format specific settings: -->
128 <add-flags formats="autoconf">
129 -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
130 </add-flags>
131
132 <add-formats files="wx.bkl">rpmspec</add-formats>
133
134
135 <!-- Use different names for Visual C++ 200x project files: -->
136 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*"
137 formats="msvs2003prj">
138 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc7.sln
139 </add-flags>
140 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*"
141 formats="msvs2005prj">
142 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc8.sln
143 </add-flags>
144 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*"
145 formats="msvs2008prj">
146 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc9.sln
147 </add-flags>
148
149 <!-- Makefile specific settings: -->
150
151 <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
152 -DWRITE_OPTIONS_FILE=0
153 </add-flags>
154 <del-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom"
155 files="wx.bkl">
156 -DWRITE_OPTIONS_FILE=0
157 </del-flags>
158
159 <add-flags files="wx.bkl" formats="borland">
160 -DOPTIONS_FILE=config.bcc
161 </add-flags>
162 <add-flags files="wx.bkl" formats="dmars_smake">
163 -DOPTIONS_FILE=config.dms
164 </add-flags>
165 <add-flags files="wx.bkl" formats="dmars">
166 -DOPTIONS_FILE=config.dmc
167 </add-flags>
168 <add-flags files="wx.bkl" formats="mingw">
169 -DOPTIONS_FILE=config.gcc
170 </add-flags>
171 <add-flags files="wx.bkl" formats="msvc">
172 -DOPTIONS_FILE=config.vc
173 </add-flags>
174 <add-flags files="wx.bkl" formats="watcom">
175 -DOPTIONS_FILE=config.wat
176 </add-flags>
177
178 <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags>
179 <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags>
180 <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags>
181 <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags>
182
183 <add-flags files="../../*/*" formats="borland">
184 -DOPTIONS_FILE=../build/msw/config.bcc
185 </add-flags>
186 <add-flags files="../../*/*" formats="dmars_smake">
187 -DOPTIONS_FILE=../build/msw/config.dms
188 </add-flags>
189 <add-flags files="../../*/*" formats="dmars">
190 -DOPTIONS_FILE=../build/msw/config.dmc
191 </add-flags>
192 <add-flags files="../../*/*" formats="mingw">
193 -DOPTIONS_FILE=../build/msw/config.gcc
194 </add-flags>
195 <add-flags files="../../*/*" formats="msvc">
196 -DOPTIONS_FILE=../build/msw/config.vc
197 </add-flags>
198 <add-flags files="../../*/*" formats="watcom">
199 -DOPTIONS_FILE=../build/msw/config.wat
200 </add-flags>
201 <add-flags files="../../*/*/*" formats="borland">
202 -DOPTIONS_FILE=../../build/msw/config.bcc
203 </add-flags>
204 <add-flags files="../../*/*/*" formats="dmars_smake">
205 -DOPTIONS_FILE=../../build/msw/config.dms
206 </add-flags>
207 <add-flags files="../../*/*/*" formats="dmars">
208 -DOPTIONS_FILE=../../build/msw/config.dmc
209 </add-flags>
210 <add-flags files="../../*/*/*" formats="mingw">
211 -DOPTIONS_FILE=../../build/msw/config.gcc
212 </add-flags>
213 <add-flags files="../../*/*/*" formats="msvc">
214 -DOPTIONS_FILE=../../build/msw/config.vc
215 </add-flags>
216 <add-flags files="../../*/*/*" formats="watcom">
217 -DOPTIONS_FILE=../../build/msw/config.wat
218 </add-flags>
219 <add-flags files="../../*/*/*/*" formats="borland">
220 -DOPTIONS_FILE=../../../build/msw/config.bcc
221 </add-flags>
222 <add-flags files="../../*/*/*/*" formats="dmars_smake">
223 -DOPTIONS_FILE=../../../build/msw/config.dms
224 </add-flags>
225 <add-flags files="../../*/*/*/*" formats="dmars">
226 -DOPTIONS_FILE=../../../build/msw/config.dmc
227 </add-flags>
228 <add-flags files="../../*/*/*/*" formats="mingw">
229 -DOPTIONS_FILE=../../../build/msw/config.gcc
230 </add-flags>
231 <add-flags files="../../*/*/*/*" formats="msvc">
232 -DOPTIONS_FILE=../../../build/msw/config.vc
233 </add-flags>
234 <add-flags files="../../*/*/*/*" formats="watcom">
235 -DOPTIONS_FILE=../../../build/msw/config.wat
236 </add-flags>
237 <add-flags files="../../*/*/*/*/*" formats="borland">
238 -DOPTIONS_FILE=../../../../build/msw/config.bcc
239 </add-flags>
240 <add-flags files="../../*/*/*/*/*" formats="dmars_smake">
241 -DOPTIONS_FILE=../../../../build/msw/config.dms
242 </add-flags>
243 <add-flags files="../../*/*/*/*/*" formats="dmars">
244 -DOPTIONS_FILE=../../../../build/msw/config.dmc
245 </add-flags>
246 <add-flags files="../../*/*/*/*/*" formats="mingw">
247 -DOPTIONS_FILE=../../../../build/msw/config.gcc
248 </add-flags>
249 <add-flags files="../../*/*/*/*/*" formats="msvc">
250 -DOPTIONS_FILE=../../../../build/msw/config.vc
251 </add-flags>
252 <add-flags files="../../*/*/*/*/*" formats="watcom">
253 -DOPTIONS_FILE=../../../../build/msw/config.wat
254 </add-flags>
255
256
257 <!-- Makefiles for out-of-tree building of samples on Unix: -->
258 <add-formats files="../../samples/*/*.bkl,../../samples/*/*/*.bkl">
259 gnu
260 </add-formats>
261 <del-formats files="../../samples/flash/flash.bkl,../../samples/mfc/mfc.bkl">
262 gnu
263 </del-formats>
264 <add-flags files="../../samples/*/*.bkl,../../samples/*/*/*.bkl"
265 formats="gnu">
266 -DOUT_OF_TREE_MAKEFILES=1 -o$(INPUT_FILE_DIR)/makefile.unx
267 </add-flags>
268
269 <!-- Personal customizations (not in VCS): -->
270 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
271
272 </bakefile-gen>