]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/Bakefiles.bkgen
fixes potential crash under gatekeeper
[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" ?>
bbaf9672 12 <bakefile-gen xmlns="http://www.bakefile.org/schema/bakefile-gen">
328f5196
VS
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
51be4a55 38 ../../tests/*/*.bkl
3629838a
VS
39 </input>
40
41 <!-- List of output formats to generate: -->
328f5196 42 <add-formats>
7da8bfe3 43 autoconf,borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj,watcom
328f5196 44 </add-formats>
07319f2a 45
328f5196 46 <del-formats files="../../samples/*.bkl">
7da8bfe3 47 autoconf,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj
328f5196
VS
48 </del-formats>
49 <del-formats files="../../demos/*.bkl">
7da8bfe3 50 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj
328f5196
VS
51 </del-formats>
52 <del-formats files="../../samples/html/html_samples.bkl">
7da8bfe3 53 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj
328f5196 54 </del-formats>
328f5196 55 <del-formats files="../../samples/opengl/opengl_samples.bkl">
7da8bfe3 56 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj
328f5196
VS
57 </del-formats>
58 <del-formats files="../../utils/*.bkl">
7da8bfe3 59 msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj
328f5196 60 </del-formats>
3629838a 61
eeb07a33
VS
62 <!-- WinCE can't have console apps: -->
63 <del-formats files="../../samples/console/*">msevc4prj</del-formats>
2e3d68e9 64 <del-formats files="../../samples/sockets/*">msevc4prj</del-formats>
2dea3599 65 <del-formats files="../../utils/execmon/*">msevc4prj</del-formats>
eeb07a33 66 <del-formats files="../../utils/HelpGen/src/*">msevc4prj</del-formats>
de948fb3 67 <del-formats files="../../utils/ifacecheck/src/*">msevc4prj</del-formats>
541cbfa0 68 <del-formats files="../../utils/wxrc/*">msevc4prj</del-formats>
eeb07a33 69 <del-formats files="../../tests/*">msevc4prj</del-formats>
4fa96ccb 70 <del-formats files="../../tests/benchmarks/*">msevc4prj</del-formats>
eeb07a33 71
2dea3599 72
07319f2a
WS
73 <!-- HtmlCtrl sample is Cocoa only (autoconf format) -->
74 <del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl">
7da8bfe3 75 borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj,watcom
07319f2a
WS
76 </del-formats>
77
063fcdc7
VZ
78 <!-- Some samples use MSVC-specific stuff -->
79 <del-formats files="../../samples/flash/flash.bkl,../../samples/mfc/mfc.bkl">
80 autoconf,borland,dmars_smake,dmars,mingw,msevc4prj,watcom
81 </del-formats>
07319f2a 82
3629838a 83 <!-- Default flags (for all formats and bakefiles): -->
8ce0312e 84 <add-flags>-Iformats</add-flags>
07319f2a
WS
85
86
3629838a
VS
87 <!-- Directories where the files go: -->
88 <add-flags files="wx.bkl" formats="autoconf">
89 -o../../Makefile.in
90 </add-flags>
91 <add-flags files="wx.bkl" formats="borland">
92 -o../msw/makefile.bcc
93 </add-flags>
d6cb2e49
VS
94 <add-flags files="wx.bkl" formats="dmars_smake">
95 -o../msw/makefile.dms
96 </add-flags>
e6e885fd
VS
97 <add-flags files="wx.bkl" formats="dmars">
98 -o../msw/makefile.dmc
99 </add-flags>
3629838a
VS
100 <add-flags files="wx.bkl" formats="mingw">
101 -o../msw/makefile.gcc
102 </add-flags>
103 <add-flags files="wx.bkl" formats="msvc">
104 -o../msw/makefile.vc
105 </add-flags>
106 <add-flags files="wx.bkl" formats="watcom">
107 -o../msw/makefile.wat
108 </add-flags>
109 <add-flags files="wx.bkl" formats="msvc6prj">
110 -o../msw/wx.dsw
111 </add-flags>
7a4fa569
VS
112 <add-flags files="wx.bkl" formats="msvs2003prj">
113 -o../msw/wx_vc7.sln
114 </add-flags>
e662c315
VS
115 <add-flags files="wx.bkl" formats="msvs2005prj">
116 -o../msw/wx_vc8.sln
117 </add-flags>
7da8bfe3
VZ
118 <add-flags files="wx.bkl" formats="msvs2008prj">
119 -o../msw/wx_vc9.sln
120 </add-flags>
af594eca
VS
121 <add-flags files="wx.bkl" formats="msevc4prj">
122 -o../wince/wx.vcw
123 </add-flags>
3629838a 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 133
de948fb3 134
7da8bfe3 135 <!-- Use different names for Visual C++ 200x project files: -->
51be4a55 136 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*"
7a4fa569
VS
137 formats="msvs2003prj">
138 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc7.sln
139 </add-flags>
51be4a55 140 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*"
e662c315
VS
141 formats="msvs2005prj">
142 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc8.sln
143 </add-flags>
51be4a55 144 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*"
7da8bfe3
VZ
145 formats="msvs2008prj">
146 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc9.sln
147 </add-flags>
3629838a
VS
148
149 <!-- Makefile specific settings: -->
150
d6cb2e49 151 <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
3629838a
VS
152 -DWRITE_OPTIONS_FILE=0
153 </add-flags>
22ca9ff5
VS
154 <del-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom"
155 files="wx.bkl">
3629838a
VS
156 -DWRITE_OPTIONS_FILE=0
157 </del-flags>
07319f2a 158
3629838a
VS
159 <add-flags files="wx.bkl" formats="borland">
160 -DOPTIONS_FILE=config.bcc
161 </add-flags>
d6cb2e49
VS
162 <add-flags files="wx.bkl" formats="dmars_smake">
163 -DOPTIONS_FILE=config.dms
164 </add-flags>
7d88f099
VS
165 <add-flags files="wx.bkl" formats="dmars">
166 -DOPTIONS_FILE=config.dmc
167 </add-flags>
3629838a
VS
168 <add-flags files="wx.bkl" formats="mingw">
169 -DOPTIONS_FILE=config.gcc
170 </add-flags>
171 <add-flags files="wx.bkl" formats="msvc">
172 -DOPTIONS_FILE=config.vc
173 </add-flags>
174 <add-flags files="wx.bkl" formats="watcom">
175 -DOPTIONS_FILE=config.wat
176 </add-flags>
177
178 <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags>
179 <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags>
180 <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags>
181 <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags>
07319f2a 182
3629838a
VS
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 <add-flags files="../../*/*/*/*/*" formats="borland">
238 -DOPTIONS_FILE=../../../../build/msw/config.bcc
239 </add-flags>
d6cb2e49
VS
240 <add-flags files="../../*/*/*/*/*" formats="dmars_smake">
241 -DOPTIONS_FILE=../../../../build/msw/config.dms
242 </add-flags>
7d88f099
VS
243 <add-flags files="../../*/*/*/*/*" formats="dmars">
244 -DOPTIONS_FILE=../../../../build/msw/config.dmc
245 </add-flags>
3629838a
VS
246 <add-flags files="../../*/*/*/*/*" formats="mingw">
247 -DOPTIONS_FILE=../../../../build/msw/config.gcc
248 </add-flags>
249 <add-flags files="../../*/*/*/*/*" formats="msvc">
250 -DOPTIONS_FILE=../../../../build/msw/config.vc
251 </add-flags>
252 <add-flags files="../../*/*/*/*/*" formats="watcom">
253 -DOPTIONS_FILE=../../../../build/msw/config.wat
254 </add-flags>
255
de948fb3 256
1f9e3582
VS
257 <!-- Makefiles for out-of-tree building of samples on Unix: -->
258 <add-formats files="../../samples/*/*.bkl,../../samples/*/*/*.bkl">
259 gnu
260 </add-formats>
063fcdc7
VZ
261 <del-formats files="../../samples/flash/flash.bkl,../../samples/mfc/mfc.bkl">
262 gnu
263 </del-formats>
1f9e3582
VS
264 <add-flags files="../../samples/*/*.bkl,../../samples/*/*/*.bkl"
265 formats="gnu">
266 -DOUT_OF_TREE_MAKEFILES=1 -o$(INPUT_FILE_DIR)/makefile.unx
267 </add-flags>
3629838a 268
063fcdc7 269 <!-- Personal customizations (not in VCS): -->
0b92df79 270 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
3629838a
VS
271
272</bakefile-gen>