]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/makefile.b32
added wxEncodingToCodepage() and implemented it properly (using in32 API instead...
[wxWidgets.git] / samples / makefile.b32
... / ...
CommitLineData
1#
2# File: makefile.b32
3# Author: Julian Smart
4# Created: 1993
5# Updated:
6# Copyright: (c) 1993, AIAI, University of Edinburgh
7#
8# "%W% %G%"
9#
10# Makefile : Builds samples for Win95, BC++ WIN32
11# Use FINAL=1 argument to make to build final version with no debugging
12# info
13
14# Set WXDIR for your system
15WXDIR = $(WXWIN)
16
17THISDIR=$(WXDIR)\samples
18
19#
20# Indicates kind of pb with samples
21#
22# No makefile.vc file
23NOMAKE=1
24# No 16 bit version
25#ONLY32=1
26# Misc. compilation errors
27COMPIL=1
28# Need PNG
29PNGSETUP=
30# Need wxUSE_ODBC; define this to compile db sample
31ODBCSETUP=
32
33
34#
35# Please keep samples list up-to-date, in alphabetical order
36# not alphabetically organised ; 29 Nov 01
37all:
38 cd $(WXDIR)\samples\calendar
39 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
40 cd $(WXDIR)\samples\caret
41 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
42 cd $(WXDIR)\samples\checklst
43 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
44 cd $(WXDIR)\samples\config
45 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
46 cd $(WXDIR)\samples\controls
47 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
48!if "$(ODBCSETUP)"=="1"
49 cd $(WXDIR)\samples\db
50 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
51!endif
52 cd $(WXDIR)\samples\ipc
53 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
54 cd $(WXDIR)\samples\dialogs
55 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
56 cd $(WXDIR)\samples\dnd
57 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
58 cd $(WXDIR)\samples\docview
59 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
60 cd $(WXDIR)\samples\docvwmdi
61 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
62 cd $(WXDIR)\samples\drawing
63 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
64 cd $(WXDIR)\samples\dynamic
65 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
66 cd $(WXDIR)\samples\font
67 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
68 cd $(WXDIR)\samples\grid
69 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
70 cd $(WXDIR)\samples\newgrid
71 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
72
73 cd $(WXDIR)\samples\help
74 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
75
76!if "$(PNGSETUP)"==""
77 cd $(WXDIR)\samples\html
78 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
79!endif
80 cd $(WXDIR)\samples\image
81 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
82 cd $(WXDIR)\samples\internat
83 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
84 cd $(WXDIR)\samples\joytest
85 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
86 cd $(WXDIR)\samples\layout
87 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
88 cd $(WXDIR)\samples\listctrl
89 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
90 cd $(WXDIR)\samples\mdi
91 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
92 cd $(WXDIR)\samples\menu
93 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
94!if "$(FINAL)" == "0"
95 cd $(WXDIR)\samples\memcheck
96 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
97!endif
98!if "$(COMPIL)"==""
99 cd $(WXDIR)\samples\mfc
100 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
101!endif
102 cd $(WXDIR)\samples\minifram
103 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
104 cd $(WXDIR)\samples\minimal
105 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
106 cd $(WXDIR)\samples\nativdlg
107 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
108!if "$(COMPIL)"==""
109 cd $(WXDIR)\samples\dialup
110 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
111!endif
112 cd $(WXDIR)\samples\notebook
113 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
114 cd $(WXDIR)\samples\oleauto
115 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
116 cd $(WXDIR)\samples\ownerdrw
117 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
118 cd $(WXDIR)\samples\png
119 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
120 cd $(WXDIR)\samples\printing
121 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
122 cd $(WXDIR)\samples\proplist
123 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
124 cd $(WXDIR)\samples\regtest
125 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
126 cd $(WXDIR)\samples\resource
127 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
128!if "$(COMPIL)"==""
129 cd $(WXDIR)\samples\richedit
130 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
131!endif
132 cd $(WXDIR)\samples\rotate
133 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
134 cd $(WXDIR)\samples\sashtest
135 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
136 cd $(WXDIR)\samples\scroll
137 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
138 cd $(WXDIR)\samples\scrollsub
139 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
140 cd $(WXDIR)\samples\splitter
141 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
142!if "$(COMPIL)"==""
143 cd $(WXDIR)\samples\tab
144 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
145!endif
146 cd $(WXDIR)\samples\taskbar
147 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
148 cd $(WXDIR)\samples\text
149 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
150 cd $(WXDIR)\samples\thread
151 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
152 cd $(WXDIR)\samples\toolbar
153 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
154 cd $(WXDIR)\samples\treectrl
155 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
156 cd $(WXDIR)\samples\typetest
157 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
158 cd $(WXDIR)\samples\validate
159 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
160 cd $(WXDIR)\samples\wizard
161 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
162 cd $(WXDIR)\samples\dragimag
163 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
164 cd $(WXDIR)\samples\exec
165 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
166 cd $(WXDIR)\samples\richedit
167 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
168 cd $(WXDIR)\samples\statbar
169 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
170 cd $(WXDIR)\samples\sockets
171 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
172 cd $(WXDIR)\samples\widgets
173 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
174 cd $(WXDIR)\samples\tab
175 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
176 cd $(WXDIR)\samples\treelay
177 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
178 cd $(WXDIR)\samples\erase
179 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
180 cd $(WXDIR)\samples\event
181 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
182 cd $(WXDIR)\samples\propsize
183 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
184
185clean:
186 cd $(WXDIR)\samples\calendar
187 make -f makefile.b32 clean
188 cd $(WXDIR)\samples\caret
189 make -f makefile.b32 clean
190 cd $(WXDIR)\samples\checklst
191 make -f makefile.b32 clean
192 cd $(WXDIR)\samples\config
193 make -f makefile.b32 clean
194 cd $(WXDIR)\samples\controls
195 make -f makefile.b32 clean
196 cd $(WXDIR)\samples\db
197 make -f makefile.b32 clean
198 cd $(WXDIR)\samples\ipc
199 make -f makefile.b32 clean
200 cd $(WXDIR)\samples\dialogs
201 make -f makefile.b32 clean
202 cd $(WXDIR)\samples\dnd
203 make -f makefile.b32 clean
204 cd $(WXDIR)\samples\docview
205 make -f makefile.b32 clean
206 cd $(WXDIR)\samples\docvwmdi
207 make -f makefile.b32 clean
208 cd $(WXDIR)\samples\drawing
209 make -f makefile.b32 clean
210 cd $(WXDIR)\samples\dynamic
211 make -f makefile.b32 clean
212 cd $(WXDIR)\samples\font
213 make -f makefile.b32 clean
214 cd $(WXDIR)\samples\grid
215 make -f makefile.b32 clean
216 cd $(WXDIR)\samples\newgrid
217 make -f makefile.b32 clean
218 cd $(WXDIR)\samples\help
219 make -f makefile.b32 clean
220 cd $(WXDIR)\samples\html
221 make -f makefile.b32 clean
222 cd $(WXDIR)\samples\image
223 make -f makefile.b32 clean
224 cd $(WXDIR)\samples\internat
225 make -f makefile.b32 clean
226 cd $(WXDIR)\samples\joytest
227 make -f makefile.b32 clean
228 cd $(WXDIR)\samples\layout
229 make -f makefile.b32 clean
230 cd $(WXDIR)\samples\listctrl
231 make -f makefile.b32 clean
232 cd $(WXDIR)\samples\mdi
233 make -f makefile.b32 clean
234!if "$(FINAL)" == "0"
235 cd $(WXDIR)\samples\memcheck
236 make -f makefile.b32 clean
237!endif
238 cd $(WXDIR)\samples\mfc
239 make -f makefile.b32 clean
240 cd $(WXDIR)\samples\menu
241 make -f makefile.b32 clean
242 cd $(WXDIR)\samples\minifram
243 make -f makefile.b32 clean
244 cd $(WXDIR)\samples\minimal
245 make -f makefile.b32 clean
246 cd $(WXDIR)\samples\nativdlg
247 make -f makefile.b32 clean
248 cd $(WXDIR)\samples\dialup
249 make -f makefile.b32 clean
250 cd $(WXDIR)\samples\notebook
251 make -f makefile.b32 clean
252 cd $(WXDIR)\samples\oleauto
253 make -f makefile.b32 clean
254 cd $(WXDIR)\samples\ownerdrw
255 make -f makefile.b32 clean
256 cd $(WXDIR)\samples\png
257 make -f makefile.b32 clean
258 cd $(WXDIR)\samples\printing
259 make -f makefile.b32 clean
260 cd $(WXDIR)\samples\proplist
261 make -f makefile.b32 clean
262 cd $(WXDIR)\samples\regtest
263 make -f makefile.b32 clean
264 cd $(WXDIR)\samples\resource
265 make -f makefile.b32 clean
266 cd $(WXDIR)\samples\richedit
267 make -f makefile.b32 clean
268 cd $(WXDIR)\samples\rotate
269 make -f makefile.b32 clean
270 cd $(WXDIR)\samples\sashtest
271 make -f makefile.b32 clean
272 cd $(WXDIR)\samples\scroll
273 make -f makefile.b32 clean
274 cd $(WXDIR)\samples\scrollsub
275 make -f makefile.b32 clean
276 cd $(WXDIR)\samples\splitter
277 make -f makefile.b32 clean
278 cd $(WXDIR)\samples\tab
279 make -f makefile.b32 clean
280 cd $(WXDIR)\samples\taskbar
281 make -f makefile.b32 clean
282 cd $(WXDIR)\samples\text
283 make -f makefile.b32 clean
284 cd $(WXDIR)\samples\thread
285 make -f makefile.b32 clean
286 cd $(WXDIR)\samples\toolbar
287 make -f makefile.b32 clean
288 cd $(WXDIR)\samples\treectrl
289 make -f makefile.b32 clean
290 cd $(WXDIR)\samples\typetest
291 make -f makefile.b32 clean
292 cd $(WXDIR)\samples\validate
293 make -f makefile.b32 clean
294!if "$(NOMAKE)"==""
295 cd $(WXDIR)\samples\wizard
296 make -f makefile.b32 clean
297!endif
298 cd $(WXDIR)\samples\dragimag
299 make -f makefile.b32 clean
300 cd $(WXDIR)\samples\erase
301 make -f makefile.b32 clean
302 cd $(WXDIR)\samples\exec
303 make -f makefile.b32 clean
304 cd $(WXDIR)\samples\event
305 make -f makefile.b32 clean
306 cd $(WXDIR)\samples\statbar
307 make -f makefile.b32 clean
308 cd $(WXDIR)\samples\richedit
309 make -f makefile.b32 clean
310 cd $(WXDIR)\samples\propsize
311 make -f makefile.b32 clean
312
313 cd $(WXDIR)\samples\sockets
314 make -f makefile.b32 clean
315 cd $(WXDIR)\samples\treelay
316 make -f makefile.b32 clean
317 cd $(WXDIR)\samples\treectrl
318 make -f makefile.b32 clean
319 cd $(WXDIR)\samples\tab
320 make -f makefile.b32 clean
321 cd $(WXDIR)\samples\widgets
322 make -f makefile.b32 clean
323