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