]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/Bakefiles.bkgen
documented OnRun()/OnExit() return values; expanded OnInit()
[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 - 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
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
46 ../../contrib/utils/*/*.bkl
47 </input>
48
49 <!-- List of output formats to generate: -->
50 <add-formats>
51 autoconf,borland,dmars,mingw,msvc,msvc6prj,watcom,cbuilderx,cbx_unix
52 </add-formats>
53
54 <del-formats files="../../samples/*.bkl">
55 autoconf,msvc6prj,cbuilderx,cbx_unix
56 </del-formats>
57 <del-formats files="../../demos/*.bkl">
58 msvc6prj,cbuilderx,cbx_unix
59 </del-formats>
60 <del-formats files="../../samples/html/html_samples.bkl">
61 msvc6prj,cbuilderx,cbx_unix
62 </del-formats>
63 <del-formats files="../../samples/mobile/mobile_samples.bkl">
64 msvc6prj,cbuilderx,cbx_unix
65 </del-formats>
66 <del-formats files="../../samples/opengl/opengl_samples.bkl">
67 msvc6prj,cbuilderx,cbx_unix
68 </del-formats>
69 <del-formats files="../../utils/*.bkl">
70 msvc6prj,cbuilderx,cbx_unix
71 </del-formats>
72
73
74 <!-- Default flags (for all formats and bakefiles): -->
75 <add-flags>-Iformats</add-flags>
76
77
78 <!-- Directories where the files go: -->
79 <add-flags files="wx.bkl" formats="autoconf">
80 -o../../Makefile.in
81 </add-flags>
82 <add-flags files="wx.bkl" formats="borland">
83 -o../msw/makefile.bcc
84 </add-flags>
85 <add-flags files="wx.bkl" formats="dmars">
86 -o../msw/makefile.dmc
87 </add-flags>
88 <add-flags files="wx.bkl" formats="mingw">
89 -o../msw/makefile.gcc
90 </add-flags>
91 <add-flags files="wx.bkl" formats="msvc">
92 -o../msw/makefile.vc
93 </add-flags>
94 <add-flags files="wx.bkl" formats="watcom">
95 -o../msw/makefile.wat
96 </add-flags>
97 <add-flags files="wx.bkl" formats="msvc6prj">
98 -o../msw/wx.dsw
99 </add-flags>
100 <add-flags files="wx.bkl" formats="cbuilderx">
101 -o../../wx.cbx
102 </add-flags>
103 <add-flags files="../../contrib/build/*/*.bkl" formats="autoconf">
104 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/Makefile.in
105 </add-flags>
106 <add-flags files="../../contrib/build/*/*.bkl" formats="cbx_unix">
107 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT)Unix.cbx
108 </add-flags>
109 <!-- FIXME: don't do this once it is possible (new CBX version) -->
110 <add-flags files="../../contrib/build/*/*.bkl" formats="cbuilderx">
111 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT).cbx
112 </add-flags>
113 <add-flags files="../../contrib/build/*/*.bkl"
114 formats="mingw,borland,dmars,watcom,msvc,msvc6prj">
115 -DSRCDIR=../../src/$(INPUT_FILE_BASENAME_NOEXT)
116 </add-flags>
117
118
119
120 <!-- Format specific settings: -->
121 <add-flags formats="autoconf">
122 -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
123 </add-flags>
124
125 <add-formats files="wx.bkl">wx24dsp</add-formats>
126 <add-flags formats="wx24dsp">
127 -DUSE_GUI=1 -DWXUNIV=0 -o../../src/wxWindows.dsp
128 </add-flags>
129
130 <add-formats files="wx.bkl">rpmspec</add-formats>
131
132
133 <!-- Makefile specific settings: -->
134
135 <add-flags formats="borland,dmars,mingw,msvc,watcom">
136 -DWRITE_OPTIONS_FILE=0
137 </add-flags>
138 <del-flags files="wx.bkl">
139 -DWRITE_OPTIONS_FILE=0
140 </del-flags>
141
142 <add-flags files="wx.bkl" formats="borland">
143 -DOPTIONS_FILE=config.bcc
144 </add-flags>
145 <add-flags files="wx.bkl" formats="dmars">
146 -DOPTIONS_FILE=config.dmc
147 </add-flags>
148 <add-flags files="wx.bkl" formats="mingw">
149 -DOPTIONS_FILE=config.gcc
150 </add-flags>
151 <add-flags files="wx.bkl" formats="msvc">
152 -DOPTIONS_FILE=config.vc
153 </add-flags>
154 <add-flags files="wx.bkl" formats="watcom">
155 -DOPTIONS_FILE=config.wat
156 </add-flags>
157
158 <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags>
159 <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags>
160 <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags>
161 <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags>
162
163 <add-flags files="../../*/*" formats="borland">
164 -DOPTIONS_FILE=../build/msw/config.bcc
165 </add-flags>
166 <add-flags files="../../*/*" formats="dmars">
167 -DOPTIONS_FILE=../build/msw/config.dmc
168 </add-flags>
169 <add-flags files="../../*/*" formats="mingw">
170 -DOPTIONS_FILE=../build/msw/config.gcc
171 </add-flags>
172 <add-flags files="../../*/*" formats="msvc">
173 -DOPTIONS_FILE=../build/msw/config.vc
174 </add-flags>
175 <add-flags files="../../*/*" formats="watcom">
176 -DOPTIONS_FILE=../build/msw/config.wat
177 </add-flags>
178 <add-flags files="../../*/*/*" formats="borland">
179 -DOPTIONS_FILE=../../build/msw/config.bcc
180 </add-flags>
181 <add-flags files="../../*/*/*" formats="dmars">
182 -DOPTIONS_FILE=../../build/msw/config.dmc
183 </add-flags>
184 <add-flags files="../../*/*/*" formats="mingw">
185 -DOPTIONS_FILE=../../build/msw/config.gcc
186 </add-flags>
187 <add-flags files="../../*/*/*" formats="msvc">
188 -DOPTIONS_FILE=../../build/msw/config.vc
189 </add-flags>
190 <add-flags files="../../*/*/*" formats="watcom">
191 -DOPTIONS_FILE=../../build/msw/config.wat
192 </add-flags>
193 <add-flags files="../../*/*/*/*" formats="borland">
194 -DOPTIONS_FILE=../../../build/msw/config.bcc
195 </add-flags>
196 <add-flags files="../../*/*/*/*" formats="dmars">
197 -DOPTIONS_FILE=../../../build/msw/config.dmc
198 </add-flags>
199 <add-flags files="../../*/*/*/*" formats="mingw">
200 -DOPTIONS_FILE=../../../build/msw/config.gcc
201 </add-flags>
202 <add-flags files="../../*/*/*/*" formats="msvc">
203 -DOPTIONS_FILE=../../../build/msw/config.vc
204 </add-flags>
205 <add-flags files="../../*/*/*/*" formats="watcom">
206 -DOPTIONS_FILE=../../../build/msw/config.wat
207 </add-flags>
208 <add-flags files="../../*/*/*/*/*" formats="borland">
209 -DOPTIONS_FILE=../../../../build/msw/config.bcc
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
224
225 <!-- Personal customizations (not in CVS): -->
226 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
227
228 </bakefile-gen>