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