]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/Bakefiles.bkgen
Rename gtk{,1}/tbargtk.{h,cpp} to toolbar.{h,cpp}.
[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>
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/HelpGen/src/*">msevc4prj</del-formats>
66 <del-formats files="../../utils/ifacecheck/src/*">msevc4prj</del-formats>
67 <del-formats files="../../utils/wxrc/*">msevc4prj</del-formats>
68 <del-formats files="../../tests/*">msevc4prj</del-formats>
69 <del-formats files="../../tests/benchmarks/*">msevc4prj</del-formats>
70
71 <!-- HtmlCtrl sample is Cocoa only (autoconf format) -->
72 <del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl">
73 borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj,watcom
74 </del-formats>
75
76 <!-- Some samples use MSVC-specific stuff -->
77 <del-formats files="../../samples/flash/flash.bkl,../../samples/mfc/mfc.bkl">
78 autoconf,borland,dmars_smake,dmars,mingw,msevc4prj,watcom
79 </del-formats>
80
81 <!-- Default flags (for all formats and bakefiles): -->
82 <add-flags>-Iformats</add-flags>
83
84
85 <!-- Directories where the files go: -->
86 <add-flags files="wx.bkl" formats="autoconf">
87 -o../../Makefile.in
88 </add-flags>
89 <add-flags files="wx.bkl" formats="borland">
90 -o../msw/makefile.bcc
91 </add-flags>
92 <add-flags files="wx.bkl" formats="dmars_smake">
93 -o../msw/makefile.dms
94 </add-flags>
95 <add-flags files="wx.bkl" formats="dmars">
96 -o../msw/makefile.dmc
97 </add-flags>
98 <add-flags files="wx.bkl" formats="mingw">
99 -o../msw/makefile.gcc
100 </add-flags>
101 <add-flags files="wx.bkl" formats="msvc">
102 -o../msw/makefile.vc
103 </add-flags>
104 <add-flags files="wx.bkl" formats="watcom">
105 -o../msw/makefile.wat
106 </add-flags>
107 <add-flags files="wx.bkl" formats="msvc6prj">
108 -o../msw/wx.dsw
109 </add-flags>
110 <add-flags files="wx.bkl" formats="msvs2003prj">
111 -o../msw/wx_vc7.sln
112 </add-flags>
113 <add-flags files="wx.bkl" formats="msvs2005prj">
114 -o../msw/wx_vc8.sln
115 </add-flags>
116 <add-flags files="wx.bkl" formats="msvs2008prj">
117 -o../msw/wx_vc9.sln
118 </add-flags>
119 <add-flags files="wx.bkl" formats="msevc4prj">
120 -o../wince/wx.vcw
121 </add-flags>
122
123
124
125 <!-- Format specific settings: -->
126 <add-flags formats="autoconf">
127 -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
128 </add-flags>
129
130 <add-formats files="wx.bkl">rpmspec</add-formats>
131
132
133 <!-- Use different names for Visual C++ 200x project files: -->
134 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*"
135 formats="msvs2003prj">
136 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc7.sln
137 </add-flags>
138 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*"
139 formats="msvs2005prj">
140 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc8.sln
141 </add-flags>
142 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*"
143 formats="msvs2008prj">
144 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc9.sln
145 </add-flags>
146
147 <!-- Makefile specific settings: -->
148
149 <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
150 -DWRITE_OPTIONS_FILE=0
151 </add-flags>
152 <del-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom"
153 files="wx.bkl">
154 -DWRITE_OPTIONS_FILE=0
155 </del-flags>
156
157 <add-flags files="wx.bkl" formats="borland">
158 -DOPTIONS_FILE=config.bcc
159 </add-flags>
160 <add-flags files="wx.bkl" formats="dmars_smake">
161 -DOPTIONS_FILE=config.dms
162 </add-flags>
163 <add-flags files="wx.bkl" formats="dmars">
164 -DOPTIONS_FILE=config.dmc
165 </add-flags>
166 <add-flags files="wx.bkl" formats="mingw">
167 -DOPTIONS_FILE=config.gcc
168 </add-flags>
169 <add-flags files="wx.bkl" formats="msvc">
170 -DOPTIONS_FILE=config.vc
171 </add-flags>
172 <add-flags files="wx.bkl" formats="watcom">
173 -DOPTIONS_FILE=config.wat
174 </add-flags>
175
176 <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags>
177 <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags>
178 <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags>
179 <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags>
180
181 <add-flags files="../../*/*" formats="borland">
182 -DOPTIONS_FILE=../build/msw/config.bcc
183 </add-flags>
184 <add-flags files="../../*/*" formats="dmars_smake">
185 -DOPTIONS_FILE=../build/msw/config.dms
186 </add-flags>
187 <add-flags files="../../*/*" formats="dmars">
188 -DOPTIONS_FILE=../build/msw/config.dmc
189 </add-flags>
190 <add-flags files="../../*/*" formats="mingw">
191 -DOPTIONS_FILE=../build/msw/config.gcc
192 </add-flags>
193 <add-flags files="../../*/*" formats="msvc">
194 -DOPTIONS_FILE=../build/msw/config.vc
195 </add-flags>
196 <add-flags files="../../*/*" formats="watcom">
197 -DOPTIONS_FILE=../build/msw/config.wat
198 </add-flags>
199 <add-flags files="../../*/*/*" formats="borland">
200 -DOPTIONS_FILE=../../build/msw/config.bcc
201 </add-flags>
202 <add-flags files="../../*/*/*" formats="dmars_smake">
203 -DOPTIONS_FILE=../../build/msw/config.dms
204 </add-flags>
205 <add-flags files="../../*/*/*" formats="dmars">
206 -DOPTIONS_FILE=../../build/msw/config.dmc
207 </add-flags>
208 <add-flags files="../../*/*/*" formats="mingw">
209 -DOPTIONS_FILE=../../build/msw/config.gcc
210 </add-flags>
211 <add-flags files="../../*/*/*" formats="msvc">
212 -DOPTIONS_FILE=../../build/msw/config.vc
213 </add-flags>
214 <add-flags files="../../*/*/*" formats="watcom">
215 -DOPTIONS_FILE=../../build/msw/config.wat
216 </add-flags>
217 <add-flags files="../../*/*/*/*" formats="borland">
218 -DOPTIONS_FILE=../../../build/msw/config.bcc
219 </add-flags>
220 <add-flags files="../../*/*/*/*" formats="dmars_smake">
221 -DOPTIONS_FILE=../../../build/msw/config.dms
222 </add-flags>
223 <add-flags files="../../*/*/*/*" formats="dmars">
224 -DOPTIONS_FILE=../../../build/msw/config.dmc
225 </add-flags>
226 <add-flags files="../../*/*/*/*" formats="mingw">
227 -DOPTIONS_FILE=../../../build/msw/config.gcc
228 </add-flags>
229 <add-flags files="../../*/*/*/*" formats="msvc">
230 -DOPTIONS_FILE=../../../build/msw/config.vc
231 </add-flags>
232 <add-flags files="../../*/*/*/*" formats="watcom">
233 -DOPTIONS_FILE=../../../build/msw/config.wat
234 </add-flags>
235 <add-flags files="../../*/*/*/*/*" formats="borland">
236 -DOPTIONS_FILE=../../../../build/msw/config.bcc
237 </add-flags>
238 <add-flags files="../../*/*/*/*/*" formats="dmars_smake">
239 -DOPTIONS_FILE=../../../../build/msw/config.dms
240 </add-flags>
241 <add-flags files="../../*/*/*/*/*" formats="dmars">
242 -DOPTIONS_FILE=../../../../build/msw/config.dmc
243 </add-flags>
244 <add-flags files="../../*/*/*/*/*" formats="mingw">
245 -DOPTIONS_FILE=../../../../build/msw/config.gcc
246 </add-flags>
247 <add-flags files="../../*/*/*/*/*" formats="msvc">
248 -DOPTIONS_FILE=../../../../build/msw/config.vc
249 </add-flags>
250 <add-flags files="../../*/*/*/*/*" formats="watcom">
251 -DOPTIONS_FILE=../../../../build/msw/config.wat
252 </add-flags>
253
254
255 <!-- Makefiles for out-of-tree building of samples on Unix: -->
256 <add-formats files="../../samples/*/*.bkl,../../samples/*/*/*.bkl">
257 gnu
258 </add-formats>
259 <del-formats files="../../samples/flash/flash.bkl,../../samples/mfc/mfc.bkl">
260 gnu
261 </del-formats>
262 <add-flags files="../../samples/*/*.bkl,../../samples/*/*/*.bkl"
263 formats="gnu">
264 -DOUT_OF_TREE_MAKEFILES=1 -o$(INPUT_FILE_DIR)/makefile.unx
265 </add-flags>
266
267 <!-- Personal customizations (not in VCS): -->
268 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
269
270 </bakefile-gen>