]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | ||
3 | # This file was automatically generated by tmake at 15:55, 2000/03/14 | |
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=1 | |
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)\lib\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)\gsockmsw.obj \ | |
235 | $(MSWDIR)\helpwin.obj \ | |
236 | $(MSWDIR)\icon.obj \ | |
237 | $(MSWDIR)\iniconf.obj \ | |
238 | $(MSWDIR)\joystick.obj \ | |
239 | $(MSWDIR)\listbox.obj \ | |
240 | $(MSWDIR)\main.obj \ | |
241 | $(MSWDIR)\mdi.obj \ | |
242 | $(MSWDIR)\menu.obj \ | |
243 | $(MSWDIR)\menuitem.obj \ | |
244 | $(MSWDIR)\metafile.obj \ | |
245 | $(MSWDIR)\minifram.obj \ | |
246 | $(MSWDIR)\msgdlg.obj \ | |
247 | $(MSWDIR)\nativdlg.obj \ | |
248 | $(MSWDIR)\ownerdrw.obj \ | |
249 | $(MSWDIR)\palette.obj \ | |
250 | $(MSWDIR)\pen.obj \ | |
251 | $(MSWDIR)\penwin.obj \ | |
252 | $(MSWDIR)\printdlg.obj \ | |
253 | $(MSWDIR)\printwin.obj \ | |
254 | $(MSWDIR)\radiobox.obj \ | |
255 | $(MSWDIR)\radiobut.obj \ | |
256 | $(MSWDIR)\region.obj \ | |
257 | $(MSWDIR)\scrolbar.obj \ | |
258 | $(MSWDIR)\settings.obj \ | |
259 | $(MSWDIR)\slidrmsw.obj \ | |
260 | $(MSWDIR)\spinbutt.obj \ | |
261 | $(MSWDIR)\spinctrl.obj \ | |
262 | $(MSWDIR)\statbmp.obj \ | |
263 | $(MSWDIR)\statbox.obj \ | |
264 | $(MSWDIR)\statline.obj \ | |
265 | $(MSWDIR)\stattext.obj \ | |
266 | $(MSWDIR)\tabctrl.obj \ | |
267 | $(MSWDIR)\tbarmsw.obj \ | |
268 | $(MSWDIR)\textctrl.obj \ | |
269 | $(MSWDIR)\timer.obj \ | |
270 | $(MSWDIR)\utils.obj \ | |
271 | $(MSWDIR)\utilsexc.obj \ | |
272 | $(MSWDIR)\wave.obj \ | |
273 | $(MSWDIR)\window.obj \ | |
274 | $(MSWDIR)\xpmhand.obj | |
275 | ||
276 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) | |
277 | ||
278 | default: wx | |
279 | ||
280 | wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) | |
281 | ||
282 | $(LIBTARGET): $(DUMMY).obj $(OBJECTS) $(PERIPH_LIBS) | |
283 | erase $(LIBTARGET) | |
284 | tlib $(LIBTARGET) /P2048 @&&! | |
285 | +$(COMMONOBJS:.obj =.obj +)\ | |
286 | +$(GENERICOBJS:.obj =.obj +)\ | |
287 | +$(MSWOBJS:.obj =.obj +)\ | |
288 | +$(PERIPH_LIBS:.lib =.lib +) | |
289 | ! | |
290 | ||
291 | dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h | |
292 | dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h | |
293 | ||
294 | $(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c | |
295 | ||
296 | # cl @<< | |
297 | # $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ | |
298 | # << | |
299 | ||
300 | $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c | |
301 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
302 | ||
303 | $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c | |
304 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
305 | ||
306 | # $(OBJECTS): $(WXDIR)\include\wx\setup.h | |
307 | ||
308 | $(MSWDIR)\accel.obj: $(MSWDIR)\accel.$(SRCSUFF) | |
309 | ||
310 | $(MSWDIR)\app.obj: $(MSWDIR)\app.$(SRCSUFF) | |
311 | ||
312 | $(MSWDIR)\bitmap.obj: $(MSWDIR)\bitmap.$(SRCSUFF) | |
313 | ||
314 | $(MSWDIR)\bmpbuttn.obj: $(MSWDIR)\bmpbuttn.$(SRCSUFF) | |
315 | ||
316 | $(MSWDIR)\brush.obj: $(MSWDIR)\brush.$(SRCSUFF) | |
317 | ||
318 | $(MSWDIR)\button.obj: $(MSWDIR)\button.$(SRCSUFF) | |
319 | ||
320 | $(MSWDIR)\caret.obj: $(MSWDIR)\caret.$(SRCSUFF) | |
321 | ||
322 | $(MSWDIR)\checkbox.obj: $(MSWDIR)\checkbox.$(SRCSUFF) | |
323 | ||
324 | $(MSWDIR)\checklst.obj: $(MSWDIR)\checklst.$(SRCSUFF) | |
325 | ||
326 | $(MSWDIR)\choice.obj: $(MSWDIR)\choice.$(SRCSUFF) | |
327 | ||
328 | $(MSWDIR)\clipbrd.obj: $(MSWDIR)\clipbrd.$(SRCSUFF) | |
329 | ||
330 | $(MSWDIR)\colordlg.obj: $(MSWDIR)\colordlg.$(SRCSUFF) | |
331 | ||
332 | $(MSWDIR)\colour.obj: $(MSWDIR)\colour.$(SRCSUFF) | |
333 | ||
334 | $(MSWDIR)\combobox.obj: $(MSWDIR)\combobox.$(SRCSUFF) | |
335 | ||
336 | $(MSWDIR)\control.obj: $(MSWDIR)\control.$(SRCSUFF) | |
337 | ||
338 | $(MSWDIR)\curico.obj: $(MSWDIR)\curico.$(SRCSUFF) | |
339 | ||
340 | $(MSWDIR)\cursor.obj: $(MSWDIR)\cursor.$(SRCSUFF) | |
341 | ||
342 | $(MSWDIR)\data.obj: $(MSWDIR)\data.$(SRCSUFF) | |
343 | ||
344 | $(MSWDIR)\dc.obj: $(MSWDIR)\dc.$(SRCSUFF) | |
345 | ||
346 | $(MSWDIR)\dcclient.obj: $(MSWDIR)\dcclient.$(SRCSUFF) | |
347 | ||
348 | $(MSWDIR)\dcmemory.obj: $(MSWDIR)\dcmemory.$(SRCSUFF) | |
349 | ||
350 | $(MSWDIR)\dcprint.obj: $(MSWDIR)\dcprint.$(SRCSUFF) | |
351 | ||
352 | $(MSWDIR)\dcscreen.obj: $(MSWDIR)\dcscreen.$(SRCSUFF) | |
353 | ||
354 | $(MSWDIR)\dde.obj: $(MSWDIR)\dde.$(SRCSUFF) | |
355 | ||
356 | $(MSWDIR)\dialog.obj: $(MSWDIR)\dialog.$(SRCSUFF) | |
357 | ||
358 | $(MSWDIR)\dialup.obj: $(MSWDIR)\dialup.$(SRCSUFF) | |
359 | ||
360 | $(MSWDIR)\dib.obj: $(MSWDIR)\dib.$(SRCSUFF) | |
361 | ||
362 | $(MSWDIR)\dibutils.obj: $(MSWDIR)\dibutils.$(SRCSUFF) | |
363 | ||
364 | $(MSWDIR)\dir.obj: $(MSWDIR)\dir.$(SRCSUFF) | |
365 | ||
366 | $(MSWDIR)\dragimag.obj: $(MSWDIR)\dragimag.$(SRCSUFF) | |
367 | ||
368 | $(MSWDIR)\filedlg.obj: $(MSWDIR)\filedlg.$(SRCSUFF) | |
369 | ||
370 | $(MSWDIR)\font.obj: $(MSWDIR)\font.$(SRCSUFF) | |
371 | ||
372 | $(MSWDIR)\fontdlg.obj: $(MSWDIR)\fontdlg.$(SRCSUFF) | |
373 | ||
374 | $(MSWDIR)\fontenum.obj: $(MSWDIR)\fontenum.$(SRCSUFF) | |
375 | ||
376 | $(MSWDIR)\fontutil.obj: $(MSWDIR)\fontutil.$(SRCSUFF) | |
377 | ||
378 | $(MSWDIR)\frame.obj: $(MSWDIR)\frame.$(SRCSUFF) | |
379 | ||
380 | $(MSWDIR)\gaugemsw.obj: $(MSWDIR)\gaugemsw.$(SRCSUFF) | |
381 | ||
382 | $(MSWDIR)\gdiimage.obj: $(MSWDIR)\gdiimage.$(SRCSUFF) | |
383 | ||
384 | $(MSWDIR)\gdiobj.obj: $(MSWDIR)\gdiobj.$(SRCSUFF) | |
385 | ||
386 | $(MSWDIR)\glcanvas.obj: $(MSWDIR)\glcanvas.$(SRCSUFF) | |
387 | ||
388 | $(MSWDIR)\gsocket.obj: $(MSWDIR)\gsocket.c | |
389 | ||
390 | $(MSWDIR)\gsockmsw.obj: $(MSWDIR)\gsockmsw.c | |
391 | ||
392 | $(MSWDIR)\helpwin.obj: $(MSWDIR)\helpwin.$(SRCSUFF) | |
393 | ||
394 | $(MSWDIR)\icon.obj: $(MSWDIR)\icon.$(SRCSUFF) | |
395 | ||
396 | $(MSWDIR)\iniconf.obj: $(MSWDIR)\iniconf.$(SRCSUFF) | |
397 | ||
398 | $(MSWDIR)\joystick.obj: $(MSWDIR)\joystick.$(SRCSUFF) | |
399 | ||
400 | $(MSWDIR)\listbox.obj: $(MSWDIR)\listbox.$(SRCSUFF) | |
401 | ||
402 | $(MSWDIR)\main.obj: $(MSWDIR)\main.$(SRCSUFF) | |
403 | ||
404 | $(MSWDIR)\mdi.obj: $(MSWDIR)\mdi.$(SRCSUFF) | |
405 | ||
406 | $(MSWDIR)\menu.obj: $(MSWDIR)\menu.$(SRCSUFF) | |
407 | ||
408 | $(MSWDIR)\menuitem.obj: $(MSWDIR)\menuitem.$(SRCSUFF) | |
409 | ||
410 | $(MSWDIR)\metafile.obj: $(MSWDIR)\metafile.$(SRCSUFF) | |
411 | ||
412 | $(MSWDIR)\minifram.obj: $(MSWDIR)\minifram.$(SRCSUFF) | |
413 | ||
414 | $(MSWDIR)\msgdlg.obj: $(MSWDIR)\msgdlg.$(SRCSUFF) | |
415 | ||
416 | $(MSWDIR)\nativdlg.obj: $(MSWDIR)\nativdlg.$(SRCSUFF) | |
417 | ||
418 | $(MSWDIR)\ownerdrw.obj: $(MSWDIR)\ownerdrw.$(SRCSUFF) | |
419 | ||
420 | $(MSWDIR)\palette.obj: $(MSWDIR)\palette.$(SRCSUFF) | |
421 | ||
422 | $(MSWDIR)\pen.obj: $(MSWDIR)\pen.$(SRCSUFF) | |
423 | ||
424 | $(MSWDIR)\penwin.obj: $(MSWDIR)\penwin.$(SRCSUFF) | |
425 | ||
426 | $(MSWDIR)\printdlg.obj: $(MSWDIR)\printdlg.$(SRCSUFF) | |
427 | ||
428 | $(MSWDIR)\printwin.obj: $(MSWDIR)\printwin.$(SRCSUFF) | |
429 | ||
430 | $(MSWDIR)\radiobox.obj: $(MSWDIR)\radiobox.$(SRCSUFF) | |
431 | ||
432 | $(MSWDIR)\radiobut.obj: $(MSWDIR)\radiobut.$(SRCSUFF) | |
433 | ||
434 | $(MSWDIR)\region.obj: $(MSWDIR)\region.$(SRCSUFF) | |
435 | ||
436 | $(MSWDIR)\scrolbar.obj: $(MSWDIR)\scrolbar.$(SRCSUFF) | |
437 | ||
438 | $(MSWDIR)\settings.obj: $(MSWDIR)\settings.$(SRCSUFF) | |
439 | ||
440 | $(MSWDIR)\slidrmsw.obj: $(MSWDIR)\slidrmsw.$(SRCSUFF) | |
441 | ||
442 | $(MSWDIR)\spinbutt.obj: $(MSWDIR)\spinbutt.$(SRCSUFF) | |
443 | ||
444 | $(MSWDIR)\spinctrl.obj: $(MSWDIR)\spinctrl.$(SRCSUFF) | |
445 | ||
446 | $(MSWDIR)\statbmp.obj: $(MSWDIR)\statbmp.$(SRCSUFF) | |
447 | ||
448 | $(MSWDIR)\statbox.obj: $(MSWDIR)\statbox.$(SRCSUFF) | |
449 | ||
450 | $(MSWDIR)\statline.obj: $(MSWDIR)\statline.$(SRCSUFF) | |
451 | ||
452 | $(MSWDIR)\stattext.obj: $(MSWDIR)\stattext.$(SRCSUFF) | |
453 | ||
454 | $(MSWDIR)\tabctrl.obj: $(MSWDIR)\tabctrl.$(SRCSUFF) | |
455 | ||
456 | $(MSWDIR)\tbarmsw.obj: $(MSWDIR)\tbarmsw.$(SRCSUFF) | |
457 | ||
458 | $(MSWDIR)\textctrl.obj: $(MSWDIR)\textctrl.$(SRCSUFF) | |
459 | ||
460 | $(MSWDIR)\timer.obj: $(MSWDIR)\timer.$(SRCSUFF) | |
461 | ||
462 | $(MSWDIR)\utils.obj: $(MSWDIR)\utils.$(SRCSUFF) | |
463 | ||
464 | $(MSWDIR)\utilsexc.obj: $(MSWDIR)\utilsexc.$(SRCSUFF) | |
465 | ||
466 | $(MSWDIR)\wave.obj: $(MSWDIR)\wave.$(SRCSUFF) | |
467 | ||
468 | $(MSWDIR)\window.obj: $(MSWDIR)\window.$(SRCSUFF) | |
469 | ||
470 | $(MSWDIR)\xpmhand.obj: $(MSWDIR)\xpmhand.$(SRCSUFF) | |
471 | ||
472 | ||
473 | ||
474 | ######################################################## | |
475 | # Common objects (always compiled) | |
476 | ||
477 | $(MSWDIR)\appcmn.obj: $(COMMDIR)\appcmn.$(SRCSUFF) | |
478 | ||
479 | $(MSWDIR)\choiccmn.obj: $(COMMDIR)\choiccmn.$(SRCSUFF) | |
480 | ||
481 | $(MSWDIR)\clipcmn.obj: $(COMMDIR)\clipcmn.$(SRCSUFF) | |
482 | ||
483 | $(MSWDIR)\cmdline.obj: $(COMMDIR)\cmdline.$(SRCSUFF) | |
484 | ||
485 | $(MSWDIR)\cmndata.obj: $(COMMDIR)\cmndata.$(SRCSUFF) | |
486 | ||
487 | $(MSWDIR)\config.obj: $(COMMDIR)\config.$(SRCSUFF) | |
488 | ||
489 | $(MSWDIR)\ctrlcmn.obj: $(COMMDIR)\ctrlcmn.$(SRCSUFF) | |
490 | ||
491 | $(MSWDIR)\ctrlsub.obj: $(COMMDIR)\ctrlsub.$(SRCSUFF) | |
492 | ||
493 | $(MSWDIR)\datetime.obj: $(COMMDIR)\datetime.$(SRCSUFF) | |
494 | ||
495 | $(MSWDIR)\datstrm.obj: $(COMMDIR)\datstrm.$(SRCSUFF) | |
496 | ||
497 | $(MSWDIR)\db.obj: $(COMMDIR)\db.$(SRCSUFF) | |
498 | ||
499 | $(MSWDIR)\dbtable.obj: $(COMMDIR)\dbtable.$(SRCSUFF) | |
500 | ||
501 | $(MSWDIR)\dcbase.obj: $(COMMDIR)\dcbase.$(SRCSUFF) | |
502 | ||
503 | $(MSWDIR)\dlgcmn.obj: $(COMMDIR)\dlgcmn.$(SRCSUFF) | |
504 | ||
505 | $(MSWDIR)\dndcmn.obj: $(COMMDIR)\dndcmn.$(SRCSUFF) | |
506 | ||
507 | $(MSWDIR)\dobjcmn.obj: $(COMMDIR)\dobjcmn.$(SRCSUFF) | |
508 | ||
509 | $(MSWDIR)\docmdi.obj: $(COMMDIR)\docmdi.$(SRCSUFF) | |
510 | ||
511 | $(MSWDIR)\docview.obj: $(COMMDIR)\docview.$(SRCSUFF) | |
512 | ||
513 | $(MSWDIR)\dynarray.obj: $(COMMDIR)\dynarray.$(SRCSUFF) | |
514 | ||
515 | $(MSWDIR)\dynlib.obj: $(COMMDIR)\dynlib.$(SRCSUFF) | |
516 | ||
517 | $(MSWDIR)\encconv.obj: $(COMMDIR)\encconv.$(SRCSUFF) | |
518 | ||
519 | $(MSWDIR)\event.obj: $(COMMDIR)\event.$(SRCSUFF) | |
520 | ||
521 | $(MSWDIR)\extended.obj: $(COMMDIR)\extended.c | |
522 | ||
523 | $(MSWDIR)\ffile.obj: $(COMMDIR)\ffile.$(SRCSUFF) | |
524 | ||
525 | $(MSWDIR)\file.obj: $(COMMDIR)\file.$(SRCSUFF) | |
526 | ||
527 | $(MSWDIR)\fileconf.obj: $(COMMDIR)\fileconf.$(SRCSUFF) | |
528 | ||
529 | $(MSWDIR)\filefn.obj: $(COMMDIR)\filefn.$(SRCSUFF) | |
530 | ||
531 | $(MSWDIR)\filesys.obj: $(COMMDIR)\filesys.$(SRCSUFF) | |
532 | ||
533 | $(MSWDIR)\fontcmn.obj: $(COMMDIR)\fontcmn.$(SRCSUFF) | |
534 | ||
535 | $(MSWDIR)\fontmap.obj: $(COMMDIR)\fontmap.$(SRCSUFF) | |
536 | ||
537 | $(MSWDIR)\framecmn.obj: $(COMMDIR)\framecmn.$(SRCSUFF) | |
538 | ||
539 | $(MSWDIR)\fs_inet.obj: $(COMMDIR)\fs_inet.$(SRCSUFF) | |
540 | ||
541 | $(MSWDIR)\fs_mem.obj: $(COMMDIR)\fs_mem.$(SRCSUFF) | |
542 | ||
543 | $(MSWDIR)\fs_zip.obj: $(COMMDIR)\fs_zip.$(SRCSUFF) | |
544 | ||
545 | $(MSWDIR)\gdicmn.obj: $(COMMDIR)\gdicmn.$(SRCSUFF) | |
546 | ||
547 | $(MSWDIR)\geometry.obj: $(COMMDIR)\geometry.$(SRCSUFF) | |
548 | ||
549 | $(MSWDIR)\gifdecod.obj: $(COMMDIR)\gifdecod.$(SRCSUFF) | |
550 | ||
551 | $(MSWDIR)\hash.obj: $(COMMDIR)\hash.$(SRCSUFF) | |
552 | ||
553 | $(MSWDIR)\helpbase.obj: $(COMMDIR)\helpbase.$(SRCSUFF) | |
554 | ||
555 | $(MSWDIR)\imagall.obj: $(COMMDIR)\imagall.$(SRCSUFF) | |
556 | ||
557 | $(MSWDIR)\imagbmp.obj: $(COMMDIR)\imagbmp.$(SRCSUFF) | |
558 | ||
559 | $(MSWDIR)\image.obj: $(COMMDIR)\image.$(SRCSUFF) | |
560 | ||
561 | $(MSWDIR)\imaggif.obj: $(COMMDIR)\imaggif.$(SRCSUFF) | |
562 | ||
563 | $(MSWDIR)\intl.obj: $(COMMDIR)\intl.$(SRCSUFF) | |
564 | ||
565 | $(MSWDIR)\ipcbase.obj: $(COMMDIR)\ipcbase.$(SRCSUFF) | |
566 | ||
567 | $(MSWDIR)\layout.obj: $(COMMDIR)\layout.$(SRCSUFF) | |
568 | ||
569 | $(MSWDIR)\lboxcmn.obj: $(COMMDIR)\lboxcmn.$(SRCSUFF) | |
570 | ||
571 | $(MSWDIR)\list.obj: $(COMMDIR)\list.$(SRCSUFF) | |
572 | ||
573 | $(MSWDIR)\log.obj: $(COMMDIR)\log.$(SRCSUFF) | |
574 | ||
575 | $(MSWDIR)\longlong.obj: $(COMMDIR)\longlong.$(SRCSUFF) | |
576 | ||
577 | $(MSWDIR)\memory.obj: $(COMMDIR)\memory.$(SRCSUFF) | |
578 | ||
579 | $(MSWDIR)\menucmn.obj: $(COMMDIR)\menucmn.$(SRCSUFF) | |
580 | ||
581 | $(MSWDIR)\module.obj: $(COMMDIR)\module.$(SRCSUFF) | |
582 | ||
583 | $(MSWDIR)\mstream.obj: $(COMMDIR)\mstream.$(SRCSUFF) | |
584 | ||
585 | $(MSWDIR)\object.obj: $(COMMDIR)\object.$(SRCSUFF) | |
586 | ||
587 | $(MSWDIR)\objstrm.obj: $(COMMDIR)\objstrm.$(SRCSUFF) | |
588 | ||
589 | $(MSWDIR)\paper.obj: $(COMMDIR)\paper.$(SRCSUFF) | |
590 | ||
591 | $(MSWDIR)\prntbase.obj: $(COMMDIR)\prntbase.$(SRCSUFF) | |
592 | ||
593 | $(MSWDIR)\resource.obj: $(COMMDIR)\resource.$(SRCSUFF) | |
594 | ||
595 | $(MSWDIR)\serbase.obj: $(COMMDIR)\serbase.$(SRCSUFF) | |
596 | ||
597 | $(MSWDIR)\sizer.obj: $(COMMDIR)\sizer.$(SRCSUFF) | |
598 | ||
599 | $(MSWDIR)\strconv.obj: $(COMMDIR)\strconv.$(SRCSUFF) | |
600 | ||
601 | $(MSWDIR)\stream.obj: $(COMMDIR)\stream.$(SRCSUFF) | |
602 | ||
603 | $(MSWDIR)\string.obj: $(COMMDIR)\string.$(SRCSUFF) | |
604 | ||
605 | $(MSWDIR)\tbarbase.obj: $(COMMDIR)\tbarbase.$(SRCSUFF) | |
606 | ||
607 | $(MSWDIR)\textcmn.obj: $(COMMDIR)\textcmn.$(SRCSUFF) | |
608 | ||
609 | $(MSWDIR)\textfile.obj: $(COMMDIR)\textfile.$(SRCSUFF) | |
610 | ||
611 | $(MSWDIR)\timercmn.obj: $(COMMDIR)\timercmn.$(SRCSUFF) | |
612 | ||
613 | $(MSWDIR)\tokenzr.obj: $(COMMDIR)\tokenzr.$(SRCSUFF) | |
614 | ||
615 | $(MSWDIR)\txtstrm.obj: $(COMMDIR)\txtstrm.$(SRCSUFF) | |
616 | ||
617 | $(MSWDIR)\unzip.obj: $(COMMDIR)\unzip.c | |
618 | ||
619 | $(MSWDIR)\utilscmn.obj: $(COMMDIR)\utilscmn.$(SRCSUFF) | |
620 | ||
621 | $(MSWDIR)\valgen.obj: $(COMMDIR)\valgen.$(SRCSUFF) | |
622 | ||
623 | $(MSWDIR)\validate.obj: $(COMMDIR)\validate.$(SRCSUFF) | |
624 | ||
625 | $(MSWDIR)\valtext.obj: $(COMMDIR)\valtext.$(SRCSUFF) | |
626 | ||
627 | $(MSWDIR)\variant.obj: $(COMMDIR)\variant.$(SRCSUFF) | |
628 | ||
629 | $(MSWDIR)\wfstream.obj: $(COMMDIR)\wfstream.$(SRCSUFF) | |
630 | ||
631 | $(MSWDIR)\wincmn.obj: $(COMMDIR)\wincmn.$(SRCSUFF) | |
632 | ||
633 | $(MSWDIR)\wxchar.obj: $(COMMDIR)\wxchar.$(SRCSUFF) | |
634 | ||
635 | $(MSWDIR)\wxexpr.obj: $(COMMDIR)\wxexpr.$(SRCSUFF) | |
636 | ||
637 | $(MSWDIR)\zipstrm.obj: $(COMMDIR)\zipstrm.$(SRCSUFF) | |
638 | ||
639 | $(MSWDIR)\zstream.obj: $(COMMDIR)\zstream.$(SRCSUFF) | |
640 | ||
641 | ${MSWDIR}\resourc2.obj: ${COMMDIR}\resourc2.$(SRCSUFF) | |
642 | ||
643 | ||
644 | ||
645 | ######################################################## | |
646 | # Generic objects (not always compiled, depending on | |
647 | # whether platforms have native implementations) | |
648 | ||
649 | $(MSWDIR)\busyinfo.obj: $(GENDIR)\busyinfo.$(SRCSUFF) | |
650 | ||
651 | $(MSWDIR)\calctrl.obj: $(GENDIR)\calctrl.$(SRCSUFF) | |
652 | ||
653 | $(MSWDIR)\choicdgg.obj: $(GENDIR)\choicdgg.$(SRCSUFF) | |
654 | ||
655 | $(MSWDIR)\dirdlgg.obj: $(GENDIR)\dirdlgg.$(SRCSUFF) | |
656 | ||
657 | $(MSWDIR)\dragimgg.obj: $(GENDIR)\dragimgg.$(SRCSUFF) | |
658 | ||
659 | $(MSWDIR)\grid.obj: $(GENDIR)\grid.$(SRCSUFF) | |
660 | ||
661 | $(MSWDIR)\gridsel.obj: $(GENDIR)\gridsel.$(SRCSUFF) | |
662 | ||
663 | $(MSWDIR)\imaglist.obj: $(GENDIR)\imaglist.$(SRCSUFF) | |
664 | ||
665 | $(MSWDIR)\laywin.obj: $(GENDIR)\laywin.$(SRCSUFF) | |
666 | ||
667 | $(MSWDIR)\listctrl.obj: $(GENDIR)\listctrl.$(SRCSUFF) | |
668 | ||
669 | $(MSWDIR)\logg.obj: $(GENDIR)\logg.$(SRCSUFF) | |
670 | ||
671 | $(MSWDIR)\notebook.obj: $(GENDIR)\notebook.$(SRCSUFF) | |
672 | ||
673 | $(MSWDIR)\numdlgg.obj: $(GENDIR)\numdlgg.$(SRCSUFF) | |
674 | ||
675 | $(MSWDIR)\panelg.obj: $(GENDIR)\panelg.$(SRCSUFF) | |
676 | ||
677 | $(MSWDIR)\plot.obj: $(GENDIR)\plot.$(SRCSUFF) | |
678 | ||
679 | $(MSWDIR)\progdlgg.obj: $(GENDIR)\progdlgg.$(SRCSUFF) | |
680 | ||
681 | $(MSWDIR)\prop.obj: $(GENDIR)\prop.$(SRCSUFF) | |
682 | ||
683 | $(MSWDIR)\propform.obj: $(GENDIR)\propform.$(SRCSUFF) | |
684 | ||
685 | $(MSWDIR)\proplist.obj: $(GENDIR)\proplist.$(SRCSUFF) | |
686 | ||
687 | $(MSWDIR)\sashwin.obj: $(GENDIR)\sashwin.$(SRCSUFF) | |
688 | ||
689 | $(MSWDIR)\scrolwin.obj: $(GENDIR)\scrolwin.$(SRCSUFF) | |
690 | ||
691 | $(MSWDIR)\splitter.obj: $(GENDIR)\splitter.$(SRCSUFF) | |
692 | ||
693 | $(MSWDIR)\statusbr.obj: $(GENDIR)\statusbr.$(SRCSUFF) | |
694 | ||
695 | $(MSWDIR)\tabg.obj: $(GENDIR)\tabg.$(SRCSUFF) | |
696 | ||
697 | $(MSWDIR)\tbarsmpl.obj: $(GENDIR)\tbarsmpl.$(SRCSUFF) | |
698 | ||
699 | $(MSWDIR)\textdlgg.obj: $(GENDIR)\textdlgg.$(SRCSUFF) | |
700 | ||
701 | $(MSWDIR)\tipdlg.obj: $(GENDIR)\tipdlg.$(SRCSUFF) | |
702 | ||
703 | $(MSWDIR)\treectrl.obj: $(GENDIR)\treectrl.$(SRCSUFF) | |
704 | ||
705 | $(MSWDIR)\treelay.obj: $(GENDIR)\treelay.$(SRCSUFF) | |
706 | ||
707 | $(MSWDIR)\wizard.obj: $(GENDIR)\wizard.$(SRCSUFF) | |
708 | ||
709 | all_utils: | |
710 | cd $(WXDIR)\utils | |
711 | make -f makefile.bcc | |
712 | cd $(WXDIR)\src\msw | |
713 | ||
714 | all_samples: | |
715 | cd $(WXDIR)\samples | |
716 | make -f makefile.bcc | |
717 | cd $(WXDIR)\src\msw | |
718 | ||
719 | all_execs: | |
720 | cd $(WXDIR)\utils | |
721 | make -f makefile.bcc all_execs | |
722 | cd $(WXDIR)\src\msw | |
723 | ||
724 | # CONTRIB | |
725 | xpm: $(CFG) | |
726 | cd $(WXDIR)\src\xpm | |
727 | make -f makefile.bcc -DCFG=$(CFG) -DFINAL=$(FINAL) -DWXWIN=$(WXDIR) -DDEBUG=$(DEBUG) | |
728 | cd $(WXDIR)\src\msw | |
729 | ||
730 | clean_xpm: $(CFG) | |
731 | cd $(WXDIR)\src\xpm | |
732 | make -f makefile.bcc clean | |
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 |