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