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