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