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