]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/Bakefiles.bkgen
a93cd7ddd2d67f428919fead3829d3b06e53645a
[wxWidgets.git] / build / bakefiles / Bakefiles.bkgen
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <bakefile-gen>
5
6 <!-- These wildcards match all .bkl files in wxWindows tree: -->
7 <input>
8 wx.bkl
9 ../../contrib/build/*/*.bkl
10 ../../samples/*.bkl
11 ../../samples/*/*.bkl
12 ../../samples/*/*/*.bkl
13 ../../demos/*.bkl
14 ../../demos/*/*.bkl
15 ../../demos/*/*/*.bkl
16 ../../utils/*.bkl
17 ../../utils/*/*.bkl
18 ../../utils/*/*/*.bkl
19 ../../contrib/samples/*.bkl
20 ../../contrib/samples/*/*.bkl
21 ../../contrib/samples/*/*/*.bkl
22 ../../contrib/utils/*/*.bkl
23 </input>
24
25 <!-- List of output formats to generate: -->
26 <add-formats>autoconf,borland,mingw,msvc,msvc6prj,watcom</add-formats>
27
28 <del-formats files="../../samples/*.bkl">autoconf,msvc6prj</del-formats>
29 <del-formats files="../../demos/*.bkl">msvc6prj</del-formats>
30 <del-formats files="../../samples/html/html_samples.bkl">msvc6prj</del-formats>
31 <del-formats files="../../samples/mobile/mobile_samples.bkl">msvc6prj</del-formats>
32 <del-formats files="../../samples/opengl/opengl_samples.bkl">msvc6prj</del-formats>
33 <del-formats files="../../utils/*.bkl">msvc6prj</del-formats>
34
35
36 <!-- Default flags (for all formats and bakefiles): -->
37 <add-flags>-Iformats</add-flags>
38
39
40 <!-- Directories where the files go: -->
41 <add-flags files="wx.bkl" formats="autoconf">
42 -o../../Makefile.in
43 </add-flags>
44 <add-flags files="wx.bkl" formats="borland">
45 -o../msw/makefile.bcc
46 </add-flags>
47 <add-flags files="wx.bkl" formats="dmars">
48 -o../msw/makefile.dmc
49 </add-flags>
50 <add-flags files="wx.bkl" formats="mingw">
51 -o../msw/makefile.gcc
52 </add-flags>
53 <add-flags files="wx.bkl" formats="msvc">
54 -o../msw/makefile.vc
55 </add-flags>
56 <add-flags files="wx.bkl" formats="watcom">
57 -o../msw/makefile.wat
58 </add-flags>
59 <add-flags files="wx.bkl" formats="msvc6prj">
60 -o../msw/wx.dsw
61 </add-flags>
62 <add-flags files="../../contrib/build/*/*.bkl" formats="autoconf">
63 -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/Makefile.in
64 </add-flags>
65 <add-flags files="../../contrib/build/*/*.bkl"
66 formats="mingw,borland,dmars,watcom,msvc,msvc6prj">
67 -DSRCDIR=../../src/$(INPUT_FILE_BASENAME_NOEXT)
68 </add-flags>
69
70
71
72 <!-- Format specific settings: -->
73 <add-flags formats="autoconf">
74 -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
75 </add-flags>
76
77 <add-formats files="wx.bkl">wx24dsp</add-formats>
78 <add-flags formats="wx24dsp">
79 -DUSE_GUI=1 -DWXUNIV=0 -o../../src/wxWindows.dsp
80 </add-flags>
81
82 <add-formats files="wx.bkl">rpmspec</add-formats>
83
84
85 <!-- Makefile specific settings: -->
86
87 <add-flags formats="borland,dmars,mingw,msvc,watcom">
88 -DWRITE_OPTIONS_FILE=0
89 </add-flags>
90 <del-flags files="wx.bkl">
91 -DWRITE_OPTIONS_FILE=0
92 </del-flags>
93
94 <add-flags files="wx.bkl" formats="borland">
95 -DOPTIONS_FILE=config.bcc
96 </add-flags>
97 <add-flags files="wx.bkl" formats="dmars">
98 -DOPTIONS_FILE=config.dmc
99 </add-flags>
100 <add-flags files="wx.bkl" formats="mingw">
101 -DOPTIONS_FILE=config.gcc
102 </add-flags>
103 <add-flags files="wx.bkl" formats="msvc">
104 -DOPTIONS_FILE=config.vc
105 </add-flags>
106 <add-flags files="wx.bkl" formats="watcom">
107 -DOPTIONS_FILE=config.wat
108 </add-flags>
109
110 <add-flags files="../../*/*">-DWXTOPDIR=../</add-flags>
111 <add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags>
112 <add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags>
113 <add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags>
114
115 <add-flags files="../../*/*" formats="borland">
116 -DOPTIONS_FILE=../build/msw/config.bcc
117 </add-flags>
118 <add-flags files="../../*/*" formats="dmars">
119 -DOPTIONS_FILE=../build/msw/config.dmc
120 </add-flags>
121 <add-flags files="../../*/*" formats="mingw">
122 -DOPTIONS_FILE=../build/msw/config.gcc
123 </add-flags>
124 <add-flags files="../../*/*" formats="msvc">
125 -DOPTIONS_FILE=../build/msw/config.vc
126 </add-flags>
127 <add-flags files="../../*/*" formats="watcom">
128 -DOPTIONS_FILE=../build/msw/config.wat
129 </add-flags>
130 <add-flags files="../../*/*/*" formats="borland">
131 -DOPTIONS_FILE=../../build/msw/config.bcc
132 </add-flags>
133 <add-flags files="../../*/*/*" formats="dmars">
134 -DOPTIONS_FILE=../../build/msw/config.dmc
135 </add-flags>
136 <add-flags files="../../*/*/*" formats="mingw">
137 -DOPTIONS_FILE=../../build/msw/config.gcc
138 </add-flags>
139 <add-flags files="../../*/*/*" formats="msvc">
140 -DOPTIONS_FILE=../../build/msw/config.vc
141 </add-flags>
142 <add-flags files="../../*/*/*" formats="watcom">
143 -DOPTIONS_FILE=../../build/msw/config.wat
144 </add-flags>
145 <add-flags files="../../*/*/*/*" formats="borland">
146 -DOPTIONS_FILE=../../../build/msw/config.bcc
147 </add-flags>
148 <add-flags files="../../*/*/*/*" formats="dmars">
149 -DOPTIONS_FILE=../../../build/msw/config.dmc
150 </add-flags>
151 <add-flags files="../../*/*/*/*" formats="mingw">
152 -DOPTIONS_FILE=../../../build/msw/config.gcc
153 </add-flags>
154 <add-flags files="../../*/*/*/*" formats="msvc">
155 -DOPTIONS_FILE=../../../build/msw/config.vc
156 </add-flags>
157 <add-flags files="../../*/*/*/*" formats="watcom">
158 -DOPTIONS_FILE=../../../build/msw/config.wat
159 </add-flags>
160 <add-flags files="../../*/*/*/*/*" formats="borland">
161 -DOPTIONS_FILE=../../../../build/msw/config.bcc
162 </add-flags>
163 <add-flags files="../../*/*/*/*/*" formats="dmars">
164 -DOPTIONS_FILE=../../../../build/msw/config.dmc
165 </add-flags>
166 <add-flags files="../../*/*/*/*/*" formats="mingw">
167 -DOPTIONS_FILE=../../../../build/msw/config.gcc
168 </add-flags>
169 <add-flags files="../../*/*/*/*/*" formats="msvc">
170 -DOPTIONS_FILE=../../../../build/msw/config.vc
171 </add-flags>
172 <add-flags files="../../*/*/*/*/*" formats="watcom">
173 -DOPTIONS_FILE=../../../../build/msw/config.wat
174 </add-flags>
175
176
177 <!-- Personal customizations (not in CVS): -->
178 <include file="Bakefiles.local.bkgen" ignore_missing="1"/>
179
180 </bakefile-gen>