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