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