]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # File: makefile.b32 | |
3 | # Author: Julian Smart | |
4 | # Created: 1998 | |
5 | # Updated: | |
6 | # Copyright: | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds wxWindows library wx.lib for MS Windows, | |
11 | # and Borland C++ (32-bit). | |
12 | ||
13 | !if "$(BCCDIR)" == "" | |
14 | !error You must define the BCCDIR variable in autoexec.bat, e.g. BCCDIR=d:\bc4 | |
15 | !endif | |
16 | ||
17 | !if "$(WXWIN)" == "" | |
18 | !error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx | |
19 | !endif | |
20 | ||
21 | WXDIR = $(WXWIN) | |
22 | ||
23 | # Set all these to 1 if you want to build a dynamic library | |
24 | !if "$(DLL)" == "1" | |
25 | WXMAKINGDLL=1 | |
26 | WXBUILDDLL=1 | |
27 | !endif | |
28 | ||
29 | !include $(WXDIR)\src\makeb32.env | |
30 | ||
31 | # Please set these according to the settings in wx_setup.h, so we can include | |
32 | # the appropriate libraries in wx.lib | |
33 | USE_CTL3D=0 | |
34 | USE_XPM_IN_MSW=0 | |
35 | ||
36 | PERIPH_LIBS= | |
37 | PERIPH_TARGET= | |
38 | PERIPH_CLEAN_TARGET= | |
39 | ||
40 | !if "$(USE_CTL3D)" == "1" | |
41 | #Use WIN32S/WIN95 32 bit version ctl3d32.dll under win95 (Andre Beltman) | |
42 | PERIPH_LIBS=$(WXDIR)\lib\ctl3d32.lib $(PERIPH_LIBS) | |
43 | PERIPH_TARGET=ctl3d $(PERIPH_TARGET) | |
44 | PERIPH_CLEAN_TARGET=clean_ctl3d $(PERIPH_CLEAN_TARGET) | |
45 | !endif | |
46 | ||
47 | !if "$(USE_XPM_IN_MSW)" == "1" | |
48 | PERIPH_LIBS=$(WXLIB)\xpm.lib $(PERIPH_LIBS) | |
49 | PERIPH_TARGET=xpm $(PERIPH_TARGET) | |
50 | PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET) | |
51 | !endif | |
52 | ||
53 | #PERIPH_LIBS=$(WXDIR)\lib\zlib.lib $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\jpeg.lib $(PERIPH_LIBS) | |
54 | PERIPH_LIBS= | |
55 | PERIPH_TARGET=zlib png jpeg $(PERIPH_TARGET) | |
56 | PERIPH_CLEAN_TARGET=clean_zlib clean_png clean_jpeg $(PERIPH_CLEAN_TARGET) | |
57 | ||
58 | !if "$(DLL)" == "0" | |
59 | DUMMY=dummy | |
60 | !else | |
61 | DUMMY=dummydll | |
62 | LIBS= cw32 import32 ole2w32 | |
63 | !endif | |
64 | ||
65 | LIBTARGET=$(WXLIB) | |
66 | ||
67 | GENDIR=..\generic | |
68 | COMMDIR=..\common | |
69 | OLEDIR=.\ole | |
70 | MSWDIR=. | |
71 | ||
72 | DOCDIR = $(WXDIR)\docs | |
73 | ||
74 | GENERICOBJS= \ | |
75 | $(MSWDIR)\choicdgg.obj \ | |
76 | $(MSWDIR)\gridg.obj \ | |
77 | $(MSWDIR)\laywin.obj \ | |
78 | $(MSWDIR)\panelg.obj \ | |
79 | $(MSWDIR)\progdlgg.obj \ | |
80 | $(MSWDIR)\prop.obj \ | |
81 | $(MSWDIR)\proplist.obj \ | |
82 | $(MSWDIR)\propform.obj \ | |
83 | $(MSWDIR)\sashwin.obj \ | |
84 | $(MSWDIR)\scrolwin.obj \ | |
85 | $(MSWDIR)\splitter.obj \ | |
86 | $(MSWDIR)\statusbr.obj \ | |
87 | $(MSWDIR)\tabg.obj \ | |
88 | $(MSWDIR)\textdlgg.obj \ | |
89 | ||
90 | # Not needed: | |
91 | # $(MSWDIR)\colrdlgg.obj \ | |
92 | # $(MSWDIR)\fontdlgg.obj \ | |
93 | # $(MSWDIR)\helpxlp.obj \ | |
94 | # $(MSWDIR)\msgdlgg.obj \ | |
95 | # $(MSWDIR)\printps.obj \ | |
96 | # $(MSWDIR)\prntdlgg.obj \ | |
97 | # $(MSWDIR)\listctrl.obj \ | |
98 | # $(MSWDIR)\notebook.obj \ | |
99 | # $(MSWDIR)\treectrl.obj | |
100 | ||
101 | COMMONOBJS = \ | |
102 | $(MSWDIR)\config.obj \ | |
103 | $(MSWDIR)\cmndata.obj \ | |
104 | $(MSWDIR)\dcbase.obj \ | |
105 | $(MSWDIR)\docview.obj \ | |
106 | $(MSWDIR)\docmdi.obj \ | |
107 | $(MSWDIR)\dynarray.obj \ | |
108 | $(MSWDIR)\event.obj \ | |
109 | $(MSWDIR)\file.obj \ | |
110 | $(MSWDIR)\fileconf.obj \ | |
111 | $(MSWDIR)\filefn.obj \ | |
112 | $(MSWDIR)\framecmn.obj \ | |
113 | $(MSWDIR)\gdicmn.obj \ | |
114 | $(MSWDIR)\helpbase.obj \ | |
115 | $(MSWDIR)\image.obj \ | |
116 | $(MSWDIR)\imagpng.obj \ | |
117 | $(MSWDIR)\imagjpeg.obj \ | |
118 | $(MSWDIR)\imaggif.obj \ | |
119 | $(MSWDIR)\intl.obj \ | |
120 | $(MSWDIR)\ipcbase.obj \ | |
121 | $(MSWDIR)\log.obj \ | |
122 | $(MSWDIR)\layout.obj \ | |
123 | $(MSWDIR)\memory.obj \ | |
124 | $(MSWDIR)\mimetype.obj \ | |
125 | $(MSWDIR)\module.obj \ | |
126 | $(MSWDIR)\object.obj \ | |
127 | $(MSWDIR)\prntbase.obj \ | |
128 | $(MSWDIR)\resource.obj \ | |
129 | $(MSWDIR)\tbarbase.obj \ | |
130 | $(MSWDIR)\tbarsmpl.obj \ | |
131 | $(MSWDIR)\textfile.obj \ | |
132 | $(MSWDIR)\timercmn.obj \ | |
133 | $(MSWDIR)\utilscmn.obj \ | |
134 | $(MSWDIR)\validate.obj \ | |
135 | $(MSWDIR)\valgen.obj \ | |
136 | $(MSWDIR)\valtext.obj \ | |
137 | $(MSWDIR)\variant.obj \ | |
138 | $(MSWDIR)\date.obj \ | |
139 | $(MSWDIR)\hash.obj \ | |
140 | $(MSWDIR)\list.obj \ | |
141 | $(MSWDIR)\paper.obj \ | |
142 | $(MSWDIR)\string.obj \ | |
143 | $(MSWDIR)\time.obj \ | |
144 | $(MSWDIR)\wxexpr.obj \ | |
145 | $(MSWDIR)\y_tab.obj \ | |
146 | $(MSWDIR)\stream.obj \ | |
147 | $(MSWDIR)\wfstream.obj \ | |
148 | $(MSWDIR)\mstream.obj \ | |
149 | $(MSWDIR)\zstream.obj \ | |
150 | $(MSWDIR)\datstrm.obj \ | |
151 | $(MSWDIR)\sckstrm.obj \ | |
152 | $(MSWDIR)\extended.obj \ | |
153 | $(MSWDIR)\wincmn.obj \ | |
154 | $(MSWDIR)\objstrm.obj \ | |
155 | $(MSWDIR)\dynlib.obj \ | |
156 | $(MSWDIR)\tokenzr.obj \ | |
157 | $(MSWDIR)\socket.obj \ | |
158 | $(MSWDIR)\sckint.obj \ | |
159 | $(MSWDIR)\sckaddr.obj \ | |
160 | $(MSWDIR)\protocol.obj \ | |
161 | $(MSWDIR)\url.obj \ | |
162 | $(MSWDIR)\http.obj \ | |
163 | $(MSWDIR)\ftp.obj \ | |
164 | $(MSWDIR)\sckfile.obj \ | |
165 | $(MSWDIR)\sckipc.obj \ | |
166 | $(MSWDIR)\wxchar.obj | |
167 | ||
168 | # $(MSWDIR)\odbc.obj \ | |
169 | # $(MSWDIR)\matrix.obj \ | |
170 | ||
171 | MSWOBJS = \ | |
172 | $(MSWDIR)\accel.obj \ | |
173 | $(MSWDIR)\app.obj \ | |
174 | $(MSWDIR)\bitmap.obj \ | |
175 | $(MSWDIR)\bmpbuttn.obj \ | |
176 | $(MSWDIR)\brush.obj \ | |
177 | $(MSWDIR)\button.obj \ | |
178 | $(MSWDIR)\caret.obj \ | |
179 | $(MSWDIR)\checkbox.obj \ | |
180 | $(MSWDIR)\checklst.obj \ | |
181 | $(MSWDIR)\choice.obj \ | |
182 | $(MSWDIR)\clipbrd.obj \ | |
183 | $(MSWDIR)\colordlg.obj \ | |
184 | $(MSWDIR)\colour.obj \ | |
185 | $(MSWDIR)\combobox.obj \ | |
186 | $(MSWDIR)\control.obj \ | |
187 | $(MSWDIR)\curico.obj \ | |
188 | $(MSWDIR)\cursor.obj \ | |
189 | $(MSWDIR)\data.obj \ | |
190 | $(MSWDIR)\dc.obj \ | |
191 | $(MSWDIR)\dcmemory.obj \ | |
192 | $(MSWDIR)\dcclient.obj \ | |
193 | $(MSWDIR)\dcprint.obj \ | |
194 | $(MSWDIR)\dcscreen.obj \ | |
195 | $(MSWDIR)\dde.obj \ | |
196 | $(MSWDIR)\dialog.obj \ | |
197 | $(MSWDIR)\dib.obj \ | |
198 | $(MSWDIR)\dibutils.obj \ | |
199 | $(MSWDIR)\dirdlg.obj \ | |
200 | $(MSWDIR)\filedlg.obj \ | |
201 | $(MSWDIR)\font.obj \ | |
202 | $(MSWDIR)\fontdlg.obj \ | |
203 | $(MSWDIR)\frame.obj \ | |
204 | $(MSWDIR)\gauge95.obj \ | |
205 | $(MSWDIR)\gaugemsw.obj \ | |
206 | $(MSWDIR)\gdiobj.obj \ | |
207 | $(MSWDIR)\helpwin.obj \ | |
208 | $(MSWDIR)\icon.obj \ | |
209 | $(MSWDIR)\imaglist.obj \ | |
210 | $(MSWDIR)\joystick.obj \ | |
211 | $(MSWDIR)\listbox.obj \ | |
212 | $(MSWDIR)\listctrl.obj \ | |
213 | $(MSWDIR)\main.obj \ | |
214 | $(MSWDIR)\mdi.obj \ | |
215 | $(MSWDIR)\menu.obj \ | |
216 | $(MSWDIR)\menuitem.obj \ | |
217 | $(MSWDIR)\metafile.obj \ | |
218 | $(MSWDIR)\minifram.obj \ | |
219 | $(MSWDIR)\msgdlg.obj \ | |
220 | $(MSWDIR)\nativdlg.obj \ | |
221 | $(MSWDIR)\notebook.obj \ | |
222 | $(MSWDIR)\ownerdrw.obj \ | |
223 | $(MSWDIR)\palette.obj \ | |
224 | $(MSWDIR)\pen.obj \ | |
225 | $(MSWDIR)\penwin.obj \ | |
226 | $(MSWDIR)\pnghand.obj \ | |
227 | $(MSWDIR)\printdlg.obj \ | |
228 | $(MSWDIR)\printwin.obj \ | |
229 | $(MSWDIR)\radiobox.obj \ | |
230 | $(MSWDIR)\radiobut.obj \ | |
231 | $(MSWDIR)\region.obj \ | |
232 | $(MSWDIR)\registry.obj \ | |
233 | $(MSWDIR)\regconf.obj \ | |
234 | $(MSWDIR)\scrolbar.obj \ | |
235 | $(MSWDIR)\settings.obj \ | |
236 | $(MSWDIR)\slidrmsw.obj \ | |
237 | $(MSWDIR)\slider95.obj \ | |
238 | $(MSWDIR)\spinbutt.obj \ | |
239 | $(MSWDIR)\statbmp.obj \ | |
240 | $(MSWDIR)\statbox.obj \ | |
241 | $(MSWDIR)\stattext.obj \ | |
242 | $(MSWDIR)\statbr95.obj \ | |
243 | $(MSWDIR)\tabctrl.obj \ | |
244 | $(MSWDIR)\tbarmsw.obj \ | |
245 | $(MSWDIR)\textctrl.obj \ | |
246 | $(MSWDIR)\thread.obj \ | |
247 | $(MSWDIR)\timer.obj \ | |
248 | $(MSWDIR)\tooltip.obj \ | |
249 | $(MSWDIR)\treectrl.obj \ | |
250 | $(MSWDIR)\taskbar.obj \ | |
251 | $(MSWDIR)\tbar95.obj \ | |
252 | $(MSWDIR)\utils.obj \ | |
253 | $(MSWDIR)\utilsexc.obj \ | |
254 | $(MSWDIR)\wave.obj \ | |
255 | $(MSWDIR)\window.obj \ | |
256 | $(MSWDIR)\xpmhand.obj \ | |
257 | $(MSWDIR)\droptgt.obj \ | |
258 | $(MSWDIR)\dropsrc.obj \ | |
259 | $(MSWDIR)\oleutils.obj \ | |
260 | $(MSWDIR)\dataobj.obj \ | |
261 | $(MSWDIR)\uuid.obj | |
262 | ||
263 | # Unfortunately this causes a crash when the oleauto sample starts. | |
264 | # $(MSWDIR)\automtn.obj | |
265 | ||
266 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) | |
267 | ||
268 | default: wx | |
269 | ||
270 | wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) | |
271 | ||
272 | all: all_libs all_execs | |
273 | ||
274 | !if "$(DLL)" == "0" | |
275 | ||
276 | $(LIBTARGET): $(DUMMY).obj $(OBJECTS) | |
277 | -erase $(LIBTARGET) | |
278 | tlib $(LIBTARGET) /P512 @&&! | |
279 | +$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +) | |
280 | ! | |
281 | ||
282 | !else | |
283 | ||
284 | $(LIBTARGET): $(DUMMY).obj $(OBJECTS) | |
285 | -erase $(LIBTARGET) | |
286 | -erase $(WXLIBDIR)\wx.dll | |
287 | tlink32 $(LINK_FLAGS) /v @&&! | |
288 | c0d32.obj $(OBJECTS) | |
289 | $(WXLIBDIR)\wx | |
290 | nul | |
291 | $(PERIPH_LIBS) $(LIBS) | |
292 | wxb32 | |
293 | ! | |
294 | implib -c $(LIBTARGET) $(WXLIBDIR)\wx.dll | |
295 | ||
296 | !endif | |
297 | ||
298 | dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h | |
299 | dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h | |
300 | ||
301 | $(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c | |
302 | ||
303 | # cl @<< | |
304 | #$(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ | |
305 | #<< | |
306 | ||
307 | $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c | |
308 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
309 | ||
310 | $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c | |
311 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
312 | ||
313 | #$(OBJECTS): $(WXDIR)\include\wx\setup.h | |
314 | ||
315 | $(MSWDIR)\accel.obj: $(MSWDIR)\accel.$(SRCSUFF) | |
316 | ||
317 | $(MSWDIR)\app.obj: $(MSWDIR)\app.$(SRCSUFF) | |
318 | ||
319 | $(MSWDIR)\bitmap.obj: $(MSWDIR)\bitmap.$(SRCSUFF) | |
320 | ||
321 | $(MSWDIR)\bmpbuttn.obj: $(MSWDIR)\bmpbuttn.$(SRCSUFF) | |
322 | ||
323 | $(MSWDIR)\brush.obj: $(MSWDIR)\brush.$(SRCSUFF) | |
324 | ||
325 | $(MSWDIR)\button.obj: $(MSWDIR)\button.$(SRCSUFF) | |
326 | ||
327 | $(MSWDIR)\caret.obj: $(MSWDIR)\caret.$(SRCSUFF) | |
328 | ||
329 | $(MSWDIR)\checkbox.obj: $(MSWDIR)\checkbox.$(SRCSUFF) | |
330 | ||
331 | $(MSWDIR)\checklst.obj: $(MSWDIR)\checklst.$(SRCSUFF) | |
332 | ||
333 | $(MSWDIR)\choice.obj: $(MSWDIR)\choice.$(SRCSUFF) | |
334 | ||
335 | $(MSWDIR)\clipbrd.obj: $(MSWDIR)\clipbrd.$(SRCSUFF) | |
336 | ||
337 | $(MSWDIR)\colordlg.obj: $(MSWDIR)\colordlg.$(SRCSUFF) | |
338 | ||
339 | $(MSWDIR)\colour.obj: $(MSWDIR)\colour.$(SRCSUFF) | |
340 | ||
341 | $(MSWDIR)\combobox.obj: $(MSWDIR)\combobox.$(SRCSUFF) | |
342 | ||
343 | $(MSWDIR)\control.obj: $(MSWDIR)\control.$(SRCSUFF) | |
344 | ||
345 | $(MSWDIR)\curico.obj: $(MSWDIR)\curico.$(SRCSUFF) | |
346 | ||
347 | $(MSWDIR)\cursor.obj: $(MSWDIR)\cursor.$(SRCSUFF) | |
348 | ||
349 | $(MSWDIR)\data.obj: $(MSWDIR)\data.$(SRCSUFF) | |
350 | ||
351 | $(MSWDIR)\dde.obj: $(MSWDIR)\dde.$(SRCSUFF) | |
352 | ||
353 | $(MSWDIR)\dc.obj: $(MSWDIR)\dc.$(SRCSUFF) | |
354 | ||
355 | $(MSWDIR)\dcmemory.obj: $(MSWDIR)\dcmemory.$(SRCSUFF) | |
356 | ||
357 | $(MSWDIR)\dcclient.obj: $(MSWDIR)\dcclient.$(SRCSUFF) | |
358 | ||
359 | $(MSWDIR)\dcprint.obj: $(MSWDIR)\dcprint.$(SRCSUFF) | |
360 | ||
361 | $(MSWDIR)\dcscreen.obj: $(MSWDIR)\dcscreen.$(SRCSUFF) | |
362 | ||
363 | $(MSWDIR)\dialog.obj: $(MSWDIR)\dialog.$(SRCSUFF) | |
364 | ||
365 | $(MSWDIR)\dib.obj: $(MSWDIR)\dib.$(SRCSUFF) | |
366 | ||
367 | $(MSWDIR)\dirdlg.obj: $(MSWDIR)\dirdlg.$(SRCSUFF) | |
368 | ||
369 | $(MSWDIR)\filedlg.obj: $(MSWDIR)\filedlg.$(SRCSUFF) | |
370 | ||
371 | $(MSWDIR)\font.obj: $(MSWDIR)\font.$(SRCSUFF) | |
372 | ||
373 | $(MSWDIR)\fontdlg.obj: $(MSWDIR)\fontdlg.$(SRCSUFF) | |
374 | ||
375 | $(MSWDIR)\frame.obj: $(MSWDIR)\frame.$(SRCSUFF) | |
376 | ||
377 | $(MSWDIR)\gaugemsw.obj: $(MSWDIR)\gaugemsw.$(SRCSUFF) | |
378 | ||
379 | $(MSWDIR)\gauge95.obj: $(MSWDIR)\gauge95.$(SRCSUFF) | |
380 | ||
381 | $(MSWDIR)\gdiobj.obj: $(MSWDIR)\gdiobj.$(SRCSUFF) | |
382 | ||
383 | $(MSWDIR)\icon.obj: $(MSWDIR)\icon.$(SRCSUFF) | |
384 | ||
385 | $(MSWDIR)\imaglist.obj: $(MSWDIR)\imaglist.$(SRCSUFF) | |
386 | ||
387 | $(MSWDIR)\joystick.obj: $(MSWDIR)\joystick.$(SRCSUFF) | |
388 | ||
389 | $(MSWDIR)\listbox.obj: $(MSWDIR)\listbox.$(SRCSUFF) | |
390 | ||
391 | $(MSWDIR)\listctrl.obj: $(MSWDIR)\listctrl.$(SRCSUFF) | |
392 | ||
393 | $(MSWDIR)\main.obj: $(MSWDIR)\main.$(SRCSUFF) | |
394 | ||
395 | $(MSWDIR)\mdi.obj: $(MSWDIR)\mdi.$(SRCSUFF) | |
396 | ||
397 | $(MSWDIR)\menu.obj: $(MSWDIR)\menu.$(SRCSUFF) | |
398 | ||
399 | $(MSWDIR)\menuitem.obj: $(MSWDIR)\menu.$(SRCSUFF) | |
400 | ||
401 | $(MSWDIR)\metafile.obj: $(MSWDIR)\metafile.$(SRCSUFF) | |
402 | ||
403 | $(MSWDIR)\minifram.obj: $(MSWDIR)\minifram.$(SRCSUFF) | |
404 | ||
405 | $(MSWDIR)\msgdlg.obj: $(MSWDIR)\msgdlg.$(SRCSUFF) | |
406 | ||
407 | $(MSWDIR)\nativdlg.obj: $(MSWDIR)\nativdlg.$(SRCSUFF) | |
408 | ||
409 | $(MSWDIR)\notebook.obj: $(MSWDIR)\notebook.$(SRCSUFF) | |
410 | ||
411 | $(MSWDIR)\ownerdrw.obj: $(MSWDIR)\ownerdrw.$(SRCSUFF) | |
412 | ||
413 | $(MSWDIR)\palette.obj: $(MSWDIR)\palette.$(SRCSUFF) | |
414 | ||
415 | $(MSWDIR)\pen.obj: $(MSWDIR)\pen.$(SRCSUFF) | |
416 | ||
417 | $(MSWDIR)\penwin.obj: $(MSWDIR)\penwin.$(SRCSUFF) | |
418 | ||
419 | $(MSWDIR)\printdlg.obj: $(MSWDIR)\printdlg.$(SRCSUFF) | |
420 | ||
421 | $(MSWDIR)\printwin.obj: $(MSWDIR)\printwin.$(SRCSUFF) | |
422 | ||
423 | $(MSWDIR)\radiobox.obj: $(MSWDIR)\radiobox.$(SRCSUFF) | |
424 | ||
425 | $(MSWDIR)\radiobut.obj: $(MSWDIR)\radiobut.$(SRCSUFF) | |
426 | ||
427 | $(MSWDIR)\region.obj: $(MSWDIR)\region.$(SRCSUFF) | |
428 | ||
429 | $(MSWDIR)\registry.obj: $(MSWDIR)\registry.$(SRCSUFF) | |
430 | ||
431 | $(MSWDIR)\regconf.obj: $(MSWDIR)\regconf.$(SRCSUFF) | |
432 | ||
433 | $(MSWDIR)\scrolbar.obj: $(MSWDIR)\scrolbar.$(SRCSUFF) | |
434 | ||
435 | $(MSWDIR)\settings.obj: $(MSWDIR)\settings.$(SRCSUFF) | |
436 | ||
437 | $(MSWDIR)\slidrmsw.obj: $(MSWDIR)\slidrmsw.$(SRCSUFF) | |
438 | ||
439 | $(MSWDIR)\slider95.obj: $(MSWDIR)\slider95.$(SRCSUFF) | |
440 | ||
441 | $(MSWDIR)\spinbutt.obj: $(MSWDIR)\spinbutt.$(SRCSUFF) | |
442 | ||
443 | $(MSWDIR)\statbmp.obj: $(MSWDIR)\statbmp.$(SRCSUFF) | |
444 | ||
445 | $(MSWDIR)\statbox.obj: $(MSWDIR)\statbox.$(SRCSUFF) | |
446 | ||
447 | $(MSWDIR)\statbr95.obj: $(MSWDIR)\statbr95.$(SRCSUFF) | |
448 | ||
449 | $(MSWDIR)\stattext.obj: $(MSWDIR)\stattext.$(SRCSUFF) | |
450 | ||
451 | $(MSWDIR)\tabctrl.obj: $(MSWDIR)\tabctrl.$(SRCSUFF) | |
452 | ||
453 | $(MSWDIR)\taskbar.obj: $(MSWDIR)\taskbar.$(SRCSUFF) | |
454 | ||
455 | $(MSWDIR)\tbar95.obj: $(MSWDIR)\tbar95.$(SRCSUFF) | |
456 | ||
457 | $(MSWDIR)\tbarmsw.obj: $(MSWDIR)\tbarmsw.$(SRCSUFF) | |
458 | ||
459 | $(MSWDIR)\textctrl.obj: $(MSWDIR)\textctrl.$(SRCSUFF) | |
460 | ||
461 | $(MSWDIR)\thread.obj: $(MSWDIR)\thread.$(SRCSUFF) | |
462 | ||
463 | $(MSWDIR)\timer.obj: $(MSWDIR)\timer.$(SRCSUFF) | |
464 | ||
465 | $(MSWDIR)\tooltip.obj: $(MSWDIR)\tooltip.$(SRCSUFF) | |
466 | ||
467 | $(MSWDIR)\treectrl.obj: $(MSWDIR)\treectrl.$(SRCSUFF) | |
468 | ||
469 | $(MSWDIR)\utils.obj: $(MSWDIR)\utils.$(SRCSUFF) | |
470 | ||
471 | $(MSWDIR)\utilsexc.obj: $(MSWDIR)\utilsexc.$(SRCSUFF) | |
472 | ||
473 | $(MSWDIR)\wave.obj: $(MSWDIR)\wave.$(SRCSUFF) | |
474 | ||
475 | $(MSWDIR)\window.obj: $(MSWDIR)\window.$(SRCSUFF) | |
476 | ||
477 | $(MSWDIR)\droptgt.obj: $(OLEDIR)\droptgt.$(SRCSUFF) | |
478 | ||
479 | $(MSWDIR)\dropsrc.obj: $(OLEDIR)\dropsrc.$(SRCSUFF) | |
480 | ||
481 | $(MSWDIR)\dataobj.obj: $(OLEDIR)\dataobj.$(SRCSUFF) | |
482 | ||
483 | $(MSWDIR)\oleutils.obj: $(OLEDIR)\oleutils.$(SRCSUFF) | |
484 | ||
485 | $(MSWDIR)\uuid.obj: $(OLEDIR)\uuid.$(SRCSUFF) | |
486 | ||
487 | $(MSWDIR)\automtn.obj: $(OLEDIR)\automtn.$(SRCSUFF) | |
488 | ||
489 | ######################################################## | |
490 | # Common objects (always compiled) | |
491 | ||
492 | $(MSWDIR)\config.obj: $(COMMDIR)\config.$(SRCSUFF) | |
493 | ||
494 | $(MSWDIR)\cmndata.obj: $(COMMDIR)\cmndata.$(SRCSUFF) | |
495 | ||
496 | $(MSWDIR)\dcbase.obj: $(COMMDIR)\dcbase.$(SRCSUFF) | |
497 | ||
498 | $(MSWDIR)\docview.obj: $(COMMDIR)\docview.$(SRCSUFF) | |
499 | ||
500 | $(MSWDIR)\docmdi.obj: $(COMMDIR)\docmdi.$(SRCSUFF) | |
501 | ||
502 | $(MSWDIR)\dynarray.obj: $(COMMDIR)\dynarray.$(SRCSUFF) | |
503 | ||
504 | $(MSWDIR)\dynlib.obj: $(COMMDIR)\dynlib.$(SRCSUFF) | |
505 | ||
506 | $(MSWDIR)\event.obj: $(COMMDIR)\event.$(SRCSUFF) | |
507 | ||
508 | $(MSWDIR)\file.obj: $(COMMDIR)\file.$(SRCSUFF) | |
509 | ||
510 | $(MSWDIR)\fileconf.obj: $(COMMDIR)\fileconf.$(SRCSUFF) | |
511 | ||
512 | $(MSWDIR)\filefn.obj: $(COMMDIR)\filefn.$(SRCSUFF) | |
513 | ||
514 | $(MSWDIR)\framecmn.obj: $(COMMDIR)\framecmn.$(SRCSUFF) | |
515 | ||
516 | $(MSWDIR)\gdicmn.obj: $(COMMDIR)\gdicmn.$(SRCSUFF) | |
517 | ||
518 | $(MSWDIR)\image.obj: $(COMMDIR)\image.$(SRCSUFF) | |
519 | ||
520 | $(MSWDIR)\imagpng.obj: $(COMMDIR)\imagpng.$(SRCSUFF) | |
521 | ||
522 | $(MSWDIR)\imagjpeg.obj: $(COMMDIR)\imagjpeg.$(SRCSUFF) | |
523 | ||
524 | $(MSWDIR)\imaggif.obj: $(COMMDIR)\imaggif.$(SRCSUFF) | |
525 | ||
526 | $(MSWDIR)\image.obj: $(COMMDIR)\image.$(SRCSUFF) | |
527 | ||
528 | $(MSWDIR)\intl.obj: $(COMMDIR)\intl.$(SRCSUFF) | |
529 | ||
530 | $(MSWDIR)\ipcbase.obj: $(COMMDIR)\ipcbase.$(SRCSUFF) | |
531 | ||
532 | $(MSWDIR)\helpbase.obj: $(COMMDIR)\helpbase.$(SRCSUFF) | |
533 | ||
534 | $(MSWDIR)\layout.obj: $(COMMDIR)\layout.$(SRCSUFF) | |
535 | ||
536 | $(MSWDIR)\log.obj: $(COMMDIR)\log.$(SRCSUFF) | |
537 | ||
538 | $(MSWDIR)\memory.obj: $(COMMDIR)\memory.$(SRCSUFF) | |
539 | ||
540 | $(MSWDIR)\mimetype.obj: $(COMMDIR)\mimetype.$(SRCSUFF) | |
541 | ||
542 | $(MSWDIR)\module.obj: $(COMMDIR)\module.$(SRCSUFF) | |
543 | ||
544 | $(MSWDIR)\object.obj: $(COMMDIR)\object.$(SRCSUFF) | |
545 | ||
546 | $(MSWDIR)\odbc.obj: $(COMMDIR)\odbc.$(SRCSUFF) | |
547 | ||
548 | $(MSWDIR)\prntbase.obj: $(COMMDIR)\prntbase.$(SRCSUFF) | |
549 | ||
550 | $(MSWDIR)\resource.obj: $(COMMDIR)\resource.$(SRCSUFF) | |
551 | ||
552 | $(MSWDIR)\tbarbase.obj: $(COMMDIR)\tbarbase.$(SRCSUFF) | |
553 | ||
554 | $(MSWDIR)\tbarsmpl.obj: $(COMMDIR)\tbarsmpl.$(SRCSUFF) | |
555 | ||
556 | $(MSWDIR)\textfile.obj: $(COMMDIR)\textfile.$(SRCSUFF) | |
557 | ||
558 | $(MSWDIR)\timercmn.obj: $(COMMDIR)\timercmn.$(SRCSUFF) | |
559 | ||
560 | $(MSWDIR)\utilscmn.obj: $(COMMDIR)\utilscmn.$(SRCSUFF) | |
561 | ||
562 | $(MSWDIR)\validate.obj: $(COMMDIR)\validate.$(SRCSUFF) | |
563 | ||
564 | $(MSWDIR)\valgen.obj: $(COMMDIR)\valgen.$(SRCSUFF) | |
565 | ||
566 | $(MSWDIR)\valtext.obj: $(COMMDIR)\valtext.$(SRCSUFF) | |
567 | ||
568 | $(MSWDIR)\date.obj: $(COMMDIR)\date.$(SRCSUFF) | |
569 | ||
570 | $(MSWDIR)\wxexpr.obj: $(COMMDIR)\wxexpr.$(SRCSUFF) | |
571 | ||
572 | $(MSWDIR)\hash.obj: $(COMMDIR)\hash.$(SRCSUFF) | |
573 | ||
574 | $(MSWDIR)\list.obj: $(COMMDIR)\list.$(SRCSUFF) | |
575 | ||
576 | $(MSWDIR)\paper.obj: $(COMMDIR)\paper.$(SRCSUFF) | |
577 | ||
578 | $(MSWDIR)\string.obj: $(COMMDIR)\string.$(SRCSUFF) | |
579 | ||
580 | $(MSWDIR)\variant.obj: $(COMMDIR)\variant.$(SRCSUFF) | |
581 | ||
582 | $(MSWDIR)\matrix.obj: $(COMMDIR)\matrix.$(SRCSUFF) | |
583 | ||
584 | $(MSWDIR)\time.obj: $(COMMDIR)\time.$(SRCSUFF) | |
585 | ||
586 | $(MSWDIR)\datstrm.obj: $(COMMDIR)\datstrm.$(SRCSUFF) | |
587 | ||
588 | $(MSWDIR)\sckstrm.obj: $(COMMDIR)\sckstrm.$(SRCSUFF) | |
589 | ||
590 | $(MSWDIR)\mstream.obj: $(COMMDIR)\mstream.$(SRCSUFF) | |
591 | ||
592 | $(MSWDIR)\zstream.obj: $(COMMDIR)\zstream.$(SRCSUFF) | |
593 | ||
594 | $(MSWDIR)\wfstream.obj: $(COMMDIR)\wfstream.$(SRCSUFF) | |
595 | ||
596 | $(MSWDIR)\stream.obj: $(COMMDIR)\stream.$(SRCSUFF) | |
597 | ||
598 | $(MSWDIR)\objstrm.obj: $(COMMDIR)\objstrm.$(SRCSUFF) | |
599 | ||
600 | $(MSWDIR)\wincmn.obj: $(COMMDIR)\wincmn.$(SRCSUFF) | |
601 | ||
602 | $(MSWDIR)\extended.obj: $(COMMDIR)\extended.c | |
603 | ||
604 | $(MSWDIR)\tokenzr.obj: $(COMMDIR)\tokenzr.$(SRCSUFF) | |
605 | ||
606 | $(MSWDIR)\socket.obj: $(COMMDIR)\socket.$(SRCSUFF) | |
607 | ||
608 | $(MSWDIR)\sckint.obj: $(COMMDIR)\sckint.$(SRCSUFF) | |
609 | ||
610 | $(MSWDIR)\sckaddr.obj: $(COMMDIR)\sckaddr.$(SRCSUFF) | |
611 | ||
612 | $(MSWDIR)\protocol.obj: $(COMMDIR)\protocol.$(SRCSUFF) | |
613 | ||
614 | $(MSWDIR)\url.obj: $(COMMDIR)\url.$(SRCSUFF) | |
615 | ||
616 | $(MSWDIR)\http.obj: $(COMMDIR)\http.$(SRCSUFF) | |
617 | ||
618 | $(MSWDIR)\ftp.obj: $(COMMDIR)\ftp.$(SRCSUFF) | |
619 | ||
620 | $(MSWDIR)\sckfile.obj: $(COMMDIR)\sckfile.$(SRCSUFF) | |
621 | ||
622 | $(MSWDIR)\sckipc.obj: $(COMMDIR)\sckipc.$(SRCSUFF) | |
623 | ||
624 | $(MSWDIR)\wxchar.obj: $(COMMDIR)\wxchar.$(SRCSUFF) | |
625 | ||
626 | ######################################################## | |
627 | # Generic objects (not always compiled, depending on | |
628 | # whether platforms have native implementations) | |
629 | ||
630 | $(MSWDIR)\choicdgg.obj: $(GENDIR)\choicdgg.$(SRCSUFF) | |
631 | ||
632 | $(MSWDIR)\colrdlgg.obj: $(GENDIR)\colrdlgg.$(SRCSUFF) | |
633 | ||
634 | $(MSWDIR)\fontdlgg.obj: $(GENDIR)\fontdlgg.$(SRCSUFF) | |
635 | ||
636 | $(MSWDIR)\gridg.obj: $(GENDIR)\gridg.$(SRCSUFF) | |
637 | ||
638 | $(MSWDIR)\helpxlp.obj: $(GENDIR)\helpxlp.$(SRCSUFF) | |
639 | ||
640 | $(MSWDIR)\laywin.obj: $(GENDIR)\laywin.$(SRCSUFF) | |
641 | ||
642 | $(MSWDIR)\msgdlgg.obj: $(GENDIR)\msgdlgg.$(SRCSUFF) | |
643 | ||
644 | $(MSWDIR)\panelg.obj: $(GENDIR)\panelg.$(SRCSUFF) | |
645 | ||
646 | $(MSWDIR)\progdlgg.obj: $(GENDIR)\progdlgg.$(SRCSUFF) | |
647 | ||
648 | $(MSWDIR)\prop.obj: $(GENDIR)\prop.$(SRCSUFF) | |
649 | ||
650 | $(MSWDIR)\proplist.obj: $(GENDIR)\proplist.$(SRCSUFF) | |
651 | ||
652 | $(MSWDIR)\propform.obj: $(GENDIR)\propform.$(SRCSUFF) | |
653 | ||
654 | $(MSWDIR)\printps.obj: $(GENDIR)\printps.$(SRCSUFF) | |
655 | ||
656 | $(MSWDIR)\prntdlgg.obj: $(GENDIR)\prntdlgg.$(SRCSUFF) | |
657 | ||
658 | $(MSWDIR)\sashwin.obj: $(GENDIR)\sashwin.$(SRCSUFF) | |
659 | ||
660 | $(MSWDIR)\scrolwin.obj: $(GENDIR)\scrolwin.$(SRCSUFF) | |
661 | ||
662 | $(MSWDIR)\splitter.obj: $(GENDIR)\splitter.$(SRCSUFF) | |
663 | ||
664 | $(MSWDIR)\statusbr.obj: $(GENDIR)\statusbr.$(SRCSUFF) | |
665 | ||
666 | $(MSWDIR)\textdlgg.obj: $(GENDIR)\textdlgg.$(SRCSUFF) | |
667 | ||
668 | $(MSWDIR)\tabg.obj: $(GENDIR)\tabg.$(SRCSUFF) | |
669 | ||
670 | all_utils: | |
671 | cd $(WXDIR)\utils | |
672 | make -f makefile.b32 | |
673 | cd $(WXDIR)\src\msw | |
674 | ||
675 | all_samples: | |
676 | cd $(WXDIR)\samples | |
677 | make -f makefile.b32 | |
678 | cd $(WXDIR)\src\msw | |
679 | ||
680 | all_execs: | |
681 | cd $(WXDIR)\utils | |
682 | make -f makefile.b32 all_execs | |
683 | cd $(WXDIR)\src\msw | |
684 | ||
685 | wxxpm: $(CFG) | |
686 | cd $(WXDIR)\src\xpm | |
687 | make -f makefile.b32 -DCFG=$(CFG) -DFINAL=$(FINAL) -DWXWIN=$(WXDIR) -DDEBUG=$(DEBUG) | |
688 | cd $(WXDIR)\src\msw | |
689 | ||
690 | clean_wxxpm: $(CFG) | |
691 | cd $(WXDIR)\src\xpm | |
692 | make -f makefile.b32 clean | |
693 | cd $(WXDIR)\src\msw | |
694 | ||
695 | png: $(CFG) | |
696 | cd $(WXDIR)\src\png | |
697 | make -f makefile.b32 | |
698 | cd $(WXDIR)\src\msw | |
699 | ||
700 | clean_png: | |
701 | cd $(WXDIR)\src\png | |
702 | make -f makefile.b32 clean | |
703 | cd $(WXDIR)\src\msw | |
704 | ||
705 | zlib: $(CFG) | |
706 | cd $(WXDIR)\src\zlib | |
707 | make -f makefile.b32 lib | |
708 | cd $(WXDIR)\src\msw | |
709 | ||
710 | clean_zlib: | |
711 | cd $(WXDIR)\src\zlib | |
712 | make -f makefile.b32 clean | |
713 | cd $(WXDIR)\src\msw | |
714 | ||
715 | jpeg: $(CFG) | |
716 | cd $(WXDIR)\src\jpeg | |
717 | make -f makefile.b32 | |
718 | cd $(WXDIR)\src\msw | |
719 | ||
720 | clean_jpeg: | |
721 | cd $(WXDIR)\src\jpeg | |
722 | make -f makefile.b32 clean | |
723 | cd $(WXDIR)\src\msw | |
724 | ||
725 | $(CFG): makefile.b32 | |
726 | copy &&! | |
727 | -H=$(WXDIR)\src\msw\wx32.csm | |
728 | -3 | |
729 | -d | |
730 | -R- | |
731 | -X | |
732 | -w-par | |
733 | -w-aus | |
734 | -w-hid # virtual function A hides virtual function B | |
735 | -WE | |
736 | -tWM | |
737 | ||
738 | -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm | |
739 | -I$(WXDIR)\include\wx\msw\gnuwin32 | |
740 | ||
741 | -L$(BCCDIR)\lib | |
742 | -D__WXWIN__ | |
743 | -D__WXMSW__ | |
744 | -D__WINDOWS__ | |
745 | -DWIN32 | |
746 | $(OPT) | |
747 | $(DEBUG_FLAGS) | |
748 | $(WIN95FLAG) | |
749 | ! $(CFG) | |
750 | ||
751 | #-I$(WXDIR)\src\common\wxxpm\libxpm.34b\lib | |
752 | # -Oxt | |
753 | ||
754 | clean: $(PERIPH_CLEAN_TARGET) | |
755 | -erase $(LIBTARGET) | |
756 | -erase *.obj | |
757 | -erase *.pch | |
758 | -erase *.csm | |
759 | -erase *.cfg | |
760 | -erase ..\common\y_tab.c | |
761 | -erase ..\common\lex_yy.c | |
762 | ||
763 | cleanall: clean | |
764 | ||
765 |