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