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