]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/Bakefiles.bkgen
Added script to bake everthing (OK, so it's trivial...)
[wxWidgets.git] / build / bakefiles / Bakefiles.bkgen
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <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 - In beta testing, will be added when it stabilizes.
19 dmars_smake - ditto
20 msevc4prj - ditto
21 cbuilderx - Generated projects are too bad to be included in CVS. Please
22 *do not* enable this format until FIXMEs in .bkl files related
23 to cbuilderx are addressed. In particular, the project must
24 be placed into build/msw(?) directory and store object files
25 in its subdirectory and it must copy setup.h as others do.
26 cbx_unix - Doesn't integrate well and won't be used by most Unix people.
27 -->
28
29 <disable-formats>dmars,dmars_smake,cbx_unix,cbuilderx,msevc4prj</disable-formats>
30
31
32 <!-- These wildcards match all .bkl files in wxWidgets tree: -->
33 <input>
34 wx.bkl
35 ../../contrib/build/*/*.bkl
36 ../../samples/*.bkl
37 ../../samples/*/*.bkl
38 ../../samples/*/*/*.bkl
39 ../../demos/*.bkl
40 ../../demos/*/*.bkl
41 ../../demos/*/*/*.bkl
42 ../../utils/*.bkl
43 ../../utils/*/*.bkl
44 ../../utils/*/*/*.bkl
45 ../../contrib/samples/*.bkl
46 ../../contrib/samples/*/*.bkl
47 ../../contrib/samples/*/*/*.bkl
48 ../../contrib/utils/*/*.bkl
49 ../../tests/*.bkl
50 </input>
51
52 <!-- List of output formats to generate: -->
53 <add-formats>
54 autoconf,borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,watcom,cbuilderx,cbx_unix
55 </add-formats>
56
57 <del-formats files="../../samples/*.bkl">
58 autoconf,msvc6prj,msevc4prj,cbuilderx,cbx_unix
59 </del-formats>
60 <del-formats files="../../demos/*.bkl">
61 msvc6prj,msevc4prj,cbuilderx,cbx_unix
62 </del-formats>
63 <del-formats files="../../samples/html/html_samples.bkl">
64 msvc6prj,msevc4prj,cbuilderx,cbx_unix
65 </del-formats>
66 <del-formats files="../../samples/mobile/mobile_samples.bkl">
67 msvc6prj,msevc4prj,cbuilderx,cbx_unix
68 </del-formats>
69 <del-formats files="../../samples/opengl/opengl_samples.bkl">
70 msvc6prj,msevc4prj,cbuilderx,cbx_unix
71 </del-formats>
72 <del-formats files="../../utils/*.bkl">
73 msvc6prj,msevc4prj,cbuilderx,cbx_unix
74 </del-formats>
75
76 <!-- WinCE can't have console apps: -->
77 <del-formats files="../../samples/console/*">msevc4prj</del-formats>
78 <del-formats files="../../utils/HelpGen/src/*">msevc4prj</del-formats>
79 <del-formats files="../../utils/wxrc/*">msevc4prj</del-formats>
80 <del-formats files="../../contrib/utils/wxrc/*">msevc4prj</del-formats>
81 <del-formats files="../../tests/*">msevc4prj</del-formats>
82
83
84 <!-- Default flags (for all formats and bakefiles): -->
85 <add-flags>-Iformats</add-flags>
86
87
88 <!-- Directories where the files go: -->
89 <add-flags files="wx.bkl" formats="autoconf">
90 -o../../Makefile.in
91 </add-flags>
92 <add-flags files="wx.bkl" formats="borland">
93 -o../msw/makefile.bcc
94 </add-flags>
95 <add-flags files="wx.bkl" formats="dmars_smake">
96 -o../msw/makefile.dms
97 </add-flags>
98 <add-flags files="wx.bkl" formats="dmars">
99 -o../msw/makefile.dmc
100 </add-flags>
101 <add-flags files="wx.bkl" formats="mingw">
102 -o../msw/makefile.gcc
103 </add-flags>
104 <add-flags files="wx.bkl" formats="msvc">
105 -o../msw/makefile.vc
106 </add-flags>
107 <add-flags files="wx.bkl" formats="watcom">
108 -o../msw/makefile.wat
109 </add-flags>
110 <add-flags files="wx.bkl" formats="msvc6prj">
111 -o../msw/wx.dsw
112 </add-flags>
113 <add-flags files="wx.bkl" formats="msevc4prj">
114 -o../wince/wx.vcw
115 </add-flags>
116 <add-flags files="wx.bkl" formats="cbuilderx">
117 -o../../wx.cbx
118 </add-flags>
119 <add-flags files="../../contrib/build/*/*.bkl" formats="autoconf">
120 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/Makefile.in
121 </add-flags>
122 <add-flags files="../../contrib/build/*/*.bkl" formats="cbx_unix">
123 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT)Unix.cbx
124 </add-flags>
125 <!-- FIXME: don't do this once it is possible (new CBX version) -->
126 <add-flags files="../../contrib/build/*/*.bkl" formats="cbuilderx">
127 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT).cbx
128 </add-flags>
129 <add-flags files="../../contrib/build/*/*.bkl"
130 formats="mingw,borland,dmars_smake,dmars,watcom,msvc,msvc6prj,msevc4prj">
131 -DSRCDIR=../../src/$(INPUT_FILE_BASENAME_NOEXT)
132 </add-flags>
133
134
135
136 <!-- Format specific settings: -->
137 <add-flags formats="autoconf">
138 -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
139 </add-flags>
140
141 <add-formats files="wx.bkl">wx24dsp</add-formats>
142 <add-flags formats="wx24dsp">
143 -DUSE_GUI=1 -DWXUNIV=0 -o../../src/wxWindows.dsp
144 </add-flags>
145
146 <add-formats files="wx.bkl">rpmspec</add-formats>
147
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 files="wx.bkl">
155 -DWRITE_OPTIONS_FILE=0
156 </del-flags>
157
158 <add-flags files="wx.bkl" formats="borland">
159 -DOPTIONS_FILE=config.bcc
160 </add-flags>
161 <add-flags files="wx.bkl" formats="dmars_smake">
162 -DOPTIONS_FILE=config.dms
163 </add-flags>
164 <add-flags files="wx.bkl" formats="dmars">
165 -DOPTIONS_FILE=config.dmc
166 </add-flags>
167 <add-flags files="wx.bkl" formats="mingw">
168 -DOPTIONS_FILE=config.gcc
169 </add-flags>
170 <add-flags files="wx.bkl" formats="msvc">
171 -DOPTIONS_FILE=config.vc
172 </add-flags>
173 <add-flags files="wx.bkl" formats="watcom">
174 -DOPTIONS_FILE=config.wat
175 </add-flags>
176
177 <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags>
178 <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags>
179 <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags>
180 <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags>
181
182 <add-flags files="../../*/*" formats="borland">
183 -DOPTIONS_FILE=../build/msw/config.bcc
184 </add-flags>
185 <add-flags files="../../*/*" formats="dmars_smake">
186 -DOPTIONS_FILE=../build/msw/config.dms
187 </add-flags>
188 <add-flags files="../../*/*" formats="dmars">
189 -DOPTIONS_FILE=../build/msw/config.dmc
190 </add-flags>
191 <add-flags files="../../*/*" formats="mingw">
192 -DOPTIONS_FILE=../build/msw/config.gcc
193 </add-flags>
194 <add-flags files="../../*/*" formats="msvc">
195 -DOPTIONS_FILE=../build/msw/config.vc
196 </add-flags>
197 <add-flags files="../../*/*" formats="watcom">
198 -DOPTIONS_FILE=../build/msw/config.wat
199 </add-flags>
200 <add-flags files="../../*/*/*" formats="borland">
201 -DOPTIONS_FILE=../../build/msw/config.bcc
202 </add-flags>
203 <add-flags files="../../*/*/*" formats="dmars_smake">
204 -DOPTIONS_FILE=../../build/msw/config.dms
205 </add-flags>
206 <add-flags files="../../*/*/*" formats="dmars">
207 -DOPTIONS_FILE=../../build/msw/config.dmc
208 </add-flags>
209 <add-flags files="../../*/*/*" formats="mingw">
210 -DOPTIONS_FILE=../../build/msw/config.gcc
211 </add-flags>
212 <add-flags files="../../*/*/*" formats="msvc">
213 -DOPTIONS_FILE=../../build/msw/config.vc
214 </add-flags>
215 <add-flags files="../../*/*/*" formats="watcom">
216 -DOPTIONS_FILE=../../build/msw/config.wat
217 </add-flags>
218 <add-flags files="../../*/*/*/*" formats="borland">
219 -DOPTIONS_FILE=../../../build/msw/config.bcc
220 </add-flags>
221 <add-flags files="../../*/*/*/*" formats="dmars_smake">
222 -DOPTIONS_FILE=../../../build/msw/config.dms
223 </add-flags>
224 <add-flags files="../../*/*/*/*" formats="dmars">
225 -DOPTIONS_FILE=../../../build/msw/config.dmc
226 </add-flags>
227 <add-flags files="../../*/*/*/*" formats="mingw">
228 -DOPTIONS_FILE=../../../build/msw/config.gcc
229 </add-flags>
230 <add-flags files="../../*/*/*/*" formats="msvc">
231 -DOPTIONS_FILE=../../../build/msw/config.vc
232 </add-flags>
233 <add-flags files="../../*/*/*/*" formats="watcom">
234 -DOPTIONS_FILE=../../../build/msw/config.wat
235 </add-flags>
236 <add-flags files="../../*/*/*/*/*" formats="borland">
237 -DOPTIONS_FILE=../../../../build/msw/config.bcc
238 </add-flags>
239 <add-flags files="../../*/*/*/*/*" formats="dmars_smake">
240 -DOPTIONS_FILE=../../../../build/msw/config.dms
241 </add-flags>
242 <add-flags files="../../*/*/*/*/*" formats="dmars">
243 -DOPTIONS_FILE=../../../../build/msw/config.dmc
244 </add-flags>
245 <add-flags files="../../*/*/*/*/*" formats="mingw">
246 -DOPTIONS_FILE=../../../../build/msw/config.gcc
247 </add-flags>
248 <add-flags files="../../*/*/*/*/*" formats="msvc">
249 -DOPTIONS_FILE=../../../../build/msw/config.vc
250 </add-flags>
251 <add-flags files="../../*/*/*/*/*" formats="watcom">
252 -DOPTIONS_FILE=../../../../build/msw/config.wat
253 </add-flags>
254
255
256 <!-- Personal customizations (not in CVS): -->
257 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
258
259 </bakefile-gen>