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