]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/Bakefiles.bkgen
forgot to commit
[wxWidgets.git] / build / bakefiles / Bakefiles.bkgen
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <bakefile-gen>
5
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, dmars_smake, msevc4prj - These are generated at release time and
19 we don't want to clutter the source tree with these files.
20 -->
21
22 <disable-formats>dmars,dmars_smake,msevc4prj</disable-formats>
23
24
25 <!-- These wildcards match all .bkl files in wxWidgets tree: -->
26 <input>
27 wx.bkl
28 ../../contrib/build/*/*.bkl
29 ../../samples/*.bkl
30 ../../samples/*/*.bkl
31 ../../samples/*/*/*.bkl
32 ../../demos/*.bkl
33 ../../demos/*/*.bkl
34 ../../demos/*/*/*.bkl
35 ../../utils/*.bkl
36 ../../utils/*/*.bkl
37 ../../utils/*/*/*.bkl
38 ../../contrib/samples/*.bkl
39 ../../contrib/samples/*/*.bkl
40 ../../contrib/samples/*/*/*.bkl
41 ../../contrib/utils/*/*.bkl
42 ../../tests/*.bkl
43 </input>
44
45 <!-- List of output formats to generate: -->
46 <add-formats>
47 autoconf,borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,watcom
48 </add-formats>
49
50 <del-formats files="../../samples/*.bkl">
51 autoconf,msvc6prj,msevc4prj,msvs2005prj
52 </del-formats>
53 <del-formats files="../../demos/*.bkl">
54 msvc6prj,msevc4prj,msvs2005prj
55 </del-formats>
56 <del-formats files="../../samples/html/html_samples.bkl">
57 msvc6prj,msevc4prj,msvs2005prj
58 </del-formats>
59 <del-formats files="../../samples/mobile/mobile_samples.bkl">
60 msvc6prj,msevc4prj,msvs2005prj
61 </del-formats>
62 <del-formats files="../../samples/opengl/opengl_samples.bkl">
63 msvc6prj,msevc4prj,msvs2005prj
64 </del-formats>
65 <del-formats files="../../utils/*.bkl">
66 msvc6prj,msevc4prj,msvs2005prj
67 </del-formats>
68
69 <!-- WinCE can't have console apps: -->
70 <del-formats files="../../samples/console/*">msevc4prj</del-formats>
71 <del-formats files="../../utils/HelpGen/src/*">msevc4prj</del-formats>
72 <del-formats files="../../utils/wxrc/*">msevc4prj</del-formats>
73 <del-formats files="../../contrib/utils/wxrc/*">msevc4prj</del-formats>
74 <del-formats files="../../tests/*">msevc4prj</del-formats>
75
76 <!-- HtmlCtrl sample is Cocoa only (autoconf format) -->
77 <del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl">
78 borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2005prj,watcom
79 </del-formats>
80
81
82 <!-- Default flags (for all formats and bakefiles): -->
83 <add-flags>-Iformats</add-flags>
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>
93 <add-flags files="wx.bkl" formats="dmars_smake">
94 -o../msw/makefile.dms
95 </add-flags>
96 <add-flags files="wx.bkl" formats="dmars">
97 -o../msw/makefile.dmc
98 </add-flags>
99 <add-flags files="wx.bkl" formats="mingw">
100 -o../msw/makefile.gcc
101 </add-flags>
102 <add-flags files="wx.bkl" formats="msvc">
103 -o../msw/makefile.vc
104 </add-flags>
105 <add-flags files="wx.bkl" formats="watcom">
106 -o../msw/makefile.wat
107 </add-flags>
108 <add-flags files="wx.bkl" formats="msvc6prj">
109 -o../msw/wx.dsw
110 </add-flags>
111 <add-flags files="wx.bkl" formats="msvs2005prj">
112 -o../msw/wx.sln
113 </add-flags>
114 <add-flags files="wx.bkl" formats="msevc4prj">
115 -o../wince/wx.vcw
116 </add-flags>
117 <add-flags files="../../contrib/build/*/*.bkl" formats="autoconf">
118 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/Makefile.in
119 </add-flags>
120 <add-flags files="../../contrib/build/*/*.bkl"
121 formats="mingw,borland,dmars_smake,dmars,watcom,msvc,msvc6prj,msevc4prj,msvs2005prj">
122 -DSRCDIR=../../src/$(INPUT_FILE_BASENAME_NOEXT)
123 </add-flags>
124
125
126
127 <!-- Format specific settings: -->
128 <add-flags formats="autoconf">
129 -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
130 </add-flags>
131
132 <add-formats files="wx.bkl">rpmspec</add-formats>
133
134
135 <!-- Makefile specific settings: -->
136
137 <add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
138 -DWRITE_OPTIONS_FILE=0
139 </add-flags>
140 <del-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom"
141 files="wx.bkl">
142 -DWRITE_OPTIONS_FILE=0
143 </del-flags>
144
145 <add-flags files="wx.bkl" formats="borland">
146 -DOPTIONS_FILE=config.bcc
147 </add-flags>
148 <add-flags files="wx.bkl" formats="dmars_smake">
149 -DOPTIONS_FILE=config.dms
150 </add-flags>
151 <add-flags files="wx.bkl" formats="dmars">
152 -DOPTIONS_FILE=config.dmc
153 </add-flags>
154 <add-flags files="wx.bkl" formats="mingw">
155 -DOPTIONS_FILE=config.gcc
156 </add-flags>
157 <add-flags files="wx.bkl" formats="msvc">
158 -DOPTIONS_FILE=config.vc
159 </add-flags>
160 <add-flags files="wx.bkl" formats="watcom">
161 -DOPTIONS_FILE=config.wat
162 </add-flags>
163
164 <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags>
165 <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags>
166 <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags>
167 <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags>
168
169 <add-flags files="../../*/*" formats="borland">
170 -DOPTIONS_FILE=../build/msw/config.bcc
171 </add-flags>
172 <add-flags files="../../*/*" formats="dmars_smake">
173 -DOPTIONS_FILE=../build/msw/config.dms
174 </add-flags>
175 <add-flags files="../../*/*" formats="dmars">
176 -DOPTIONS_FILE=../build/msw/config.dmc
177 </add-flags>
178 <add-flags files="../../*/*" formats="mingw">
179 -DOPTIONS_FILE=../build/msw/config.gcc
180 </add-flags>
181 <add-flags files="../../*/*" formats="msvc">
182 -DOPTIONS_FILE=../build/msw/config.vc
183 </add-flags>
184 <add-flags files="../../*/*" formats="watcom">
185 -DOPTIONS_FILE=../build/msw/config.wat
186 </add-flags>
187 <add-flags files="../../*/*/*" formats="borland">
188 -DOPTIONS_FILE=../../build/msw/config.bcc
189 </add-flags>
190 <add-flags files="../../*/*/*" formats="dmars_smake">
191 -DOPTIONS_FILE=../../build/msw/config.dms
192 </add-flags>
193 <add-flags files="../../*/*/*" formats="dmars">
194 -DOPTIONS_FILE=../../build/msw/config.dmc
195 </add-flags>
196 <add-flags files="../../*/*/*" formats="mingw">
197 -DOPTIONS_FILE=../../build/msw/config.gcc
198 </add-flags>
199 <add-flags files="../../*/*/*" formats="msvc">
200 -DOPTIONS_FILE=../../build/msw/config.vc
201 </add-flags>
202 <add-flags files="../../*/*/*" formats="watcom">
203 -DOPTIONS_FILE=../../build/msw/config.wat
204 </add-flags>
205 <add-flags files="../../*/*/*/*" formats="borland">
206 -DOPTIONS_FILE=../../../build/msw/config.bcc
207 </add-flags>
208 <add-flags files="../../*/*/*/*" formats="dmars_smake">
209 -DOPTIONS_FILE=../../../build/msw/config.dms
210 </add-flags>
211 <add-flags files="../../*/*/*/*" formats="dmars">
212 -DOPTIONS_FILE=../../../build/msw/config.dmc
213 </add-flags>
214 <add-flags files="../../*/*/*/*" formats="mingw">
215 -DOPTIONS_FILE=../../../build/msw/config.gcc
216 </add-flags>
217 <add-flags files="../../*/*/*/*" formats="msvc">
218 -DOPTIONS_FILE=../../../build/msw/config.vc
219 </add-flags>
220 <add-flags files="../../*/*/*/*" formats="watcom">
221 -DOPTIONS_FILE=../../../build/msw/config.wat
222 </add-flags>
223 <add-flags files="../../*/*/*/*/*" formats="borland">
224 -DOPTIONS_FILE=../../../../build/msw/config.bcc
225 </add-flags>
226 <add-flags files="../../*/*/*/*/*" formats="dmars_smake">
227 -DOPTIONS_FILE=../../../../build/msw/config.dms
228 </add-flags>
229 <add-flags files="../../*/*/*/*/*" formats="dmars">
230 -DOPTIONS_FILE=../../../../build/msw/config.dmc
231 </add-flags>
232 <add-flags files="../../*/*/*/*/*" formats="mingw">
233 -DOPTIONS_FILE=../../../../build/msw/config.gcc
234 </add-flags>
235 <add-flags files="../../*/*/*/*/*" formats="msvc">
236 -DOPTIONS_FILE=../../../../build/msw/config.vc
237 </add-flags>
238 <add-flags files="../../*/*/*/*/*" formats="watcom">
239 -DOPTIONS_FILE=../../../../build/msw/config.wat
240 </add-flags>
241
242
243 <!-- Makefiles for out-of-tree building of samples on Unix: -->
244 <add-formats files="../../samples/*/*.bkl,../../samples/*/*/*.bkl">
245 gnu
246 </add-formats>
247 <add-flags files="../../samples/*/*.bkl,../../samples/*/*/*.bkl"
248 formats="gnu">
249 -DOUT_OF_TREE_MAKEFILES=1 -o$(INPUT_FILE_DIR)/makefile.unx
250 </add-flags>
251
252 <!-- Personal customizations (not in CVS): -->
253 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
254
255 </bakefile-gen>