]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | ||
3 | # This file was automatically generated by tmake at 22:30, 1999/10/16 | |
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=0 | |
44 | ||
45 | PERIPH_LIBS= | |
46 | PERIPH_TARGET= | |
47 | PERIPH_CLEAN_TARGET= | |
48 | ||
49 | !if "$(USE_CTL3D)" == "1" | |
50 | PERIPH_LIBS=$(BCCDIR)\lib\ctl3dv2.lib $(PERIPH_LIBS) | |
51 | !endif | |
52 | ||
53 | !if "$(USE_XPM_IN_MSW)" == "1" | |
54 | PERIPH_LIBS=$(WXDIR)\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)\choicdgg.obj \ | |
78 | $(MSWDIR)\dirdlgg.obj \ | |
79 | $(MSWDIR)\grid.obj \ | |
80 | $(MSWDIR)\imaglist.obj \ | |
81 | $(MSWDIR)\laywin.obj \ | |
82 | $(MSWDIR)\listctrl.obj \ | |
83 | $(MSWDIR)\logg.obj \ | |
84 | $(MSWDIR)\notebook.obj \ | |
85 | $(MSWDIR)\numdlgg.obj \ | |
86 | $(MSWDIR)\panelg.obj \ | |
87 | $(MSWDIR)\progdlgg.obj \ | |
88 | $(MSWDIR)\prop.obj \ | |
89 | $(MSWDIR)\propform.obj \ | |
90 | $(MSWDIR)\proplist.obj \ | |
91 | $(MSWDIR)\sashwin.obj \ | |
92 | $(MSWDIR)\scrolwin.obj \ | |
93 | $(MSWDIR)\splitter.obj \ | |
94 | $(MSWDIR)\statusbr.obj \ | |
95 | $(MSWDIR)\tabg.obj \ | |
96 | $(MSWDIR)\textdlgg.obj \ | |
97 | $(MSWDIR)\tipdlg.obj \ | |
98 | $(MSWDIR)\treectrl.obj \ | |
99 | $(MSWDIR)\wizard.obj | |
100 | ||
101 | COMMONOBJS = \ | |
102 | $(MSWDIR)\y_tab.obj \ | |
103 | $(MSWDIR)\choiccmn.obj \ | |
104 | $(MSWDIR)\cmndata.obj \ | |
105 | $(MSWDIR)\config.obj \ | |
106 | $(MSWDIR)\ctrlcmn.obj \ | |
107 | $(MSWDIR)\date.obj \ | |
108 | $(MSWDIR)\datstrm.obj \ | |
109 | $(MSWDIR)\db.obj \ | |
110 | $(MSWDIR)\dbtable.obj \ | |
111 | $(MSWDIR)\dcbase.obj \ | |
112 | $(MSWDIR)\dlgcmn.obj \ | |
113 | $(MSWDIR)\docmdi.obj \ | |
114 | $(MSWDIR)\docview.obj \ | |
115 | $(MSWDIR)\dynarray.obj \ | |
116 | $(MSWDIR)\dynlib.obj \ | |
117 | $(MSWDIR)\event.obj \ | |
118 | $(MSWDIR)\extended.obj \ | |
119 | $(MSWDIR)\ffile.obj \ | |
120 | $(MSWDIR)\file.obj \ | |
121 | $(MSWDIR)\fileconf.obj \ | |
122 | $(MSWDIR)\filefn.obj \ | |
123 | $(MSWDIR)\filesys.obj \ | |
124 | $(MSWDIR)\fontcmn.obj \ | |
125 | $(MSWDIR)\framecmn.obj \ | |
126 | $(MSWDIR)\fs_inet.obj \ | |
127 | $(MSWDIR)\fs_zip.obj \ | |
128 | $(MSWDIR)\gdicmn.obj \ | |
129 | $(MSWDIR)\gifdecod.obj \ | |
130 | $(MSWDIR)\hash.obj \ | |
131 | $(MSWDIR)\helpbase.obj \ | |
132 | $(MSWDIR)\imagall.obj \ | |
133 | $(MSWDIR)\imagbmp.obj \ | |
134 | $(MSWDIR)\image.obj \ | |
135 | $(MSWDIR)\imaggif.obj \ | |
136 | $(MSWDIR)\intl.obj \ | |
137 | $(MSWDIR)\ipcbase.obj \ | |
138 | $(MSWDIR)\layout.obj \ | |
139 | $(MSWDIR)\list.obj \ | |
140 | $(MSWDIR)\log.obj \ | |
141 | $(MSWDIR)\memory.obj \ | |
142 | $(MSWDIR)\module.obj \ | |
143 | $(MSWDIR)\mstream.obj \ | |
144 | $(MSWDIR)\object.obj \ | |
145 | $(MSWDIR)\objstrm.obj \ | |
146 | $(MSWDIR)\paper.obj \ | |
147 | $(MSWDIR)\prntbase.obj \ | |
148 | $(MSWDIR)\resource.obj \ | |
149 | $(MSWDIR)\serbase.obj \ | |
150 | $(MSWDIR)\sizer.obj \ | |
151 | $(MSWDIR)\strconv.obj \ | |
152 | $(MSWDIR)\stream.obj \ | |
153 | $(MSWDIR)\string.obj \ | |
154 | $(MSWDIR)\tbarbase.obj \ | |
155 | $(MSWDIR)\tbarsmpl.obj \ | |
156 | $(MSWDIR)\textcmn.obj \ | |
157 | $(MSWDIR)\textfile.obj \ | |
158 | $(MSWDIR)\time.obj \ | |
159 | $(MSWDIR)\timercmn.obj \ | |
160 | $(MSWDIR)\tokenzr.obj \ | |
161 | $(MSWDIR)\txtstrm.obj \ | |
162 | $(MSWDIR)\unzip.obj \ | |
163 | $(MSWDIR)\utilscmn.obj \ | |
164 | $(MSWDIR)\valgen.obj \ | |
165 | $(MSWDIR)\validate.obj \ | |
166 | $(MSWDIR)\valtext.obj \ | |
167 | $(MSWDIR)\variant.obj \ | |
168 | $(MSWDIR)\wfstream.obj \ | |
169 | $(MSWDIR)\wincmn.obj \ | |
170 | $(MSWDIR)\wxchar.obj \ | |
171 | $(MSWDIR)\wxexpr.obj \ | |
172 | $(MSWDIR)\zipstrm.obj \ | |
173 | $(MSWDIR)\zstream.obj \ | |
174 | ${MSWDIR}\resourc2.cpp | |
175 | ||
176 | MSWOBJS = $(MSWDIR)\accel.obj \ | |
177 | $(MSWDIR)\app.obj \ | |
178 | $(MSWDIR)\bitmap.obj \ | |
179 | $(MSWDIR)\bmpbuttn.obj \ | |
180 | $(MSWDIR)\brush.obj \ | |
181 | $(MSWDIR)\button.obj \ | |
182 | $(MSWDIR)\caret.obj \ | |
183 | $(MSWDIR)\checkbox.obj \ | |
184 | $(MSWDIR)\checklst.obj \ | |
185 | $(MSWDIR)\choice.obj \ | |
186 | $(MSWDIR)\clipbrd.obj \ | |
187 | $(MSWDIR)\colordlg.obj \ | |
188 | $(MSWDIR)\colour.obj \ | |
189 | $(MSWDIR)\combobox.obj \ | |
190 | $(MSWDIR)\control.obj \ | |
191 | $(MSWDIR)\curico.obj \ | |
192 | $(MSWDIR)\cursor.obj \ | |
193 | $(MSWDIR)\data.obj \ | |
194 | $(MSWDIR)\dc.obj \ | |
195 | $(MSWDIR)\dcclient.obj \ | |
196 | $(MSWDIR)\dcmemory.obj \ | |
197 | $(MSWDIR)\dcprint.obj \ | |
198 | $(MSWDIR)\dcscreen.obj \ | |
199 | $(MSWDIR)\dde.obj \ | |
200 | $(MSWDIR)\dialog.obj \ | |
201 | $(MSWDIR)\dib.obj \ | |
202 | $(MSWDIR)\dibutils.obj \ | |
203 | $(MSWDIR)\dragimag.obj \ | |
204 | $(MSWDIR)\filedlg.obj \ | |
205 | $(MSWDIR)\font.obj \ | |
206 | $(MSWDIR)\fontdlg.obj \ | |
207 | $(MSWDIR)\frame.obj \ | |
208 | $(MSWDIR)\gaugemsw.obj \ | |
209 | $(MSWDIR)\gdiobj.obj \ | |
210 | $(MSWDIR)\gsocket.obj \ | |
211 | $(MSWDIR)\helpwin.obj \ | |
212 | $(MSWDIR)\icon.obj \ | |
213 | $(MSWDIR)\iniconf.obj \ | |
214 | $(MSWDIR)\joystick.obj \ | |
215 | $(MSWDIR)\listbox.obj \ | |
216 | $(MSWDIR)\main.obj \ | |
217 | $(MSWDIR)\mdi.obj \ | |
218 | $(MSWDIR)\menu.obj \ | |
219 | $(MSWDIR)\menuitem.obj \ | |
220 | $(MSWDIR)\metafile.obj \ | |
221 | $(MSWDIR)\minifram.obj \ | |
222 | $(MSWDIR)\msgdlg.obj \ | |
223 | $(MSWDIR)\nativdlg.obj \ | |
224 | $(MSWDIR)\ownerdrw.obj \ | |
225 | $(MSWDIR)\palette.obj \ | |
226 | $(MSWDIR)\pen.obj \ | |
227 | $(MSWDIR)\penwin.obj \ | |
228 | $(MSWDIR)\printdlg.obj \ | |
229 | $(MSWDIR)\printwin.obj \ | |
230 | $(MSWDIR)\radiobox.obj \ | |
231 | $(MSWDIR)\radiobut.obj \ | |
232 | $(MSWDIR)\region.obj \ | |
233 | $(MSWDIR)\scrolbar.obj \ | |
234 | $(MSWDIR)\settings.obj \ | |
235 | $(MSWDIR)\slidrmsw.obj \ | |
236 | $(MSWDIR)\spinbutt.obj \ | |
237 | $(MSWDIR)\spinctrl.obj \ | |
238 | $(MSWDIR)\statbmp.obj \ | |
239 | $(MSWDIR)\statbox.obj \ | |
240 | $(MSWDIR)\statline.obj \ | |
241 | $(MSWDIR)\stattext.obj \ | |
242 | $(MSWDIR)\tabctrl.obj \ | |
243 | $(MSWDIR)\tbarmsw.obj \ | |
244 | $(MSWDIR)\textctrl.obj \ | |
245 | $(MSWDIR)\timer.obj \ | |
246 | $(MSWDIR)\utils.obj \ | |
247 | $(MSWDIR)\utilsexc.obj \ | |
248 | $(MSWDIR)\wave.obj \ | |
249 | $(MSWDIR)\window.obj \ | |
250 | $(MSWDIR)\xpmhand.obj | |
251 | ||
252 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) | |
253 | ||
254 | default: wx | |
255 | ||
256 | wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) | |
257 | ||
258 | $(LIBTARGET): $(DUMMY).obj $(OBJECTS) $(PERIPH_LIBS) | |
259 | erase $(LIBTARGET) | |
260 | tlib $(LIBTARGET) /P1024 @&&! | |
261 | +$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +) | |
262 | ! | |
263 | ||
264 | dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h | |
265 | dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h | |
266 | ||
267 | $(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c | |
268 | ||
269 | # cl @<< | |
270 | # $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ | |
271 | # << | |
272 | ||
273 | $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c | |
274 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
275 | ||
276 | $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c | |
277 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
278 | ||
279 | # $(OBJECTS): $(WXDIR)\include\wx\setup.h | |
280 | ||
281 | $(MSWDIR)\accel.obj: $(MSWDIR)\accel.$(SRCSUFF) | |
282 | ||
283 | $(MSWDIR)\app.obj: $(MSWDIR)\app.$(SRCSUFF) | |
284 | ||
285 | $(MSWDIR)\bitmap.obj: $(MSWDIR)\bitmap.$(SRCSUFF) | |
286 | ||
287 | $(MSWDIR)\bmpbuttn.obj: $(MSWDIR)\bmpbuttn.$(SRCSUFF) | |
288 | ||
289 | $(MSWDIR)\brush.obj: $(MSWDIR)\brush.$(SRCSUFF) | |
290 | ||
291 | $(MSWDIR)\button.obj: $(MSWDIR)\button.$(SRCSUFF) | |
292 | ||
293 | $(MSWDIR)\caret.obj: $(MSWDIR)\caret.$(SRCSUFF) | |
294 | ||
295 | $(MSWDIR)\checkbox.obj: $(MSWDIR)\checkbox.$(SRCSUFF) | |
296 | ||
297 | $(MSWDIR)\checklst.obj: $(MSWDIR)\checklst.$(SRCSUFF) | |
298 | ||
299 | $(MSWDIR)\choice.obj: $(MSWDIR)\choice.$(SRCSUFF) | |
300 | ||
301 | $(MSWDIR)\clipbrd.obj: $(MSWDIR)\clipbrd.$(SRCSUFF) | |
302 | ||
303 | $(MSWDIR)\colordlg.obj: $(MSWDIR)\colordlg.$(SRCSUFF) | |
304 | ||
305 | $(MSWDIR)\colour.obj: $(MSWDIR)\colour.$(SRCSUFF) | |
306 | ||
307 | $(MSWDIR)\combobox.obj: $(MSWDIR)\combobox.$(SRCSUFF) | |
308 | ||
309 | $(MSWDIR)\control.obj: $(MSWDIR)\control.$(SRCSUFF) | |
310 | ||
311 | $(MSWDIR)\curico.obj: $(MSWDIR)\curico.$(SRCSUFF) | |
312 | ||
313 | $(MSWDIR)\cursor.obj: $(MSWDIR)\cursor.$(SRCSUFF) | |
314 | ||
315 | $(MSWDIR)\data.obj: $(MSWDIR)\data.$(SRCSUFF) | |
316 | ||
317 | $(MSWDIR)\dc.obj: $(MSWDIR)\dc.$(SRCSUFF) | |
318 | ||
319 | $(MSWDIR)\dcclient.obj: $(MSWDIR)\dcclient.$(SRCSUFF) | |
320 | ||
321 | $(MSWDIR)\dcmemory.obj: $(MSWDIR)\dcmemory.$(SRCSUFF) | |
322 | ||
323 | $(MSWDIR)\dcprint.obj: $(MSWDIR)\dcprint.$(SRCSUFF) | |
324 | ||
325 | $(MSWDIR)\dcscreen.obj: $(MSWDIR)\dcscreen.$(SRCSUFF) | |
326 | ||
327 | $(MSWDIR)\dde.obj: $(MSWDIR)\dde.$(SRCSUFF) | |
328 | ||
329 | $(MSWDIR)\dialog.obj: $(MSWDIR)\dialog.$(SRCSUFF) | |
330 | ||
331 | $(MSWDIR)\dib.obj: $(MSWDIR)\dib.$(SRCSUFF) | |
332 | ||
333 | $(MSWDIR)\dibutils.obj: $(MSWDIR)\dibutils.$(SRCSUFF) | |
334 | ||
335 | $(MSWDIR)\dragimag.obj: $(MSWDIR)\dragimag.$(SRCSUFF) | |
336 | ||
337 | $(MSWDIR)\filedlg.obj: $(MSWDIR)\filedlg.$(SRCSUFF) | |
338 | ||
339 | $(MSWDIR)\font.obj: $(MSWDIR)\font.$(SRCSUFF) | |
340 | ||
341 | $(MSWDIR)\fontdlg.obj: $(MSWDIR)\fontdlg.$(SRCSUFF) | |
342 | ||
343 | $(MSWDIR)\frame.obj: $(MSWDIR)\frame.$(SRCSUFF) | |
344 | ||
345 | $(MSWDIR)\gaugemsw.obj: $(MSWDIR)\gaugemsw.$(SRCSUFF) | |
346 | ||
347 | $(MSWDIR)\gdiobj.obj: $(MSWDIR)\gdi$(SRCSUFF).obj | |
348 | ||
349 | $(MSWDIR)\gsocket.obj: $(MSWDIR)\gsocket.c | |
350 | ||
351 | $(MSWDIR)\helpwin.obj: $(MSWDIR)\helpwin.$(SRCSUFF) | |
352 | ||
353 | $(MSWDIR)\icon.obj: $(MSWDIR)\icon.$(SRCSUFF) | |
354 | ||
355 | $(MSWDIR)\iniconf.obj: $(MSWDIR)\iniconf.$(SRCSUFF) | |
356 | ||
357 | $(MSWDIR)\joystick.obj: $(MSWDIR)\joystick.$(SRCSUFF) | |
358 | ||
359 | $(MSWDIR)\listbox.obj: $(MSWDIR)\listbox.$(SRCSUFF) | |
360 | ||
361 | $(MSWDIR)\main.obj: $(MSWDIR)\main.$(SRCSUFF) | |
362 | ||
363 | $(MSWDIR)\mdi.obj: $(MSWDIR)\mdi.$(SRCSUFF) | |
364 | ||
365 | $(MSWDIR)\menu.obj: $(MSWDIR)\menu.$(SRCSUFF) | |
366 | ||
367 | $(MSWDIR)\menuitem.obj: $(MSWDIR)\menuitem.$(SRCSUFF) | |
368 | ||
369 | $(MSWDIR)\metafile.obj: $(MSWDIR)\metafile.$(SRCSUFF) | |
370 | ||
371 | $(MSWDIR)\minifram.obj: $(MSWDIR)\minifram.$(SRCSUFF) | |
372 | ||
373 | $(MSWDIR)\msgdlg.obj: $(MSWDIR)\msgdlg.$(SRCSUFF) | |
374 | ||
375 | $(MSWDIR)\nativdlg.obj: $(MSWDIR)\nativdlg.$(SRCSUFF) | |
376 | ||
377 | $(MSWDIR)\ownerdrw.obj: $(MSWDIR)\ownerdrw.$(SRCSUFF) | |
378 | ||
379 | $(MSWDIR)\palette.obj: $(MSWDIR)\palette.$(SRCSUFF) | |
380 | ||
381 | $(MSWDIR)\pen.obj: $(MSWDIR)\pen.$(SRCSUFF) | |
382 | ||
383 | $(MSWDIR)\penwin.obj: $(MSWDIR)\penwin.$(SRCSUFF) | |
384 | ||
385 | $(MSWDIR)\printdlg.obj: $(MSWDIR)\printdlg.$(SRCSUFF) | |
386 | ||
387 | $(MSWDIR)\printwin.obj: $(MSWDIR)\printwin.$(SRCSUFF) | |
388 | ||
389 | $(MSWDIR)\radiobox.obj: $(MSWDIR)\radiobox.$(SRCSUFF) | |
390 | ||
391 | $(MSWDIR)\radiobut.obj: $(MSWDIR)\radiobut.$(SRCSUFF) | |
392 | ||
393 | $(MSWDIR)\region.obj: $(MSWDIR)\region.$(SRCSUFF) | |
394 | ||
395 | $(MSWDIR)\scrolbar.obj: $(MSWDIR)\scrolbar.$(SRCSUFF) | |
396 | ||
397 | $(MSWDIR)\settings.obj: $(MSWDIR)\settings.$(SRCSUFF) | |
398 | ||
399 | $(MSWDIR)\slidrmsw.obj: $(MSWDIR)\slidrmsw.$(SRCSUFF) | |
400 | ||
401 | $(MSWDIR)\spinbutt.obj: $(MSWDIR)\spinbutt.$(SRCSUFF) | |
402 | ||
403 | $(MSWDIR)\spinctrl.obj: $(MSWDIR)\spinctrl.$(SRCSUFF) | |
404 | ||
405 | $(MSWDIR)\statbmp.obj: $(MSWDIR)\statbmp.$(SRCSUFF) | |
406 | ||
407 | $(MSWDIR)\statbox.obj: $(MSWDIR)\statbox.$(SRCSUFF) | |
408 | ||
409 | $(MSWDIR)\statline.obj: $(MSWDIR)\statline.$(SRCSUFF) | |
410 | ||
411 | $(MSWDIR)\stattext.obj: $(MSWDIR)\stattext.$(SRCSUFF) | |
412 | ||
413 | $(MSWDIR)\tabctrl.obj: $(MSWDIR)\tabctrl.$(SRCSUFF) | |
414 | ||
415 | $(MSWDIR)\tbarmsw.obj: $(MSWDIR)\tbarmsw.$(SRCSUFF) | |
416 | ||
417 | $(MSWDIR)\textctrl.obj: $(MSWDIR)\textctrl.$(SRCSUFF) | |
418 | ||
419 | $(MSWDIR)\timer.obj: $(MSWDIR)\timer.$(SRCSUFF) | |
420 | ||
421 | $(MSWDIR)\utils.obj: $(MSWDIR)\utils.$(SRCSUFF) | |
422 | ||
423 | $(MSWDIR)\utilsexc.obj: $(MSWDIR)\utilsexc.$(SRCSUFF) | |
424 | ||
425 | $(MSWDIR)\wave.obj: $(MSWDIR)\wave.$(SRCSUFF) | |
426 | ||
427 | $(MSWDIR)\window.obj: $(MSWDIR)\window.$(SRCSUFF) | |
428 | ||
429 | $(MSWDIR)\xpmhand.obj: $(MSWDIR)\xpmhand.$(SRCSUFF) | |
430 | ||
431 | ||
432 | ||
433 | ######################################################## | |
434 | # Common objects (always compiled) | |
435 | ||
436 | $(MSWDIR)\choiccmn.obj: $(COMMDIR)\choiccmn.$(SRCSUFF) | |
437 | ||
438 | $(MSWDIR)\cmndata.obj: $(COMMDIR)\cmndata.$(SRCSUFF) | |
439 | ||
440 | $(MSWDIR)\config.obj: $(COMMDIR)\config.$(SRCSUFF) | |
441 | ||
442 | $(MSWDIR)\ctrlcmn.obj: $(COMMDIR)\ctrlcmn.$(SRCSUFF) | |
443 | ||
444 | $(MSWDIR)\date.obj: $(COMMDIR)\date.$(SRCSUFF) | |
445 | ||
446 | $(MSWDIR)\datstrm.obj: $(COMMDIR)\datstrm.$(SRCSUFF) | |
447 | ||
448 | $(MSWDIR)\db.obj: $(COMMDIR)\db.$(SRCSUFF) | |
449 | ||
450 | $(MSWDIR)\dbtable.obj: $(COMMDIR)\dbtable.$(SRCSUFF) | |
451 | ||
452 | $(MSWDIR)\dcbase.obj: $(COMMDIR)\dcbase.$(SRCSUFF) | |
453 | ||
454 | $(MSWDIR)\dlgcmn.obj: $(COMMDIR)\dlgcmn.$(SRCSUFF) | |
455 | ||
456 | $(MSWDIR)\docmdi.obj: $(COMMDIR)\docmdi.$(SRCSUFF) | |
457 | ||
458 | $(MSWDIR)\docview.obj: $(COMMDIR)\docview.$(SRCSUFF) | |
459 | ||
460 | $(MSWDIR)\dynarray.obj: $(COMMDIR)\dynarray.$(SRCSUFF) | |
461 | ||
462 | $(MSWDIR)\dynlib.obj: $(COMMDIR)\dynlib.$(SRCSUFF) | |
463 | ||
464 | $(MSWDIR)\event.obj: $(COMMDIR)\event.$(SRCSUFF) | |
465 | ||
466 | $(MSWDIR)\extended.obj: $(COMMDIR)\extended.c | |
467 | ||
468 | $(MSWDIR)\ffile.obj: $(COMMDIR)\ffile.$(SRCSUFF) | |
469 | ||
470 | $(MSWDIR)\file.obj: $(COMMDIR)\file.$(SRCSUFF) | |
471 | ||
472 | $(MSWDIR)\fileconf.obj: $(COMMDIR)\fileconf.$(SRCSUFF) | |
473 | ||
474 | $(MSWDIR)\filefn.obj: $(COMMDIR)\filefn.$(SRCSUFF) | |
475 | ||
476 | $(MSWDIR)\filesys.obj: $(COMMDIR)\filesys.$(SRCSUFF) | |
477 | ||
478 | $(MSWDIR)\fontcmn.obj: $(COMMDIR)\fontcmn.$(SRCSUFF) | |
479 | ||
480 | $(MSWDIR)\framecmn.obj: $(COMMDIR)\framecmn.$(SRCSUFF) | |
481 | ||
482 | $(MSWDIR)\fs_inet.obj: $(COMMDIR)\fs_inet.$(SRCSUFF) | |
483 | ||
484 | $(MSWDIR)\fs_zip.obj: $(COMMDIR)\fs_zip.$(SRCSUFF) | |
485 | ||
486 | $(MSWDIR)\gdicmn.obj: $(COMMDIR)\gdicmn.$(SRCSUFF) | |
487 | ||
488 | $(MSWDIR)\gifdecod.obj: $(COMMDIR)\gifdecod.$(SRCSUFF) | |
489 | ||
490 | $(MSWDIR)\hash.obj: $(COMMDIR)\hash.$(SRCSUFF) | |
491 | ||
492 | $(MSWDIR)\helpbase.obj: $(COMMDIR)\helpbase.$(SRCSUFF) | |
493 | ||
494 | $(MSWDIR)\imagall.obj: $(COMMDIR)\imagall.$(SRCSUFF) | |
495 | ||
496 | $(MSWDIR)\imagbmp.obj: $(COMMDIR)\imagbmp.$(SRCSUFF) | |
497 | ||
498 | $(MSWDIR)\image.obj: $(COMMDIR)\image.$(SRCSUFF) | |
499 | ||
500 | $(MSWDIR)\imaggif.obj: $(COMMDIR)\imaggif.$(SRCSUFF) | |
501 | ||
502 | $(MSWDIR)\intl.obj: $(COMMDIR)\intl.$(SRCSUFF) | |
503 | ||
504 | $(MSWDIR)\ipcbase.obj: $(COMMDIR)\ipcbase.$(SRCSUFF) | |
505 | ||
506 | $(MSWDIR)\layout.obj: $(COMMDIR)\layout.$(SRCSUFF) | |
507 | ||
508 | $(MSWDIR)\list.obj: $(COMMDIR)\list.$(SRCSUFF) | |
509 | ||
510 | $(MSWDIR)\log.obj: $(COMMDIR)\log.$(SRCSUFF) | |
511 | ||
512 | $(MSWDIR)\memory.obj: $(COMMDIR)\memory.$(SRCSUFF) | |
513 | ||
514 | $(MSWDIR)\module.obj: $(COMMDIR)\module.$(SRCSUFF) | |
515 | ||
516 | $(MSWDIR)\mstream.obj: $(COMMDIR)\mstream.$(SRCSUFF) | |
517 | ||
518 | $(MSWDIR)\object.obj: $(COMMDIR)\$(SRCSUFF)ect.obj | |
519 | ||
520 | $(MSWDIR)\objstrm.obj: $(COMMDIR)\$(SRCSUFF)strm.obj | |
521 | ||
522 | $(MSWDIR)\paper.obj: $(COMMDIR)\paper.$(SRCSUFF) | |
523 | ||
524 | $(MSWDIR)\prntbase.obj: $(COMMDIR)\prntbase.$(SRCSUFF) | |
525 | ||
526 | $(MSWDIR)\resource.obj: $(COMMDIR)\resource.$(SRCSUFF) | |
527 | ||
528 | $(MSWDIR)\serbase.obj: $(COMMDIR)\serbase.$(SRCSUFF) | |
529 | ||
530 | $(MSWDIR)\sizer.obj: $(COMMDIR)\sizer.$(SRCSUFF) | |
531 | ||
532 | $(MSWDIR)\strconv.obj: $(COMMDIR)\strconv.$(SRCSUFF) | |
533 | ||
534 | $(MSWDIR)\stream.obj: $(COMMDIR)\stream.$(SRCSUFF) | |
535 | ||
536 | $(MSWDIR)\string.obj: $(COMMDIR)\string.$(SRCSUFF) | |
537 | ||
538 | $(MSWDIR)\tbarbase.obj: $(COMMDIR)\tbarbase.$(SRCSUFF) | |
539 | ||
540 | $(MSWDIR)\tbarsmpl.obj: $(COMMDIR)\tbarsmpl.$(SRCSUFF) | |
541 | ||
542 | $(MSWDIR)\textcmn.obj: $(COMMDIR)\textcmn.$(SRCSUFF) | |
543 | ||
544 | $(MSWDIR)\textfile.obj: $(COMMDIR)\textfile.$(SRCSUFF) | |
545 | ||
546 | $(MSWDIR)\time.obj: $(COMMDIR)\time.$(SRCSUFF) | |
547 | ||
548 | $(MSWDIR)\timercmn.obj: $(COMMDIR)\timercmn.$(SRCSUFF) | |
549 | ||
550 | $(MSWDIR)\tokenzr.obj: $(COMMDIR)\tokenzr.$(SRCSUFF) | |
551 | ||
552 | $(MSWDIR)\txtstrm.obj: $(COMMDIR)\txtstrm.$(SRCSUFF) | |
553 | ||
554 | $(MSWDIR)\unzip.obj: $(COMMDIR)\unzip.c | |
555 | ||
556 | $(MSWDIR)\utilscmn.obj: $(COMMDIR)\utilscmn.$(SRCSUFF) | |
557 | ||
558 | $(MSWDIR)\valgen.obj: $(COMMDIR)\valgen.$(SRCSUFF) | |
559 | ||
560 | $(MSWDIR)\validate.obj: $(COMMDIR)\validate.$(SRCSUFF) | |
561 | ||
562 | $(MSWDIR)\valtext.obj: $(COMMDIR)\valtext.$(SRCSUFF) | |
563 | ||
564 | $(MSWDIR)\variant.obj: $(COMMDIR)\variant.$(SRCSUFF) | |
565 | ||
566 | $(MSWDIR)\wfstream.obj: $(COMMDIR)\wfstream.$(SRCSUFF) | |
567 | ||
568 | $(MSWDIR)\wincmn.obj: $(COMMDIR)\wincmn.$(SRCSUFF) | |
569 | ||
570 | $(MSWDIR)\wxchar.obj: $(COMMDIR)\wxchar.$(SRCSUFF) | |
571 | ||
572 | $(MSWDIR)\wxexpr.obj: $(COMMDIR)\wxexpr.$(SRCSUFF) | |
573 | ||
574 | $(MSWDIR)\zipstrm.obj: $(COMMDIR)\zipstrm.$(SRCSUFF) | |
575 | ||
576 | $(MSWDIR)\zstream.obj: $(COMMDIR)\zstream.$(SRCSUFF) | |
577 | ||
578 | ${MSWDIR}\resourc2.cpp: ${COMMDIR}\resourc2.cpp | |
579 | ||
580 | ||
581 | ||
582 | ######################################################## | |
583 | # Generic objects (not always compiled, depending on | |
584 | # whether platforms have native implementations) | |
585 | ||
586 | $(MSWDIR)\busyinfo.obj: $(GENDIR)\busyinfo.$(SRCSUFF) | |
587 | ||
588 | $(MSWDIR)\choicdgg.obj: $(GENDIR)\choicdgg.$(SRCSUFF) | |
589 | ||
590 | $(MSWDIR)\dirdlgg.obj: $(GENDIR)\dirdlgg.$(SRCSUFF) | |
591 | ||
592 | $(MSWDIR)\grid.obj: $(GENDIR)\grid.$(SRCSUFF) | |
593 | ||
594 | $(MSWDIR)\imaglist.obj: $(GENDIR)\imaglist.$(SRCSUFF) | |
595 | ||
596 | $(MSWDIR)\laywin.obj: $(GENDIR)\laywin.$(SRCSUFF) | |
597 | ||
598 | $(MSWDIR)\listctrl.obj: $(GENDIR)\listctrl.$(SRCSUFF) | |
599 | ||
600 | $(MSWDIR)\logg.obj: $(GENDIR)\logg.$(SRCSUFF) | |
601 | ||
602 | $(MSWDIR)\notebook.obj: $(GENDIR)\notebook.$(SRCSUFF) | |
603 | ||
604 | $(MSWDIR)\numdlgg.obj: $(GENDIR)\numdlgg.$(SRCSUFF) | |
605 | ||
606 | $(MSWDIR)\panelg.obj: $(GENDIR)\panelg.$(SRCSUFF) | |
607 | ||
608 | $(MSWDIR)\progdlgg.obj: $(GENDIR)\progdlgg.$(SRCSUFF) | |
609 | ||
610 | $(MSWDIR)\prop.obj: $(GENDIR)\prop.$(SRCSUFF) | |
611 | ||
612 | $(MSWDIR)\propform.obj: $(GENDIR)\propform.$(SRCSUFF) | |
613 | ||
614 | $(MSWDIR)\proplist.obj: $(GENDIR)\proplist.$(SRCSUFF) | |
615 | ||
616 | $(MSWDIR)\sashwin.obj: $(GENDIR)\sashwin.$(SRCSUFF) | |
617 | ||
618 | $(MSWDIR)\scrolwin.obj: $(GENDIR)\scrolwin.$(SRCSUFF) | |
619 | ||
620 | $(MSWDIR)\splitter.obj: $(GENDIR)\splitter.$(SRCSUFF) | |
621 | ||
622 | $(MSWDIR)\statusbr.obj: $(GENDIR)\statusbr.$(SRCSUFF) | |
623 | ||
624 | $(MSWDIR)\tabg.obj: $(GENDIR)\tabg.$(SRCSUFF) | |
625 | ||
626 | $(MSWDIR)\textdlgg.obj: $(GENDIR)\textdlgg.$(SRCSUFF) | |
627 | ||
628 | $(MSWDIR)\tipdlg.obj: $(GENDIR)\tipdlg.$(SRCSUFF) | |
629 | ||
630 | $(MSWDIR)\treectrl.obj: $(GENDIR)\treectrl.$(SRCSUFF) | |
631 | ||
632 | $(MSWDIR)\wizard.obj: $(GENDIR)\wizard.$(SRCSUFF) | |
633 | ||
634 | ||
635 | ||
636 | all_utils: | |
637 | cd $(WXDIR)\utils | |
638 | make -f makefile.bcc | |
639 | cd $(WXDIR)\src\msw | |
640 | ||
641 | all_samples: | |
642 | cd $(WXDIR)\samples | |
643 | make -f makefile.bcc | |
644 | cd $(WXDIR)\src\msw | |
645 | ||
646 | all_execs: | |
647 | cd $(WXDIR)\utils | |
648 | make -f makefile.bcc all_execs | |
649 | cd $(WXDIR)\src\msw | |
650 | ||
651 | all_libs: | |
652 | cd $(WXDIR)\src\msw | |
653 | make -f makefile.bcc ctl3d dib fafa gauge hytext itsy prologio rcparser wx wxgraph\ | |
654 | wxstring wxtree mfutils # wxxpm | |
655 | ||
656 | all_contribs: | |
657 | cd $(WXDIR)\src\msw | |
658 | make -f makefile.bcc ctl3d fafa wxstring itsy gauge # wxxpm | |
659 | ||
660 | # CONTRIB | |
661 | ctl3d: $(CFG) | |
662 | cd $(WXDIR)\src\msw\ctl3d\borland | |
663 | make -f makefile.bcc -DCFG=$(CFG) | |
664 | cd $(WXDIR)\src\msw | |
665 | ||
666 | wxxpm: $(CFG) | |
667 | cd $(WXDIR)\src\xpm | |
668 | make -f makefile.bcc -DCFG=$(CFG) -DFINAL=$(FINAL) -DWXWIN=$(WXDIR) -DDEBUG=$(DEBUG) | |
669 | cd $(WXDIR)\src\msw | |
670 | ||
671 | png: $(CFG) | |
672 | cd $(WXDIR)\src\png | |
673 | make -f makefile.bcc | |
674 | cd $(WXDIR)\src\msw | |
675 | ||
676 | clean_png: | |
677 | cd $(WXDIR)\src\png | |
678 | make -f makefile.bcc clean | |
679 | cd $(WXDIR)\src\msw | |
680 | ||
681 | zlib: $(CFG) | |
682 | cd $(WXDIR)\src\zlib | |
683 | make -f makefile.bcc | |
684 | cd $(WXDIR)\src\msw | |
685 | ||
686 | clean_zlib: | |
687 | cd $(WXDIR)\src\zlib | |
688 | make -f makefile.bcc clean | |
689 | cd $(WXDIR)\src\msw | |
690 | ||
691 | $(CFG): makefile.bcc | |
692 | copy &&! | |
693 | -H=$(WXDIR)\src\msw\borland.pch | |
694 | -2 | |
695 | -P | |
696 | -d | |
697 | -w-hid | |
698 | -w-par | |
699 | -w-pia | |
700 | -w-aus | |
701 | -w-rch | |
702 | -ml | |
703 | -Od | |
704 | -WE | |
705 | -Fs- | |
706 | -Vf | |
707 | -Ff=4 | |
708 | -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm | |
709 | -I$(WXDIR)\include\wx\msw\gnuwin32 | |
710 | -L$(BCCDIR)\lib | |
711 | -D__WXWIN__ | |
712 | -D__WXMSW__ | |
713 | -D__WINDOWS__ | |
714 | -D__WIN16__ | |
715 | ! $(CFG) | |
716 | !if "$(BOR_VER)" == "3.1" | |
717 | echo -Ff=4 >>$(CFG) | |
718 | !elif "$(BOR_VER)" == "4" | |
719 | echo -Ff=512 >>$(CFG) | |
720 | echo -dc >>$(CFG) | |
721 | !else | |
722 | echo -Ff=512 >>$(CFG) | |
723 | echo -dc >>$(CFG) | |
724 | !endif | |
725 | ||
726 | # -O was: -Oxt | |
727 | ||
728 | clean: $(PERIPH_CLEAN_TARGET) | |
729 | erase $(LIBTARGET) | |
730 | erase *.obj | |
731 | erase *.pch | |
732 | erase *.csm | |
733 | erase *.cfg | |
734 | erase ..\common\y_tab.c | |
735 | erase ..\common\lex_yy.c | |
736 | ||
737 | cleanall: clean | |
738 | ||
739 | ||
740 | MFTYPE=bcc | |
741 | # Can't use this or we'll have to distribute all tmake files with wxWindows | |
742 | #makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t | |
743 | ||
744 | self: | |
745 | cd $(WXWIN)\distrib\msw\tmake | |
746 | tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE) | |
747 | copy makefile.$(MFTYPE) $(WXWIN)\src\msw |