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