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