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