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