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