]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/Bakefiles.bkgen
Warning fix for wxLogs.
[wxWidgets.git] / build / bakefiles / Bakefiles.bkgen
CommitLineData
3629838a
VS
1<?xml version="1.0" ?>
2<!-- $Id$ -->
3
4<bakefile-gen>
5
328f5196
VS
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.
d6cb2e49 19 dmars_smake - ditto
af594eca 20 msevc4prj - ditto
328f5196
VS
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.
2f608603 26 cbx_unix - Doesn't integrate well and won't be used by most Unix people.
328f5196
VS
27 -->
28
d6cb2e49 29 <disable-formats>dmars,dmars_smake,cbx_unix,cbuilderx,msevc4prj</disable-formats>
328f5196
VS
30
31
77ffb593 32 <!-- These wildcards match all .bkl files in wxWidgets tree: -->
3629838a
VS
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
39d85e3c 48 ../../contrib/utils/*/*.bkl
670ec357 49 ../../tests/*.bkl
3629838a
VS
50 </input>
51
52 <!-- List of output formats to generate: -->
328f5196 53 <add-formats>
d6cb2e49 54 autoconf,borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,watcom,cbuilderx,cbx_unix
328f5196 55 </add-formats>
3629838a 56
328f5196 57 <del-formats files="../../samples/*.bkl">
af594eca 58 autoconf,msvc6prj,msevc4prj,cbuilderx,cbx_unix
328f5196
VS
59 </del-formats>
60 <del-formats files="../../demos/*.bkl">
af594eca 61 msvc6prj,msevc4prj,cbuilderx,cbx_unix
328f5196
VS
62 </del-formats>
63 <del-formats files="../../samples/html/html_samples.bkl">
af594eca 64 msvc6prj,msevc4prj,cbuilderx,cbx_unix
328f5196
VS
65 </del-formats>
66 <del-formats files="../../samples/mobile/mobile_samples.bkl">
af594eca 67 msvc6prj,msevc4prj,cbuilderx,cbx_unix
328f5196
VS
68 </del-formats>
69 <del-formats files="../../samples/opengl/opengl_samples.bkl">
af594eca 70 msvc6prj,msevc4prj,cbuilderx,cbx_unix
328f5196
VS
71 </del-formats>
72 <del-formats files="../../utils/*.bkl">
af594eca 73 msvc6prj,msevc4prj,cbuilderx,cbx_unix
328f5196 74 </del-formats>
3629838a 75
eeb07a33
VS
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>
541cbfa0 79 <del-formats files="../../utils/wxrc/*">msevc4prj</del-formats>
eeb07a33
VS
80 <del-formats files="../../contrib/utils/wxrc/*">msevc4prj</del-formats>
81 <del-formats files="../../tests/*">msevc4prj</del-formats>
82
3629838a
VS
83
84 <!-- Default flags (for all formats and bakefiles): -->
8ce0312e 85 <add-flags>-Iformats</add-flags>
3629838a
VS
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>
d6cb2e49
VS
95 <add-flags files="wx.bkl" formats="dmars_smake">
96 -o../msw/makefile.dms
97 </add-flags>
e6e885fd
VS
98 <add-flags files="wx.bkl" formats="dmars">
99 -o../msw/makefile.dmc
100 </add-flags>
3629838a
VS
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>
af594eca
VS
113 <add-flags files="wx.bkl" formats="msevc4prj">
114 -o../wince/wx.vcw
115 </add-flags>
328f5196
VS
116 <add-flags files="wx.bkl" formats="cbuilderx">
117 -o../../wx.cbx
118 </add-flags>
3629838a
VS
119 <add-flags files="../../contrib/build/*/*.bkl" formats="autoconf">
120 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/Makefile.in
121 </add-flags>
328f5196
VS
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>
3629838a 129 <add-flags files="../../contrib/build/*/*.bkl"
d6cb2e49 130 formats="mingw,borland,dmars_smake,dmars,watcom,msvc,msvc6prj,msevc4prj">
3629838a
VS
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">
0a16b436 143 -DUSE_GUI=1 -DWXUNIV=0 -o../../src/wxWindows.dsp
3629838a 144 </add-flags>
d10382ab
VS
145
146 <add-formats files="wx.bkl">rpmspec</add-formats>
3629838a
VS
147
148
149 <!-- Makefile specific settings: -->
150
d6cb2e49 151 <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
3629838a
VS
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>
d6cb2e49
VS
161 <add-flags files="wx.bkl" formats="dmars_smake">
162 -DOPTIONS_FILE=config.dms
163 </add-flags>
7d88f099
VS
164 <add-flags files="wx.bkl" formats="dmars">
165 -DOPTIONS_FILE=config.dmc
166 </add-flags>
3629838a
VS
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>
d6cb2e49
VS
185 <add-flags files="../../*/*" formats="dmars_smake">
186 -DOPTIONS_FILE=../build/msw/config.dms
187 </add-flags>
7d88f099
VS
188 <add-flags files="../../*/*" formats="dmars">
189 -DOPTIONS_FILE=../build/msw/config.dmc
190 </add-flags>
3629838a
VS
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>
d6cb2e49
VS
203 <add-flags files="../../*/*/*" formats="dmars_smake">
204 -DOPTIONS_FILE=../../build/msw/config.dms
205 </add-flags>
7d88f099
VS
206 <add-flags files="../../*/*/*" formats="dmars">
207 -DOPTIONS_FILE=../../build/msw/config.dmc
208 </add-flags>
3629838a
VS
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>
d6cb2e49
VS
221 <add-flags files="../../*/*/*/*" formats="dmars_smake">
222 -DOPTIONS_FILE=../../../build/msw/config.dms
223 </add-flags>
7d88f099
VS
224 <add-flags files="../../*/*/*/*" formats="dmars">
225 -DOPTIONS_FILE=../../../build/msw/config.dmc
226 </add-flags>
3629838a
VS
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>
d6cb2e49
VS
239 <add-flags files="../../*/*/*/*/*" formats="dmars_smake">
240 -DOPTIONS_FILE=../../../../build/msw/config.dms
241 </add-flags>
7d88f099
VS
242 <add-flags files="../../*/*/*/*/*" formats="dmars">
243 -DOPTIONS_FILE=../../../../build/msw/config.dmc
244 </add-flags>
3629838a
VS
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): -->
0b92df79 257 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
3629838a
VS
258
259</bakefile-gen>