]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/Bakefiles.bkgen
Small fixes to allow compilation in Unicode mode with gcc
[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):
07319f2a 17
328f5196 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 27 -->
07319f2a 28
d6cb2e49 29 <disable-formats>dmars,dmars_smake,cbx_unix,cbuilderx,msevc4prj</disable-formats>
07319f2a 30
328f5196 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>
07319f2a 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
07319f2a
WS
83 <!-- HtmlCtrl sample is Cocoa only (autoconf format) -->
84 <del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl">
85 borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,watcom,cbuilderx,cbx_unix
86 </del-formats>
87
88
3629838a 89 <!-- Default flags (for all formats and bakefiles): -->
8ce0312e 90 <add-flags>-Iformats</add-flags>
07319f2a
WS
91
92
3629838a
VS
93 <!-- Directories where the files go: -->
94 <add-flags files="wx.bkl" formats="autoconf">
95 -o../../Makefile.in
96 </add-flags>
97 <add-flags files="wx.bkl" formats="borland">
98 -o../msw/makefile.bcc
99 </add-flags>
d6cb2e49
VS
100 <add-flags files="wx.bkl" formats="dmars_smake">
101 -o../msw/makefile.dms
102 </add-flags>
e6e885fd
VS
103 <add-flags files="wx.bkl" formats="dmars">
104 -o../msw/makefile.dmc
105 </add-flags>
3629838a
VS
106 <add-flags files="wx.bkl" formats="mingw">
107 -o../msw/makefile.gcc
108 </add-flags>
109 <add-flags files="wx.bkl" formats="msvc">
110 -o../msw/makefile.vc
111 </add-flags>
112 <add-flags files="wx.bkl" formats="watcom">
113 -o../msw/makefile.wat
114 </add-flags>
115 <add-flags files="wx.bkl" formats="msvc6prj">
116 -o../msw/wx.dsw
117 </add-flags>
af594eca
VS
118 <add-flags files="wx.bkl" formats="msevc4prj">
119 -o../wince/wx.vcw
120 </add-flags>
328f5196
VS
121 <add-flags files="wx.bkl" formats="cbuilderx">
122 -o../../wx.cbx
123 </add-flags>
3629838a
VS
124 <add-flags files="../../contrib/build/*/*.bkl" formats="autoconf">
125 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/Makefile.in
126 </add-flags>
328f5196
VS
127 <add-flags files="../../contrib/build/*/*.bkl" formats="cbx_unix">
128 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT)Unix.cbx
129 </add-flags>
130 <!-- FIXME: don't do this once it is possible (new CBX version) -->
131 <add-flags files="../../contrib/build/*/*.bkl" formats="cbuilderx">
132 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT).cbx
133 </add-flags>
3629838a 134 <add-flags files="../../contrib/build/*/*.bkl"
d6cb2e49 135 formats="mingw,borland,dmars_smake,dmars,watcom,msvc,msvc6prj,msevc4prj">
3629838a
VS
136 -DSRCDIR=../../src/$(INPUT_FILE_BASENAME_NOEXT)
137 </add-flags>
138
07319f2a 139
3629838a
VS
140
141 <!-- Format specific settings: -->
142 <add-flags formats="autoconf">
143 -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
144 </add-flags>
145
146 <add-formats files="wx.bkl">wx24dsp</add-formats>
147 <add-flags formats="wx24dsp">
0a16b436 148 -DUSE_GUI=1 -DWXUNIV=0 -o../../src/wxWindows.dsp
3629838a 149 </add-flags>
07319f2a 150
d10382ab 151 <add-formats files="wx.bkl">rpmspec</add-formats>
3629838a
VS
152
153
154 <!-- Makefile specific settings: -->
155
d6cb2e49 156 <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
3629838a
VS
157 -DWRITE_OPTIONS_FILE=0
158 </add-flags>
159 <del-flags files="wx.bkl">
160 -DWRITE_OPTIONS_FILE=0
161 </del-flags>
07319f2a 162
3629838a
VS
163 <add-flags files="wx.bkl" formats="borland">
164 -DOPTIONS_FILE=config.bcc
165 </add-flags>
d6cb2e49
VS
166 <add-flags files="wx.bkl" formats="dmars_smake">
167 -DOPTIONS_FILE=config.dms
168 </add-flags>
7d88f099
VS
169 <add-flags files="wx.bkl" formats="dmars">
170 -DOPTIONS_FILE=config.dmc
171 </add-flags>
3629838a
VS
172 <add-flags files="wx.bkl" formats="mingw">
173 -DOPTIONS_FILE=config.gcc
174 </add-flags>
175 <add-flags files="wx.bkl" formats="msvc">
176 -DOPTIONS_FILE=config.vc
177 </add-flags>
178 <add-flags files="wx.bkl" formats="watcom">
179 -DOPTIONS_FILE=config.wat
180 </add-flags>
181
182 <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags>
183 <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags>
184 <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags>
185 <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags>
07319f2a 186
3629838a
VS
187 <add-flags files="../../*/*" formats="borland">
188 -DOPTIONS_FILE=../build/msw/config.bcc
189 </add-flags>
d6cb2e49
VS
190 <add-flags files="../../*/*" formats="dmars_smake">
191 -DOPTIONS_FILE=../build/msw/config.dms
192 </add-flags>
7d88f099
VS
193 <add-flags files="../../*/*" formats="dmars">
194 -DOPTIONS_FILE=../build/msw/config.dmc
195 </add-flags>
3629838a
VS
196 <add-flags files="../../*/*" formats="mingw">
197 -DOPTIONS_FILE=../build/msw/config.gcc
198 </add-flags>
199 <add-flags files="../../*/*" formats="msvc">
200 -DOPTIONS_FILE=../build/msw/config.vc
201 </add-flags>
202 <add-flags files="../../*/*" formats="watcom">
203 -DOPTIONS_FILE=../build/msw/config.wat
204 </add-flags>
205 <add-flags files="../../*/*/*" formats="borland">
206 -DOPTIONS_FILE=../../build/msw/config.bcc
207 </add-flags>
d6cb2e49
VS
208 <add-flags files="../../*/*/*" formats="dmars_smake">
209 -DOPTIONS_FILE=../../build/msw/config.dms
210 </add-flags>
7d88f099
VS
211 <add-flags files="../../*/*/*" formats="dmars">
212 -DOPTIONS_FILE=../../build/msw/config.dmc
213 </add-flags>
3629838a
VS
214 <add-flags files="../../*/*/*" formats="mingw">
215 -DOPTIONS_FILE=../../build/msw/config.gcc
216 </add-flags>
217 <add-flags files="../../*/*/*" formats="msvc">
218 -DOPTIONS_FILE=../../build/msw/config.vc
219 </add-flags>
220 <add-flags files="../../*/*/*" formats="watcom">
221 -DOPTIONS_FILE=../../build/msw/config.wat
222 </add-flags>
223 <add-flags files="../../*/*/*/*" formats="borland">
224 -DOPTIONS_FILE=../../../build/msw/config.bcc
225 </add-flags>
d6cb2e49
VS
226 <add-flags files="../../*/*/*/*" formats="dmars_smake">
227 -DOPTIONS_FILE=../../../build/msw/config.dms
228 </add-flags>
7d88f099
VS
229 <add-flags files="../../*/*/*/*" formats="dmars">
230 -DOPTIONS_FILE=../../../build/msw/config.dmc
231 </add-flags>
3629838a
VS
232 <add-flags files="../../*/*/*/*" formats="mingw">
233 -DOPTIONS_FILE=../../../build/msw/config.gcc
234 </add-flags>
235 <add-flags files="../../*/*/*/*" formats="msvc">
236 -DOPTIONS_FILE=../../../build/msw/config.vc
237 </add-flags>
238 <add-flags files="../../*/*/*/*" formats="watcom">
239 -DOPTIONS_FILE=../../../build/msw/config.wat
240 </add-flags>
241 <add-flags files="../../*/*/*/*/*" formats="borland">
242 -DOPTIONS_FILE=../../../../build/msw/config.bcc
243 </add-flags>
d6cb2e49
VS
244 <add-flags files="../../*/*/*/*/*" formats="dmars_smake">
245 -DOPTIONS_FILE=../../../../build/msw/config.dms
246 </add-flags>
7d88f099
VS
247 <add-flags files="../../*/*/*/*/*" formats="dmars">
248 -DOPTIONS_FILE=../../../../build/msw/config.dmc
249 </add-flags>
3629838a
VS
250 <add-flags files="../../*/*/*/*/*" formats="mingw">
251 -DOPTIONS_FILE=../../../../build/msw/config.gcc
252 </add-flags>
253 <add-flags files="../../*/*/*/*/*" formats="msvc">
254 -DOPTIONS_FILE=../../../../build/msw/config.vc
255 </add-flags>
256 <add-flags files="../../*/*/*/*/*" formats="watcom">
257 -DOPTIONS_FILE=../../../../build/msw/config.wat
258 </add-flags>
259
260
261 <!-- Personal customizations (not in CVS): -->
0b92df79 262 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
3629838a
VS
263
264</bakefile-gen>