]>
Commit | Line | Data |
---|---|---|
3629838a VS |
1 | <?xml version="1.0" ?> |
2 | <!-- $Id$ --> | |
3 | ||
188ae864 | 4 | <bakefile-gen xmlns="http://www.bakefile.org/schema/bakefile-gen"> |
3629838a | 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 | |
da001833 KO |
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. | |
328f5196 | 20 | --> |
07319f2a | 21 | |
2275c732 | 22 | <disable-formats>dmars,dmars_smake,msevc4prj</disable-formats> |
07319f2a | 23 | |
328f5196 | 24 | |
77ffb593 | 25 | <!-- These wildcards match all .bkl files in wxWidgets tree: --> |
3629838a VS |
26 | <input> |
27 | wx.bkl | |
3629838a VS |
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 | |
670ec357 | 37 | ../../tests/*.bkl |
51be4a55 | 38 | ../../tests/*/*.bkl |
3629838a VS |
39 | </input> |
40 | ||
41 | <!-- List of output formats to generate: --> | |
328f5196 | 42 | <add-formats> |
7da8bfe3 | 43 | autoconf,borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj,watcom |
328f5196 | 44 | </add-formats> |
07319f2a | 45 | |
328f5196 | 46 | <del-formats files="../../samples/*.bkl"> |
7da8bfe3 | 47 | autoconf,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj |
328f5196 VS |
48 | </del-formats> |
49 | <del-formats files="../../demos/*.bkl"> | |
7da8bfe3 | 50 | msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj |
328f5196 VS |
51 | </del-formats> |
52 | <del-formats files="../../samples/html/html_samples.bkl"> | |
7da8bfe3 | 53 | msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj |
328f5196 | 54 | </del-formats> |
328f5196 | 55 | <del-formats files="../../samples/opengl/opengl_samples.bkl"> |
7da8bfe3 | 56 | msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj |
328f5196 VS |
57 | </del-formats> |
58 | <del-formats files="../../utils/*.bkl"> | |
7da8bfe3 | 59 | msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj |
328f5196 | 60 | </del-formats> |
3629838a | 61 | |
eeb07a33 VS |
62 | <!-- WinCE can't have console apps: --> |
63 | <del-formats files="../../samples/console/*">msevc4prj</del-formats> | |
2e3d68e9 | 64 | <del-formats files="../../samples/sockets/*">msevc4prj</del-formats> |
eeb07a33 | 65 | <del-formats files="../../utils/HelpGen/src/*">msevc4prj</del-formats> |
de948fb3 | 66 | <del-formats files="../../utils/ifacecheck/src/*">msevc4prj</del-formats> |
541cbfa0 | 67 | <del-formats files="../../utils/wxrc/*">msevc4prj</del-formats> |
eeb07a33 VS |
68 | <del-formats files="../../tests/*">msevc4prj</del-formats> |
69 | ||
07319f2a WS |
70 | <!-- HtmlCtrl sample is Cocoa only (autoconf format) --> |
71 | <del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl"> | |
7da8bfe3 | 72 | borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj,watcom |
07319f2a WS |
73 | </del-formats> |
74 | ||
063fcdc7 VZ |
75 | <!-- Some samples use MSVC-specific stuff --> |
76 | <del-formats files="../../samples/flash/flash.bkl,../../samples/mfc/mfc.bkl"> | |
77 | autoconf,borland,dmars_smake,dmars,mingw,msevc4prj,watcom | |
78 | </del-formats> | |
07319f2a | 79 | |
3629838a | 80 | <!-- Default flags (for all formats and bakefiles): --> |
8ce0312e | 81 | <add-flags>-Iformats</add-flags> |
07319f2a WS |
82 | |
83 | ||
3629838a VS |
84 | <!-- Directories where the files go: --> |
85 | <add-flags files="wx.bkl" formats="autoconf"> | |
86 | -o../../Makefile.in | |
87 | </add-flags> | |
88 | <add-flags files="wx.bkl" formats="borland"> | |
89 | -o../msw/makefile.bcc | |
90 | </add-flags> | |
d6cb2e49 VS |
91 | <add-flags files="wx.bkl" formats="dmars_smake"> |
92 | -o../msw/makefile.dms | |
93 | </add-flags> | |
e6e885fd VS |
94 | <add-flags files="wx.bkl" formats="dmars"> |
95 | -o../msw/makefile.dmc | |
96 | </add-flags> | |
3629838a VS |
97 | <add-flags files="wx.bkl" formats="mingw"> |
98 | -o../msw/makefile.gcc | |
99 | </add-flags> | |
100 | <add-flags files="wx.bkl" formats="msvc"> | |
101 | -o../msw/makefile.vc | |
102 | </add-flags> | |
103 | <add-flags files="wx.bkl" formats="watcom"> | |
104 | -o../msw/makefile.wat | |
105 | </add-flags> | |
106 | <add-flags files="wx.bkl" formats="msvc6prj"> | |
107 | -o../msw/wx.dsw | |
108 | </add-flags> | |
7a4fa569 VS |
109 | <add-flags files="wx.bkl" formats="msvs2003prj"> |
110 | -o../msw/wx_vc7.sln | |
111 | </add-flags> | |
e662c315 VS |
112 | <add-flags files="wx.bkl" formats="msvs2005prj"> |
113 | -o../msw/wx_vc8.sln | |
114 | </add-flags> | |
7da8bfe3 VZ |
115 | <add-flags files="wx.bkl" formats="msvs2008prj"> |
116 | -o../msw/wx_vc9.sln | |
117 | </add-flags> | |
af594eca VS |
118 | <add-flags files="wx.bkl" formats="msevc4prj"> |
119 | -o../wince/wx.vcw | |
120 | </add-flags> | |
3629838a | 121 | |
07319f2a | 122 | |
3629838a VS |
123 | |
124 | <!-- Format specific settings: --> | |
125 | <add-flags formats="autoconf"> | |
126 | -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4 | |
127 | </add-flags> | |
128 | ||
d10382ab | 129 | <add-formats files="wx.bkl">rpmspec</add-formats> |
3629838a | 130 | |
de948fb3 | 131 | |
7da8bfe3 | 132 | <!-- Use different names for Visual C++ 200x project files: --> |
51be4a55 | 133 | <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*" |
7a4fa569 VS |
134 | formats="msvs2003prj"> |
135 | -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc7.sln | |
136 | </add-flags> | |
51be4a55 | 137 | <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*" |
e662c315 VS |
138 | formats="msvs2005prj"> |
139 | -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc8.sln | |
140 | </add-flags> | |
51be4a55 | 141 | <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*" |
7da8bfe3 VZ |
142 | formats="msvs2008prj"> |
143 | -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc9.sln | |
144 | </add-flags> | |
3629838a VS |
145 | |
146 | <!-- Makefile specific settings: --> | |
147 | ||
d6cb2e49 | 148 | <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom"> |
3629838a VS |
149 | -DWRITE_OPTIONS_FILE=0 |
150 | </add-flags> | |
22ca9ff5 VS |
151 | <del-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom" |
152 | files="wx.bkl"> | |
3629838a VS |
153 | -DWRITE_OPTIONS_FILE=0 |
154 | </del-flags> | |
07319f2a | 155 | |
3629838a VS |
156 | <add-flags files="wx.bkl" formats="borland"> |
157 | -DOPTIONS_FILE=config.bcc | |
158 | </add-flags> | |
d6cb2e49 VS |
159 | <add-flags files="wx.bkl" formats="dmars_smake"> |
160 | -DOPTIONS_FILE=config.dms | |
161 | </add-flags> | |
7d88f099 VS |
162 | <add-flags files="wx.bkl" formats="dmars"> |
163 | -DOPTIONS_FILE=config.dmc | |
164 | </add-flags> | |
3629838a VS |
165 | <add-flags files="wx.bkl" formats="mingw"> |
166 | -DOPTIONS_FILE=config.gcc | |
167 | </add-flags> | |
168 | <add-flags files="wx.bkl" formats="msvc"> | |
169 | -DOPTIONS_FILE=config.vc | |
170 | </add-flags> | |
171 | <add-flags files="wx.bkl" formats="watcom"> | |
172 | -DOPTIONS_FILE=config.wat | |
173 | </add-flags> | |
174 | ||
175 | <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags> | |
176 | <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags> | |
177 | <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags> | |
178 | <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags> | |
07319f2a | 179 | |
3629838a VS |
180 | <add-flags files="../../*/*" formats="borland"> |
181 | -DOPTIONS_FILE=../build/msw/config.bcc | |
182 | </add-flags> | |
d6cb2e49 VS |
183 | <add-flags files="../../*/*" formats="dmars_smake"> |
184 | -DOPTIONS_FILE=../build/msw/config.dms | |
185 | </add-flags> | |
7d88f099 VS |
186 | <add-flags files="../../*/*" formats="dmars"> |
187 | -DOPTIONS_FILE=../build/msw/config.dmc | |
188 | </add-flags> | |
3629838a VS |
189 | <add-flags files="../../*/*" formats="mingw"> |
190 | -DOPTIONS_FILE=../build/msw/config.gcc | |
191 | </add-flags> | |
192 | <add-flags files="../../*/*" formats="msvc"> | |
193 | -DOPTIONS_FILE=../build/msw/config.vc | |
194 | </add-flags> | |
195 | <add-flags files="../../*/*" formats="watcom"> | |
196 | -DOPTIONS_FILE=../build/msw/config.wat | |
197 | </add-flags> | |
198 | <add-flags files="../../*/*/*" formats="borland"> | |
199 | -DOPTIONS_FILE=../../build/msw/config.bcc | |
200 | </add-flags> | |
d6cb2e49 VS |
201 | <add-flags files="../../*/*/*" formats="dmars_smake"> |
202 | -DOPTIONS_FILE=../../build/msw/config.dms | |
203 | </add-flags> | |
7d88f099 VS |
204 | <add-flags files="../../*/*/*" formats="dmars"> |
205 | -DOPTIONS_FILE=../../build/msw/config.dmc | |
206 | </add-flags> | |
3629838a VS |
207 | <add-flags files="../../*/*/*" formats="mingw"> |
208 | -DOPTIONS_FILE=../../build/msw/config.gcc | |
209 | </add-flags> | |
210 | <add-flags files="../../*/*/*" formats="msvc"> | |
211 | -DOPTIONS_FILE=../../build/msw/config.vc | |
212 | </add-flags> | |
213 | <add-flags files="../../*/*/*" formats="watcom"> | |
214 | -DOPTIONS_FILE=../../build/msw/config.wat | |
215 | </add-flags> | |
216 | <add-flags files="../../*/*/*/*" formats="borland"> | |
217 | -DOPTIONS_FILE=../../../build/msw/config.bcc | |
218 | </add-flags> | |
d6cb2e49 VS |
219 | <add-flags files="../../*/*/*/*" formats="dmars_smake"> |
220 | -DOPTIONS_FILE=../../../build/msw/config.dms | |
221 | </add-flags> | |
7d88f099 VS |
222 | <add-flags files="../../*/*/*/*" formats="dmars"> |
223 | -DOPTIONS_FILE=../../../build/msw/config.dmc | |
224 | </add-flags> | |
3629838a VS |
225 | <add-flags files="../../*/*/*/*" formats="mingw"> |
226 | -DOPTIONS_FILE=../../../build/msw/config.gcc | |
227 | </add-flags> | |
228 | <add-flags files="../../*/*/*/*" formats="msvc"> | |
229 | -DOPTIONS_FILE=../../../build/msw/config.vc | |
230 | </add-flags> | |
231 | <add-flags files="../../*/*/*/*" formats="watcom"> | |
232 | -DOPTIONS_FILE=../../../build/msw/config.wat | |
233 | </add-flags> | |
234 | <add-flags files="../../*/*/*/*/*" formats="borland"> | |
235 | -DOPTIONS_FILE=../../../../build/msw/config.bcc | |
236 | </add-flags> | |
d6cb2e49 VS |
237 | <add-flags files="../../*/*/*/*/*" formats="dmars_smake"> |
238 | -DOPTIONS_FILE=../../../../build/msw/config.dms | |
239 | </add-flags> | |
7d88f099 VS |
240 | <add-flags files="../../*/*/*/*/*" formats="dmars"> |
241 | -DOPTIONS_FILE=../../../../build/msw/config.dmc | |
242 | </add-flags> | |
3629838a VS |
243 | <add-flags files="../../*/*/*/*/*" formats="mingw"> |
244 | -DOPTIONS_FILE=../../../../build/msw/config.gcc | |
245 | </add-flags> | |
246 | <add-flags files="../../*/*/*/*/*" formats="msvc"> | |
247 | -DOPTIONS_FILE=../../../../build/msw/config.vc | |
248 | </add-flags> | |
249 | <add-flags files="../../*/*/*/*/*" formats="watcom"> | |
250 | -DOPTIONS_FILE=../../../../build/msw/config.wat | |
251 | </add-flags> | |
252 | ||
de948fb3 | 253 | |
1f9e3582 VS |
254 | <!-- Makefiles for out-of-tree building of samples on Unix: --> |
255 | <add-formats files="../../samples/*/*.bkl,../../samples/*/*/*.bkl"> | |
256 | gnu | |
257 | </add-formats> | |
063fcdc7 VZ |
258 | <del-formats files="../../samples/flash/flash.bkl,../../samples/mfc/mfc.bkl"> |
259 | gnu | |
260 | </del-formats> | |
1f9e3582 VS |
261 | <add-flags files="../../samples/*/*.bkl,../../samples/*/*/*.bkl" |
262 | formats="gnu"> | |
263 | -DOUT_OF_TREE_MAKEFILES=1 -o$(INPUT_FILE_DIR)/makefile.unx | |
264 | </add-flags> | |
3629838a | 265 | |
063fcdc7 | 266 | <!-- Personal customizations (not in VCS): --> |
0b92df79 | 267 | <include file="Bakefiles.local.bkgen" ignore_missing="1"/> |
3629838a VS |
268 | |
269 | </bakefile-gen> |