]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/Bakefiles.bkgen
adapted Julian's new speed improved version
[wxWidgets.git] / build / bakefiles / Bakefiles.bkgen
CommitLineData
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
2275c732 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
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>
2e3d68e9 66 <del-formats files="../../samples/sockets/*">msevc4prj</del-formats>
eeb07a33 67 <del-formats files="../../utils/HelpGen/src/*">msevc4prj</del-formats>
de948fb3 68 <del-formats files="../../utils/ifacecheck/src/*">msevc4prj</del-formats>
541cbfa0 69 <del-formats files="../../utils/wxrc/*">msevc4prj</del-formats>
eeb07a33
VS
70 <del-formats files="../../tests/*">msevc4prj</del-formats>
71
07319f2a
WS
72 <!-- HtmlCtrl sample is Cocoa only (autoconf format) -->
73 <del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl">
7a4fa569 74 borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,watcom
07319f2a
WS
75 </del-formats>
76
77
3629838a 78 <!-- Default flags (for all formats and bakefiles): -->
8ce0312e 79 <add-flags>-Iformats</add-flags>
07319f2a
WS
80
81
3629838a
VS
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>
d6cb2e49
VS
89 <add-flags files="wx.bkl" formats="dmars_smake">
90 -o../msw/makefile.dms
91 </add-flags>
e6e885fd
VS
92 <add-flags files="wx.bkl" formats="dmars">
93 -o../msw/makefile.dmc
94 </add-flags>
3629838a
VS
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>
7a4fa569
VS
107 <add-flags files="wx.bkl" formats="msvs2003prj">
108 -o../msw/wx_vc7.sln
109 </add-flags>
e662c315
VS
110 <add-flags files="wx.bkl" formats="msvs2005prj">
111 -o../msw/wx_vc8.sln
112 </add-flags>
af594eca
VS
113 <add-flags files="wx.bkl" formats="msevc4prj">
114 -o../wince/wx.vcw
115 </add-flags>
3629838a 116
07319f2a 117
3629838a
VS
118
119 <!-- Format specific settings: -->
120 <add-flags formats="autoconf">
121 -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
122 </add-flags>
123
d10382ab 124 <add-formats files="wx.bkl">rpmspec</add-formats>
3629838a 125
de948fb3 126
7a4fa569
VS
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>
de948fb3 132
e662c315
VS
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>
3629838a
VS
138
139 <!-- Makefile specific settings: -->
140
d6cb2e49 141 <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
3629838a
VS
142 -DWRITE_OPTIONS_FILE=0
143 </add-flags>
22ca9ff5
VS
144 <del-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom"
145 files="wx.bkl">
3629838a
VS
146 -DWRITE_OPTIONS_FILE=0
147 </del-flags>
07319f2a 148
3629838a
VS
149 <add-flags files="wx.bkl" formats="borland">
150 -DOPTIONS_FILE=config.bcc
151 </add-flags>
d6cb2e49
VS
152 <add-flags files="wx.bkl" formats="dmars_smake">
153 -DOPTIONS_FILE=config.dms
154 </add-flags>
7d88f099
VS
155 <add-flags files="wx.bkl" formats="dmars">
156 -DOPTIONS_FILE=config.dmc
157 </add-flags>
3629838a
VS
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>
07319f2a 172
3629838a
VS
173 <add-flags files="../../*/*" formats="borland">
174 -DOPTIONS_FILE=../build/msw/config.bcc
175 </add-flags>
d6cb2e49
VS
176 <add-flags files="../../*/*" formats="dmars_smake">
177 -DOPTIONS_FILE=../build/msw/config.dms
178 </add-flags>
7d88f099
VS
179 <add-flags files="../../*/*" formats="dmars">
180 -DOPTIONS_FILE=../build/msw/config.dmc
181 </add-flags>
3629838a
VS
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>
d6cb2e49
VS
194 <add-flags files="../../*/*/*" formats="dmars_smake">
195 -DOPTIONS_FILE=../../build/msw/config.dms
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>
d6cb2e49
VS
212 <add-flags files="../../*/*/*/*" formats="dmars_smake">
213 -DOPTIONS_FILE=../../../build/msw/config.dms
214 </add-flags>
7d88f099
VS
215 <add-flags files="../../*/*/*/*" formats="dmars">
216 -DOPTIONS_FILE=../../../build/msw/config.dmc
217 </add-flags>
3629838a
VS
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>
d6cb2e49
VS
230 <add-flags files="../../*/*/*/*/*" formats="dmars_smake">
231 -DOPTIONS_FILE=../../../../build/msw/config.dms
232 </add-flags>
7d88f099
VS
233 <add-flags files="../../*/*/*/*/*" formats="dmars">
234 -DOPTIONS_FILE=../../../../build/msw/config.dmc
235 </add-flags>
3629838a
VS
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
de948fb3 246
1f9e3582
VS
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>
3629838a
VS
255
256 <!-- Personal customizations (not in CVS): -->
0b92df79 257 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
3629838a
VS
258
259</bakefile-gen>