]>
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 | |
7a4fa569 | 22 | <disable-formats>dmars,dmars_smake,msevc4prj,msvs2003prj</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> | |
66 | <del-formats files="../../utils/HelpGen/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"> | |
7a4fa569 | 72 | borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,watcom |
07319f2a WS |
73 | </del-formats> |
74 | ||
75 | ||
3629838a | 76 | <!-- Default flags (for all formats and bakefiles): --> |
8ce0312e | 77 | <add-flags>-Iformats</add-flags> |
07319f2a WS |
78 | |
79 | ||
3629838a VS |
80 | <!-- Directories where the files go: --> |
81 | <add-flags files="wx.bkl" formats="autoconf"> | |
82 | -o../../Makefile.in | |
83 | </add-flags> | |
84 | <add-flags files="wx.bkl" formats="borland"> | |
85 | -o../msw/makefile.bcc | |
86 | </add-flags> | |
d6cb2e49 VS |
87 | <add-flags files="wx.bkl" formats="dmars_smake"> |
88 | -o../msw/makefile.dms | |
89 | </add-flags> | |
e6e885fd VS |
90 | <add-flags files="wx.bkl" formats="dmars"> |
91 | -o../msw/makefile.dmc | |
92 | </add-flags> | |
3629838a VS |
93 | <add-flags files="wx.bkl" formats="mingw"> |
94 | -o../msw/makefile.gcc | |
95 | </add-flags> | |
96 | <add-flags files="wx.bkl" formats="msvc"> | |
97 | -o../msw/makefile.vc | |
98 | </add-flags> | |
99 | <add-flags files="wx.bkl" formats="watcom"> | |
100 | -o../msw/makefile.wat | |
101 | </add-flags> | |
102 | <add-flags files="wx.bkl" formats="msvc6prj"> | |
103 | -o../msw/wx.dsw | |
104 | </add-flags> | |
1ff18f49 VS |
105 | <add-flags files="wx.bkl" formats="msvs2005prj"> |
106 | -o../msw/wx.sln | |
107 | </add-flags> | |
7a4fa569 VS |
108 | <add-flags files="wx.bkl" formats="msvs2003prj"> |
109 | -o../msw/wx_vc7.sln | |
110 | </add-flags> | |
af594eca VS |
111 | <add-flags files="wx.bkl" formats="msevc4prj"> |
112 | -o../wince/wx.vcw | |
113 | </add-flags> | |
3629838a | 114 | |
07319f2a | 115 | |
3629838a VS |
116 | |
117 | <!-- Format specific settings: --> | |
118 | <add-flags formats="autoconf"> | |
119 | -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4 | |
120 | </add-flags> | |
121 | ||
d10382ab | 122 | <add-formats files="wx.bkl">rpmspec</add-formats> |
3629838a | 123 | |
7a4fa569 VS |
124 | |
125 | <!-- Use different names for Visual C++ 2003 project files: --> | |
126 | <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*" | |
127 | formats="msvs2003prj"> | |
128 | -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc7.sln | |
129 | </add-flags> | |
3629838a VS |
130 | |
131 | <!-- Makefile specific settings: --> | |
132 | ||
d6cb2e49 | 133 | <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom"> |
3629838a VS |
134 | -DWRITE_OPTIONS_FILE=0 |
135 | </add-flags> | |
22ca9ff5 VS |
136 | <del-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom" |
137 | files="wx.bkl"> | |
3629838a VS |
138 | -DWRITE_OPTIONS_FILE=0 |
139 | </del-flags> | |
07319f2a | 140 | |
3629838a VS |
141 | <add-flags files="wx.bkl" formats="borland"> |
142 | -DOPTIONS_FILE=config.bcc | |
143 | </add-flags> | |
d6cb2e49 VS |
144 | <add-flags files="wx.bkl" formats="dmars_smake"> |
145 | -DOPTIONS_FILE=config.dms | |
146 | </add-flags> | |
7d88f099 VS |
147 | <add-flags files="wx.bkl" formats="dmars"> |
148 | -DOPTIONS_FILE=config.dmc | |
149 | </add-flags> | |
3629838a VS |
150 | <add-flags files="wx.bkl" formats="mingw"> |
151 | -DOPTIONS_FILE=config.gcc | |
152 | </add-flags> | |
153 | <add-flags files="wx.bkl" formats="msvc"> | |
154 | -DOPTIONS_FILE=config.vc | |
155 | </add-flags> | |
156 | <add-flags files="wx.bkl" formats="watcom"> | |
157 | -DOPTIONS_FILE=config.wat | |
158 | </add-flags> | |
159 | ||
160 | <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags> | |
161 | <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags> | |
162 | <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags> | |
163 | <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags> | |
07319f2a | 164 | |
3629838a VS |
165 | <add-flags files="../../*/*" formats="borland"> |
166 | -DOPTIONS_FILE=../build/msw/config.bcc | |
167 | </add-flags> | |
d6cb2e49 VS |
168 | <add-flags files="../../*/*" formats="dmars_smake"> |
169 | -DOPTIONS_FILE=../build/msw/config.dms | |
170 | </add-flags> | |
7d88f099 VS |
171 | <add-flags files="../../*/*" formats="dmars"> |
172 | -DOPTIONS_FILE=../build/msw/config.dmc | |
173 | </add-flags> | |
3629838a VS |
174 | <add-flags files="../../*/*" formats="mingw"> |
175 | -DOPTIONS_FILE=../build/msw/config.gcc | |
176 | </add-flags> | |
177 | <add-flags files="../../*/*" formats="msvc"> | |
178 | -DOPTIONS_FILE=../build/msw/config.vc | |
179 | </add-flags> | |
180 | <add-flags files="../../*/*" formats="watcom"> | |
181 | -DOPTIONS_FILE=../build/msw/config.wat | |
182 | </add-flags> | |
183 | <add-flags files="../../*/*/*" formats="borland"> | |
184 | -DOPTIONS_FILE=../../build/msw/config.bcc | |
185 | </add-flags> | |
d6cb2e49 VS |
186 | <add-flags files="../../*/*/*" formats="dmars_smake"> |
187 | -DOPTIONS_FILE=../../build/msw/config.dms | |
188 | </add-flags> | |
7d88f099 VS |
189 | <add-flags files="../../*/*/*" formats="dmars"> |
190 | -DOPTIONS_FILE=../../build/msw/config.dmc | |
191 | </add-flags> | |
3629838a VS |
192 | <add-flags files="../../*/*/*" formats="mingw"> |
193 | -DOPTIONS_FILE=../../build/msw/config.gcc | |
194 | </add-flags> | |
195 | <add-flags files="../../*/*/*" formats="msvc"> | |
196 | -DOPTIONS_FILE=../../build/msw/config.vc | |
197 | </add-flags> | |
198 | <add-flags files="../../*/*/*" formats="watcom"> | |
199 | -DOPTIONS_FILE=../../build/msw/config.wat | |
200 | </add-flags> | |
201 | <add-flags files="../../*/*/*/*" formats="borland"> | |
202 | -DOPTIONS_FILE=../../../build/msw/config.bcc | |
203 | </add-flags> | |
d6cb2e49 VS |
204 | <add-flags files="../../*/*/*/*" formats="dmars_smake"> |
205 | -DOPTIONS_FILE=../../../build/msw/config.dms | |
206 | </add-flags> | |
7d88f099 VS |
207 | <add-flags files="../../*/*/*/*" formats="dmars"> |
208 | -DOPTIONS_FILE=../../../build/msw/config.dmc | |
209 | </add-flags> | |
3629838a VS |
210 | <add-flags files="../../*/*/*/*" formats="mingw"> |
211 | -DOPTIONS_FILE=../../../build/msw/config.gcc | |
212 | </add-flags> | |
213 | <add-flags files="../../*/*/*/*" formats="msvc"> | |
214 | -DOPTIONS_FILE=../../../build/msw/config.vc | |
215 | </add-flags> | |
216 | <add-flags files="../../*/*/*/*" formats="watcom"> | |
217 | -DOPTIONS_FILE=../../../build/msw/config.wat | |
218 | </add-flags> | |
219 | <add-flags files="../../*/*/*/*/*" formats="borland"> | |
220 | -DOPTIONS_FILE=../../../../build/msw/config.bcc | |
221 | </add-flags> | |
d6cb2e49 VS |
222 | <add-flags files="../../*/*/*/*/*" formats="dmars_smake"> |
223 | -DOPTIONS_FILE=../../../../build/msw/config.dms | |
224 | </add-flags> | |
7d88f099 VS |
225 | <add-flags files="../../*/*/*/*/*" formats="dmars"> |
226 | -DOPTIONS_FILE=../../../../build/msw/config.dmc | |
227 | </add-flags> | |
3629838a VS |
228 | <add-flags files="../../*/*/*/*/*" formats="mingw"> |
229 | -DOPTIONS_FILE=../../../../build/msw/config.gcc | |
230 | </add-flags> | |
231 | <add-flags files="../../*/*/*/*/*" formats="msvc"> | |
232 | -DOPTIONS_FILE=../../../../build/msw/config.vc | |
233 | </add-flags> | |
234 | <add-flags files="../../*/*/*/*/*" formats="watcom"> | |
235 | -DOPTIONS_FILE=../../../../build/msw/config.wat | |
236 | </add-flags> | |
237 | ||
1f9e3582 VS |
238 | |
239 | <!-- Makefiles for out-of-tree building of samples on Unix: --> | |
240 | <add-formats files="../../samples/*/*.bkl,../../samples/*/*/*.bkl"> | |
241 | gnu | |
242 | </add-formats> | |
243 | <add-flags files="../../samples/*/*.bkl,../../samples/*/*/*.bkl" | |
244 | formats="gnu"> | |
245 | -DOUT_OF_TREE_MAKEFILES=1 -o$(INPUT_FILE_DIR)/makefile.unx | |
246 | </add-flags> | |
3629838a VS |
247 | |
248 | <!-- Personal customizations (not in CVS): --> | |
0b92df79 | 249 | <include file="Bakefiles.local.bkgen" ignore_missing="1"/> |
3629838a VS |
250 | |
251 | </bakefile-gen> |