]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/Bakefiles.bkgen
Refactor DND code into Carbon and Cocoa parts, and provide a basic OS X Cocoa impleme...
[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
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>
eeb07a33 65 <del-formats files="../../utils/HelpGen/src/*">msevc4prj</del-formats>
de948fb3 66 <del-formats files="../../utils/ifacecheck/src/*">msevc4prj</del-formats>
541cbfa0 67 <del-formats files="../../utils/wxrc/*">msevc4prj</del-formats>
eeb07a33 68 <del-formats files="../../tests/*">msevc4prj</del-formats>
4fa96ccb 69 <del-formats files="../../tests/benchmarks/*">msevc4prj</del-formats>
eeb07a33 70
07319f2a
WS
71 <!-- HtmlCtrl sample is Cocoa only (autoconf format) -->
72 <del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl">
7da8bfe3 73 borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2003prj,msvs2005prj,msvs2008prj,watcom
07319f2a
WS
74 </del-formats>
75
063fcdc7
VZ
76 <!-- Some samples use MSVC-specific stuff -->
77 <del-formats files="../../samples/flash/flash.bkl,../../samples/mfc/mfc.bkl">
78 autoconf,borland,dmars_smake,dmars,mingw,msevc4prj,watcom
79 </del-formats>
07319f2a 80
3629838a 81 <!-- Default flags (for all formats and bakefiles): -->
8ce0312e 82 <add-flags>-Iformats</add-flags>
07319f2a
WS
83
84
3629838a
VS
85 <!-- Directories where the files go: -->
86 <add-flags files="wx.bkl" formats="autoconf">
87 -o../../Makefile.in
88 </add-flags>
89 <add-flags files="wx.bkl" formats="borland">
90 -o../msw/makefile.bcc
91 </add-flags>
d6cb2e49
VS
92 <add-flags files="wx.bkl" formats="dmars_smake">
93 -o../msw/makefile.dms
94 </add-flags>
e6e885fd
VS
95 <add-flags files="wx.bkl" formats="dmars">
96 -o../msw/makefile.dmc
97 </add-flags>
3629838a
VS
98 <add-flags files="wx.bkl" formats="mingw">
99 -o../msw/makefile.gcc
100 </add-flags>
101 <add-flags files="wx.bkl" formats="msvc">
102 -o../msw/makefile.vc
103 </add-flags>
104 <add-flags files="wx.bkl" formats="watcom">
105 -o../msw/makefile.wat
106 </add-flags>
107 <add-flags files="wx.bkl" formats="msvc6prj">
108 -o../msw/wx.dsw
109 </add-flags>
7a4fa569
VS
110 <add-flags files="wx.bkl" formats="msvs2003prj">
111 -o../msw/wx_vc7.sln
112 </add-flags>
e662c315
VS
113 <add-flags files="wx.bkl" formats="msvs2005prj">
114 -o../msw/wx_vc8.sln
115 </add-flags>
7da8bfe3
VZ
116 <add-flags files="wx.bkl" formats="msvs2008prj">
117 -o../msw/wx_vc9.sln
118 </add-flags>
af594eca
VS
119 <add-flags files="wx.bkl" formats="msevc4prj">
120 -o../wince/wx.vcw
121 </add-flags>
3629838a 122
07319f2a 123
3629838a
VS
124
125 <!-- Format specific settings: -->
126 <add-flags formats="autoconf">
127 -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
128 </add-flags>
129
d10382ab 130 <add-formats files="wx.bkl">rpmspec</add-formats>
3629838a 131
de948fb3 132
7da8bfe3 133 <!-- Use different names for Visual C++ 200x project files: -->
51be4a55 134 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*"
7a4fa569
VS
135 formats="msvs2003prj">
136 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc7.sln
137 </add-flags>
51be4a55 138 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*"
e662c315
VS
139 formats="msvs2005prj">
140 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc8.sln
141 </add-flags>
51be4a55 142 <add-flags files="../../samples/*/*,../../samples/*/*/*,../../demos/*/*,../../utils/*/*,../../utils/*/*/*,../../tests/*,../../tests/*/*"
7da8bfe3
VZ
143 formats="msvs2008prj">
144 -o$(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc9.sln
145 </add-flags>
3629838a
VS
146
147 <!-- Makefile specific settings: -->
148
d6cb2e49 149 <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
3629838a
VS
150 -DWRITE_OPTIONS_FILE=0
151 </add-flags>
22ca9ff5
VS
152 <del-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom"
153 files="wx.bkl">
3629838a
VS
154 -DWRITE_OPTIONS_FILE=0
155 </del-flags>
07319f2a 156
3629838a
VS
157 <add-flags files="wx.bkl" formats="borland">
158 -DOPTIONS_FILE=config.bcc
159 </add-flags>
d6cb2e49
VS
160 <add-flags files="wx.bkl" formats="dmars_smake">
161 -DOPTIONS_FILE=config.dms
162 </add-flags>
7d88f099
VS
163 <add-flags files="wx.bkl" formats="dmars">
164 -DOPTIONS_FILE=config.dmc
165 </add-flags>
3629838a
VS
166 <add-flags files="wx.bkl" formats="mingw">
167 -DOPTIONS_FILE=config.gcc
168 </add-flags>
169 <add-flags files="wx.bkl" formats="msvc">
170 -DOPTIONS_FILE=config.vc
171 </add-flags>
172 <add-flags files="wx.bkl" formats="watcom">
173 -DOPTIONS_FILE=config.wat
174 </add-flags>
175
176 <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags>
177 <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags>
178 <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags>
179 <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags>
07319f2a 180
3629838a
VS
181 <add-flags files="../../*/*" formats="borland">
182 -DOPTIONS_FILE=../build/msw/config.bcc
183 </add-flags>
d6cb2e49
VS
184 <add-flags files="../../*/*" formats="dmars_smake">
185 -DOPTIONS_FILE=../build/msw/config.dms
186 </add-flags>
7d88f099
VS
187 <add-flags files="../../*/*" formats="dmars">
188 -DOPTIONS_FILE=../build/msw/config.dmc
189 </add-flags>
3629838a
VS
190 <add-flags files="../../*/*" formats="mingw">
191 -DOPTIONS_FILE=../build/msw/config.gcc
192 </add-flags>
193 <add-flags files="../../*/*" formats="msvc">
194 -DOPTIONS_FILE=../build/msw/config.vc
195 </add-flags>
196 <add-flags files="../../*/*" formats="watcom">
197 -DOPTIONS_FILE=../build/msw/config.wat
198 </add-flags>
199 <add-flags files="../../*/*/*" formats="borland">
200 -DOPTIONS_FILE=../../build/msw/config.bcc
201 </add-flags>
d6cb2e49
VS
202 <add-flags files="../../*/*/*" formats="dmars_smake">
203 -DOPTIONS_FILE=../../build/msw/config.dms
204 </add-flags>
7d88f099
VS
205 <add-flags files="../../*/*/*" formats="dmars">
206 -DOPTIONS_FILE=../../build/msw/config.dmc
207 </add-flags>
3629838a
VS
208 <add-flags files="../../*/*/*" formats="mingw">
209 -DOPTIONS_FILE=../../build/msw/config.gcc
210 </add-flags>
211 <add-flags files="../../*/*/*" formats="msvc">
212 -DOPTIONS_FILE=../../build/msw/config.vc
213 </add-flags>
214 <add-flags files="../../*/*/*" formats="watcom">
215 -DOPTIONS_FILE=../../build/msw/config.wat
216 </add-flags>
217 <add-flags files="../../*/*/*/*" formats="borland">
218 -DOPTIONS_FILE=../../../build/msw/config.bcc
219 </add-flags>
d6cb2e49
VS
220 <add-flags files="../../*/*/*/*" formats="dmars_smake">
221 -DOPTIONS_FILE=../../../build/msw/config.dms
222 </add-flags>
7d88f099
VS
223 <add-flags files="../../*/*/*/*" formats="dmars">
224 -DOPTIONS_FILE=../../../build/msw/config.dmc
225 </add-flags>
3629838a
VS
226 <add-flags files="../../*/*/*/*" formats="mingw">
227 -DOPTIONS_FILE=../../../build/msw/config.gcc
228 </add-flags>
229 <add-flags files="../../*/*/*/*" formats="msvc">
230 -DOPTIONS_FILE=../../../build/msw/config.vc
231 </add-flags>
232 <add-flags files="../../*/*/*/*" formats="watcom">
233 -DOPTIONS_FILE=../../../build/msw/config.wat
234 </add-flags>
235 <add-flags files="../../*/*/*/*/*" formats="borland">
236 -DOPTIONS_FILE=../../../../build/msw/config.bcc
237 </add-flags>
d6cb2e49
VS
238 <add-flags files="../../*/*/*/*/*" formats="dmars_smake">
239 -DOPTIONS_FILE=../../../../build/msw/config.dms
240 </add-flags>
7d88f099
VS
241 <add-flags files="../../*/*/*/*/*" formats="dmars">
242 -DOPTIONS_FILE=../../../../build/msw/config.dmc
243 </add-flags>
3629838a
VS
244 <add-flags files="../../*/*/*/*/*" formats="mingw">
245 -DOPTIONS_FILE=../../../../build/msw/config.gcc
246 </add-flags>
247 <add-flags files="../../*/*/*/*/*" formats="msvc">
248 -DOPTIONS_FILE=../../../../build/msw/config.vc
249 </add-flags>
250 <add-flags files="../../*/*/*/*/*" formats="watcom">
251 -DOPTIONS_FILE=../../../../build/msw/config.wat
252 </add-flags>
253
de948fb3 254
1f9e3582
VS
255 <!-- Makefiles for out-of-tree building of samples on Unix: -->
256 <add-formats files="../../samples/*/*.bkl,../../samples/*/*/*.bkl">
257 gnu
258 </add-formats>
063fcdc7
VZ
259 <del-formats files="../../samples/flash/flash.bkl,../../samples/mfc/mfc.bkl">
260 gnu
261 </del-formats>
1f9e3582
VS
262 <add-flags files="../../samples/*/*.bkl,../../samples/*/*/*.bkl"
263 formats="gnu">
264 -DOUT_OF_TREE_MAKEFILES=1 -o$(INPUT_FILE_DIR)/makefile.unx
265 </add-flags>
3629838a 266
063fcdc7 267 <!-- Personal customizations (not in VCS): -->
0b92df79 268 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
3629838a
VS
269
270</bakefile-gen>