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