]> git.saurik.com Git - wxWidgets.git/blob - samples/makefile.b32
Changes needed to allow compilation with SunCC.
[wxWidgets.git] / samples / makefile.b32
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
15 WXDIR = $(WXWIN)
16
17 THISDIR=$(WXDIR)\samples
18
19 #
20 # Indicates kind of pb with samples
21 #
22 # No makefile.vc file
23 NOMAKE=1
24 # No 16 bit version
25 #ONLY32=1
26 # Misc. compilation errors
27 COMPIL=1
28 # Need PNG
29 PNGSETUP=
30 # Need wxUSE_ODBC; define this to compile db sample
31 ODBCSETUP=
32 WXUSINGDLL=0
33
34 #
35 # Please keep samples list up-to-date, in alphabetical order
36 # not alphabetically organised ; 29 Nov 01
37 all:
38 cd $(WXDIR)\samples\artprov
39 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
40 cd $(WXDIR)\samples\calendar
41 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
42 cd $(WXDIR)\samples\caret
43 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
44 cd $(WXDIR)\samples\checklst
45 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
46 cd $(WXDIR)\samples\config
47 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
48 cd $(WXDIR)\samples\controls
49 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
50 !if "$(ODBCSETUP)"=="1"
51 cd $(WXDIR)\samples\db
52 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
53 !endif
54 cd $(WXDIR)\samples\ipc
55 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
56 cd $(WXDIR)\samples\dialogs
57 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
58 cd $(WXDIR)\samples\dnd
59 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
60 cd $(WXDIR)\samples\docview
61 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
62 cd $(WXDIR)\samples\docvwmdi
63 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
64 cd $(WXDIR)\samples\drawing
65 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
66 cd $(WXDIR)\samples\dynamic
67 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
68 cd $(WXDIR)\samples\font
69 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
70 cd $(WXDIR)\samples\grid
71 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
72 cd $(WXDIR)\samples\newgrid
73 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
74
75 cd $(WXDIR)\samples\help
76 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
77
78 !if "$(PNGSETUP)"==""
79 cd $(WXDIR)\samples\html
80 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
81 !endif
82 cd $(WXDIR)\samples\keyboard
83 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
84 cd $(WXDIR)\samples\image
85 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
86 cd $(WXDIR)\samples\internat
87 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
88 cd $(WXDIR)\samples\joytest
89 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
90 cd $(WXDIR)\samples\layout
91 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
92 cd $(WXDIR)\samples\listctrl
93 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
94 cd $(WXDIR)\samples\mdi
95 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
96 cd $(WXDIR)\samples\menu
97 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
98 !if "$(FINAL)" == "0"
99 cd $(WXDIR)\samples\memcheck
100 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
101 !endif
102 !if "$(COMPIL)"==""
103 cd $(WXDIR)\samples\mfc
104 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
105 !endif
106 cd $(WXDIR)\samples\minifram
107 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
108 cd $(WXDIR)\samples\minimal
109 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
110 cd $(WXDIR)\samples\nativdlg
111 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
112 !if "$(COMPIL)"==""
113 cd $(WXDIR)\samples\dialup
114 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
115 !endif
116 cd $(WXDIR)\samples\notebook
117 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
118 cd $(WXDIR)\samples\oleauto
119 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
120 cd $(WXDIR)\samples\ownerdrw
121 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
122 cd $(WXDIR)\samples\png
123 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
124 cd $(WXDIR)\samples\printing
125 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
126 cd $(WXDIR)\samples\proplist
127 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
128 cd $(WXDIR)\samples\regtest
129 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
130 cd $(WXDIR)\samples\resource
131 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
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\statbar
167 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
168 cd $(WXDIR)\samples\sockets
169 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
170 cd $(WXDIR)\samples\widgets
171 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
172 cd $(WXDIR)\samples\tab
173 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
174 cd $(WXDIR)\samples\treelay
175 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
176 cd $(WXDIR)\samples\erase
177 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
178 cd $(WXDIR)\samples\event
179 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
180 cd $(WXDIR)\samples\propsize
181 make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
182
183 clean:
184 cd $(WXDIR)\samples\artprov
185 make -f makefile.b32 clean
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\keyboard
227 make -f makefile.b32 clean
228 cd $(WXDIR)\samples\joytest
229 make -f makefile.b32 clean
230 cd $(WXDIR)\samples\layout
231 make -f makefile.b32 clean
232 cd $(WXDIR)\samples\listctrl
233 make -f makefile.b32 clean
234 cd $(WXDIR)\samples\mdi
235 make -f makefile.b32 clean
236 cd $(WXDIR)\samples\memcheck
237 make -f makefile.b32 clean
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\rotate
267 make -f makefile.b32 clean
268 cd $(WXDIR)\samples\sashtest
269 make -f makefile.b32 clean
270 cd $(WXDIR)\samples\scroll
271 make -f makefile.b32 clean
272 cd $(WXDIR)\samples\scrollsub
273 make -f makefile.b32 clean
274 cd $(WXDIR)\samples\splitter
275 make -f makefile.b32 clean
276 cd $(WXDIR)\samples\tab
277 make -f makefile.b32 clean
278 cd $(WXDIR)\samples\taskbar
279 make -f makefile.b32 clean
280 cd $(WXDIR)\samples\text
281 make -f makefile.b32 clean
282 cd $(WXDIR)\samples\thread
283 make -f makefile.b32 clean
284 cd $(WXDIR)\samples\toolbar
285 make -f makefile.b32 clean
286 cd $(WXDIR)\samples\treectrl
287 make -f makefile.b32 clean
288 cd $(WXDIR)\samples\typetest
289 make -f makefile.b32 clean
290 cd $(WXDIR)\samples\validate
291 make -f makefile.b32 clean
292 cd $(WXDIR)\samples\wizard
293 make -f makefile.b32 clean
294 cd $(WXDIR)\samples\dragimag
295 make -f makefile.b32 clean
296 cd $(WXDIR)\samples\erase
297 make -f makefile.b32 clean
298 cd $(WXDIR)\samples\exec
299 make -f makefile.b32 clean
300 cd $(WXDIR)\samples\event
301 make -f makefile.b32 clean
302 cd $(WXDIR)\samples\statbar
303 make -f makefile.b32 clean
304 cd $(WXDIR)\samples\propsize
305 make -f makefile.b32 clean
306 cd $(WXDIR)\samples\sockets
307 make -f makefile.b32 clean
308 cd $(WXDIR)\samples\treelay
309 make -f makefile.b32 clean
310 cd $(WXDIR)\samples\treectrl
311 make -f makefile.b32 clean
312 cd $(WXDIR)\samples\tab
313 make -f makefile.b32 clean
314 cd $(WXDIR)\samples\widgets
315 make -f makefile.b32 clean
316