]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/Bakefiles.bkgen
Inital fill in background, removed tabs, -1->wxID_ANY, TRUE->true, FALSE->false
[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 intergrate 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="../../contrib/utils/wxrc/*">msevc4prj</del-formats>
80 <del-formats files="../../tests/*">msevc4prj</del-formats>
81
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="msevc4prj">
113 -o../wince/wx.vcw
114 </add-flags>
115 <add-flags files="wx.bkl" formats="cbuilderx">
116 -o../../wx.cbx
117 </add-flags>
118 <add-flags files="../../contrib/build/*/*.bkl" formats="autoconf">
119 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/Makefile.in
120 </add-flags>
121 <add-flags files="../../contrib/build/*/*.bkl" formats="cbx_unix">
122 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT)Unix.cbx
123 </add-flags>
124 <!-- FIXME: don't do this once it is possible (new CBX version) -->
125 <add-flags files="../../contrib/build/*/*.bkl" formats="cbuilderx">
126 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT).cbx
127 </add-flags>
128 <add-flags files="../../contrib/build/*/*.bkl"
129 formats="mingw,borland,dmars_smake,dmars,watcom,msvc,msvc6prj,msevc4prj">
130 -DSRCDIR=../../src/$(INPUT_FILE_BASENAME_NOEXT)
131 </add-flags>
132
133
134
135 <!-- Format specific settings: -->
136 <add-flags formats="autoconf">
137 -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
138 </add-flags>
139
140 <add-formats files="wx.bkl">wx24dsp</add-formats>
141 <add-flags formats="wx24dsp">
142 -DUSE_GUI=1 -DWXUNIV=0 -o../../src/wxWidgets.dsp
143 </add-flags>
144
145 <add-formats files="wx.bkl">rpmspec</add-formats>
146
147
148 <!-- Makefile specific settings: -->
149
150 <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
151 -DWRITE_OPTIONS_FILE=0
152 </add-flags>
153 <del-flags 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 <!-- Personal customizations (not in CVS): -->
256 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
257
258 </bakefile-gen>