]>
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): | |
17 | ||
18 | dmars - In beta testing, will be added when it stabilizes. | |
af594eca | 19 | msevc4prj - ditto |
328f5196 VS |
20 | cbuilderx - Generated projects are too bad to be included in CVS. Please |
21 | *do not* enable this format until FIXMEs in .bkl files related | |
22 | to cbuilderx are addressed. In particular, the project must | |
23 | be placed into build/msw(?) directory and store object files | |
24 | in its subdirectory and it must copy setup.h as others do. | |
25 | cbx_unix - Doesn't intergrate well and won't be used by most Unix people. | |
26 | --> | |
27 | ||
af594eca | 28 | <disable-formats>dmars,cbx_unix,cbuilderx,msevc4prj</disable-formats> |
328f5196 VS |
29 | |
30 | ||
3629838a VS |
31 | <!-- These wildcards match all .bkl files in wxWindows tree: --> |
32 | <input> | |
33 | wx.bkl | |
34 | ../../contrib/build/*/*.bkl | |
35 | ../../samples/*.bkl | |
36 | ../../samples/*/*.bkl | |
37 | ../../samples/*/*/*.bkl | |
38 | ../../demos/*.bkl | |
39 | ../../demos/*/*.bkl | |
40 | ../../demos/*/*/*.bkl | |
41 | ../../utils/*.bkl | |
42 | ../../utils/*/*.bkl | |
43 | ../../utils/*/*/*.bkl | |
44 | ../../contrib/samples/*.bkl | |
45 | ../../contrib/samples/*/*.bkl | |
46 | ../../contrib/samples/*/*/*.bkl | |
39d85e3c | 47 | ../../contrib/utils/*/*.bkl |
670ec357 | 48 | ../../tests/*.bkl |
3629838a VS |
49 | </input> |
50 | ||
51 | <!-- List of output formats to generate: --> | |
328f5196 | 52 | <add-formats> |
af594eca | 53 | autoconf,borland,dmars,mingw,msvc,msvc6prj,msevc4prj,watcom,cbuilderx,cbx_unix |
328f5196 | 54 | </add-formats> |
3629838a | 55 | |
328f5196 | 56 | <del-formats files="../../samples/*.bkl"> |
af594eca | 57 | autoconf,msvc6prj,msevc4prj,cbuilderx,cbx_unix |
328f5196 VS |
58 | </del-formats> |
59 | <del-formats files="../../demos/*.bkl"> | |
af594eca | 60 | msvc6prj,msevc4prj,cbuilderx,cbx_unix |
328f5196 VS |
61 | </del-formats> |
62 | <del-formats files="../../samples/html/html_samples.bkl"> | |
af594eca | 63 | msvc6prj,msevc4prj,cbuilderx,cbx_unix |
328f5196 VS |
64 | </del-formats> |
65 | <del-formats files="../../samples/mobile/mobile_samples.bkl"> | |
af594eca | 66 | msvc6prj,msevc4prj,cbuilderx,cbx_unix |
328f5196 VS |
67 | </del-formats> |
68 | <del-formats files="../../samples/opengl/opengl_samples.bkl"> | |
af594eca | 69 | msvc6prj,msevc4prj,cbuilderx,cbx_unix |
328f5196 VS |
70 | </del-formats> |
71 | <del-formats files="../../utils/*.bkl"> | |
af594eca | 72 | msvc6prj,msevc4prj,cbuilderx,cbx_unix |
328f5196 | 73 | </del-formats> |
3629838a | 74 | |
eeb07a33 VS |
75 | <!-- WinCE can't have console apps: --> |
76 | <del-formats files="../../samples/console/*">msevc4prj</del-formats> | |
77 | <del-formats files="../../utils/HelpGen/src/*">msevc4prj</del-formats> | |
78 | <del-formats files="../../contrib/utils/wxrc/*">msevc4prj</del-formats> | |
79 | <del-formats files="../../tests/*">msevc4prj</del-formats> | |
80 | ||
3629838a VS |
81 | |
82 | <!-- Default flags (for all formats and bakefiles): --> | |
8ce0312e | 83 | <add-flags>-Iformats</add-flags> |
3629838a VS |
84 | |
85 | ||
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> | |
e6e885fd VS |
93 | <add-flags files="wx.bkl" formats="dmars"> |
94 | -o../msw/makefile.dmc | |
95 | </add-flags> | |
3629838a VS |
96 | <add-flags files="wx.bkl" formats="mingw"> |
97 | -o../msw/makefile.gcc | |
98 | </add-flags> | |
99 | <add-flags files="wx.bkl" formats="msvc"> | |
100 | -o../msw/makefile.vc | |
101 | </add-flags> | |
102 | <add-flags files="wx.bkl" formats="watcom"> | |
103 | -o../msw/makefile.wat | |
104 | </add-flags> | |
105 | <add-flags files="wx.bkl" formats="msvc6prj"> | |
106 | -o../msw/wx.dsw | |
107 | </add-flags> | |
af594eca VS |
108 | <add-flags files="wx.bkl" formats="msevc4prj"> |
109 | -o../wince/wx.vcw | |
110 | </add-flags> | |
328f5196 VS |
111 | <add-flags files="wx.bkl" formats="cbuilderx"> |
112 | -o../../wx.cbx | |
113 | </add-flags> | |
3629838a VS |
114 | <add-flags files="../../contrib/build/*/*.bkl" formats="autoconf"> |
115 | -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/Makefile.in | |
116 | </add-flags> | |
328f5196 VS |
117 | <add-flags files="../../contrib/build/*/*.bkl" formats="cbx_unix"> |
118 | -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT)Unix.cbx | |
119 | </add-flags> | |
120 | <!-- FIXME: don't do this once it is possible (new CBX version) --> | |
121 | <add-flags files="../../contrib/build/*/*.bkl" formats="cbuilderx"> | |
122 | -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT).cbx | |
123 | </add-flags> | |
3629838a | 124 | <add-flags files="../../contrib/build/*/*.bkl" |
af594eca | 125 | formats="mingw,borland,dmars,watcom,msvc,msvc6prj,msevc4prj"> |
3629838a VS |
126 | -DSRCDIR=../../src/$(INPUT_FILE_BASENAME_NOEXT) |
127 | </add-flags> | |
128 | ||
129 | ||
130 | ||
131 | <!-- Format specific settings: --> | |
132 | <add-flags formats="autoconf"> | |
133 | -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4 | |
134 | </add-flags> | |
135 | ||
136 | <add-formats files="wx.bkl">wx24dsp</add-formats> | |
137 | <add-flags formats="wx24dsp"> | |
138 | -DUSE_GUI=1 -DWXUNIV=0 -o../../src/wxWindows.dsp | |
139 | </add-flags> | |
d10382ab VS |
140 | |
141 | <add-formats files="wx.bkl">rpmspec</add-formats> | |
3629838a VS |
142 | |
143 | ||
144 | <!-- Makefile specific settings: --> | |
145 | ||
e6e885fd | 146 | <add-flags formats="borland,dmars,mingw,msvc,watcom"> |
3629838a VS |
147 | -DWRITE_OPTIONS_FILE=0 |
148 | </add-flags> | |
149 | <del-flags files="wx.bkl"> | |
150 | -DWRITE_OPTIONS_FILE=0 | |
151 | </del-flags> | |
152 | ||
153 | <add-flags files="wx.bkl" formats="borland"> | |
154 | -DOPTIONS_FILE=config.bcc | |
155 | </add-flags> | |
7d88f099 VS |
156 | <add-flags files="wx.bkl" formats="dmars"> |
157 | -DOPTIONS_FILE=config.dmc | |
158 | </add-flags> | |
3629838a VS |
159 | <add-flags files="wx.bkl" formats="mingw"> |
160 | -DOPTIONS_FILE=config.gcc | |
161 | </add-flags> | |
162 | <add-flags files="wx.bkl" formats="msvc"> | |
163 | -DOPTIONS_FILE=config.vc | |
164 | </add-flags> | |
165 | <add-flags files="wx.bkl" formats="watcom"> | |
166 | -DOPTIONS_FILE=config.wat | |
167 | </add-flags> | |
168 | ||
169 | <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags> | |
170 | <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags> | |
171 | <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags> | |
172 | <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags> | |
173 | ||
174 | <add-flags files="../../*/*" formats="borland"> | |
175 | -DOPTIONS_FILE=../build/msw/config.bcc | |
176 | </add-flags> | |
7d88f099 VS |
177 | <add-flags files="../../*/*" formats="dmars"> |
178 | -DOPTIONS_FILE=../build/msw/config.dmc | |
179 | </add-flags> | |
3629838a VS |
180 | <add-flags files="../../*/*" formats="mingw"> |
181 | -DOPTIONS_FILE=../build/msw/config.gcc | |
182 | </add-flags> | |
183 | <add-flags files="../../*/*" formats="msvc"> | |
184 | -DOPTIONS_FILE=../build/msw/config.vc | |
185 | </add-flags> | |
186 | <add-flags files="../../*/*" formats="watcom"> | |
187 | -DOPTIONS_FILE=../build/msw/config.wat | |
188 | </add-flags> | |
189 | <add-flags files="../../*/*/*" formats="borland"> | |
190 | -DOPTIONS_FILE=../../build/msw/config.bcc | |
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> | |
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> | |
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 | ||
235 | ||
236 | <!-- Personal customizations (not in CVS): --> | |
0b92df79 | 237 | <include file="Bakefiles.local.bkgen" ignore_missing="1"/> |
3629838a VS |
238 | |
239 | </bakefile-gen> |