]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
1 | # |
2 | # File: makefile.bcc | |
3 | # Author: Julian Smart | |
4 | # Created: 1993 | |
5 | # Updated: | |
6 | # Copyright: (c) 1993, AIAI, University of Edinburgh | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds wxWindows library wx.lib for Windows 3.1 | |
11 | # and Borland C++ 3.1 | |
12 | ||
13 | !if "$(BCCDIR)" == "" | |
14 | !error You must define the BCCDIR variable in autoexec.bat, e.g. BCCDIR=d:\bc4 | |
15 | !endif | |
16 | ||
17 | !if "$(WXWIN)" == "" | |
18 | !error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx | |
19 | !endif | |
20 | ||
21 | !if "$(CFG)" == "" | |
22 | #!error You must start compiling from wx\src, not wx\src\msw. | |
23 | !endif | |
24 | ||
25 | !ifndef DEBUG | |
26 | DEBUG=0 | |
27 | !endif | |
28 | ||
29 | WXDIR = $(WXWIN) | |
30 | ||
31 | !include $(WXDIR)\src\makebcc.env | |
32 | ||
33 | THISDIR = $(WXDIR)\src\msw | |
2bda0e17 KB |
34 | |
35 | # Please set these according to the settings in wx_setup.h, so we can include | |
36 | # the appropriate libraries in wx.lib | |
37 | USE_CTL3D=1 | |
2bda0e17 | 38 | USE_XPM_IN_MSW=0 |
2bda0e17 KB |
39 | |
40 | PERIPH_LIBS= | |
41 | PERIPH_TARGET= | |
42 | PERIPH_CLEAN_TARGET= | |
43 | ||
44 | !if "$(USE_CTL3D)" == "1" | |
62448488 | 45 | PERIPH_LIBS=$(BCCDIR)\lib\ctl3dv2.lib $(PERIPH_LIBS) |
2bda0e17 KB |
46 | !endif |
47 | ||
48 | !if "$(USE_XPM_IN_MSW)" == "1" | |
62448488 | 49 | PERIPH_LIBS=$(WXDIR)\xpm.lib $(PERIPH_LIBS) |
2bda0e17 KB |
50 | PERIPH_TARGET=xpm $(PERIPH_TARGET) |
51 | PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET) | |
52 | !endif | |
53 | ||
62448488 JS |
54 | # TODO: add these libraries |
55 | # PERIPH_LIBS=$(WXDIR)\lib\zlib.lib $(WXDIR)\lib\winpng.lib $(PERIPH_LIBS) | |
c7f49969 JS |
56 | PERIPH_TARGET=zlib png $(PERIPH_TARGET) |
57 | PERIPH_CLEAN_TARGET=clean_zlib clean_png $(PERIPH_CLEAN_TARGET) | |
2bda0e17 KB |
58 | |
59 | CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG) | |
60 | ||
62448488 | 61 | LIBTARGET= $(WXLIBDIR)\wx.lib |
2bda0e17 KB |
62 | DUMMY=dummy |
63 | ||
62448488 JS |
64 | GENDIR=..\generic |
65 | COMMDIR=..\common | |
66 | OLEDIR=.\ole | |
67 | MSWDIR=. | |
68 | ||
69 | DOCDIR = $(WXDIR)\docs | |
70 | ||
71 | GENERICOBJS= \ | |
72 | $(MSWDIR)\choicdgg.obj \ | |
73 | $(MSWDIR)\colrdlgg.obj \ | |
74 | $(MSWDIR)\fontdlgg.obj \ | |
75 | $(MSWDIR)\gridg.obj \ | |
76 | $(MSWDIR)\imaglist.obj \ | |
77 | $(MSWDIR)\helpxlp.obj \ | |
78 | $(MSWDIR)\laywin.obj \ | |
79 | $(MSWDIR)\listctrl.obj \ | |
62448488 JS |
80 | $(MSWDIR)\notebook.obj \ |
81 | $(MSWDIR)\panelg.obj \ | |
e3a43801 JS |
82 | $(MSWDIR)\prop.obj \ |
83 | $(MSWDIR)\propform.obj \ | |
84 | $(MSWDIR)\proplist.obj \ | |
62448488 JS |
85 | $(MSWDIR)\sashwin.obj \ |
86 | $(MSWDIR)\scrolwin.obj \ | |
87 | $(MSWDIR)\splitter.obj \ | |
88 | $(MSWDIR)\statusbr.obj \ | |
89 | $(MSWDIR)\tabg.obj \ | |
90 | $(MSWDIR)\textdlgg.obj \ | |
91 | $(MSWDIR)\treectrl.obj | |
92 | ||
0a240683 | 93 | # $(MSWDIR)\msgdlgg.obj \ |
62448488 JS |
94 | # $(MSWDIR)\printps.obj \ |
95 | # $(MSWDIR)\prntdlgg.obj \ | |
96 | ||
97 | COMMONOBJS = \ | |
98 | $(MSWDIR)\config.obj \ | |
99 | $(MSWDIR)\cmndata.obj \ | |
100 | $(MSWDIR)\docview.obj \ | |
101 | $(MSWDIR)\docmdi.obj \ | |
102 | $(MSWDIR)\dynarray.obj \ | |
103 | $(MSWDIR)\event.obj \ | |
104 | $(MSWDIR)\file.obj \ | |
105 | $(MSWDIR)\fileconf.obj \ | |
106 | $(MSWDIR)\filefn.obj \ | |
107 | $(MSWDIR)\framecmn.obj \ | |
108 | $(MSWDIR)\gdicmn.obj \ | |
109 | $(MSWDIR)\helpbase.obj \ | |
110 | $(MSWDIR)\image.obj \ | |
111 | $(MSWDIR)\intl.obj \ | |
112 | $(MSWDIR)\ipcbase.obj \ | |
113 | $(MSWDIR)\log.obj \ | |
114 | $(MSWDIR)\layout.obj \ | |
115 | $(MSWDIR)\memory.obj \ | |
116 | $(MSWDIR)\module.obj \ | |
117 | $(MSWDIR)\object.obj \ | |
62448488 JS |
118 | $(MSWDIR)\prntbase.obj \ |
119 | $(MSWDIR)\resource.obj \ | |
3b1de9c2 | 120 | $(MSWDIR)\resourc2.obj \ |
62448488 JS |
121 | $(MSWDIR)\tbarbase.obj \ |
122 | $(MSWDIR)\tbarsmpl.obj \ | |
123 | $(MSWDIR)\textfile.obj \ | |
124 | $(MSWDIR)\timercmn.obj \ | |
125 | $(MSWDIR)\utilscmn.obj \ | |
126 | $(MSWDIR)\validate.obj \ | |
89c684ef | 127 | $(MSWDIR)\valgen.obj \ |
62448488 JS |
128 | $(MSWDIR)\valtext.obj \ |
129 | $(MSWDIR)\variant.obj \ | |
130 | $(MSWDIR)\date.obj \ | |
131 | $(MSWDIR)\hash.obj \ | |
132 | $(MSWDIR)\list.obj \ | |
133 | $(MSWDIR)\string.obj \ | |
134 | $(MSWDIR)\time.obj \ | |
135 | $(MSWDIR)\wxexpr.obj \ | |
136 | $(MSWDIR)\y_tab.obj \ | |
137 | $(MSWDIR)\stream.obj \ | |
138 | $(MSWDIR)\wfstream.obj \ | |
139 | $(MSWDIR)\mstream.obj \ | |
140 | $(MSWDIR)\zstream.obj \ | |
141 | $(MSWDIR)\datstrm.obj \ | |
142 | $(MSWDIR)\sckstrm.obj \ | |
143 | $(MSWDIR)\extended.obj \ | |
144 | $(MSWDIR)\wincmn.obj \ | |
145 | $(MSWDIR)\objstrm.obj \ | |
146 | $(MSWDIR)\dynlib.obj \ | |
147 | $(MSWDIR)\tokenzr.obj | |
148 | ||
2432b92d | 149 | # Don't compile for WIN16 |
62448488 JS |
150 | # $(MSWDIR)\socket.obj \ |
151 | # $(MSWDIR)\sckaddr.obj \ | |
152 | # $(MSWDIR)\protocol.obj \ | |
153 | # $(MSWDIR)\url.obj \ | |
154 | # $(MSWDIR)\http.obj \ | |
155 | # $(MSWDIR)\ftp.obj \ | |
156 | # $(MSWDIR)\sckfile.obj \ | |
157 | # $(MSWDIR)\sckipc.obj \ | |
2432b92d JS |
158 | |
159 | # Needs extra files (sql*.h) so not compiled by default. | |
62448488 JS |
160 | # $(MSWDIR)\odbc.obj \ |
161 | ||
2432b92d JS |
162 | # Uses WIN32 registry functions |
163 | # $(MSWDIR)\mimetype.obj \ | |
164 | ||
62448488 JS |
165 | MSWOBJS = \ |
166 | $(MSWDIR)\accel.obj \ | |
167 | $(MSWDIR)\app.obj \ | |
168 | $(MSWDIR)\bitmap.obj \ | |
169 | $(MSWDIR)\bmpbuttn.obj \ | |
170 | $(MSWDIR)\brush.obj \ | |
171 | $(MSWDIR)\button.obj \ | |
172 | $(MSWDIR)\checkbox.obj \ | |
173 | $(MSWDIR)\checklst.obj \ | |
174 | $(MSWDIR)\choice.obj \ | |
175 | $(MSWDIR)\clipbrd.obj \ | |
176 | $(MSWDIR)\colordlg.obj \ | |
177 | $(MSWDIR)\colour.obj \ | |
178 | $(MSWDIR)\combobox.obj \ | |
179 | $(MSWDIR)\control.obj \ | |
180 | $(MSWDIR)\curico.obj \ | |
181 | $(MSWDIR)\cursor.obj \ | |
182 | $(MSWDIR)\data.obj \ | |
183 | $(MSWDIR)\dc.obj \ | |
184 | $(MSWDIR)\dcmemory.obj \ | |
185 | $(MSWDIR)\dcclient.obj \ | |
186 | $(MSWDIR)\dcprint.obj \ | |
187 | $(MSWDIR)\dcscreen.obj \ | |
188 | $(MSWDIR)\dde.obj \ | |
189 | $(MSWDIR)\dialog.obj \ | |
190 | $(MSWDIR)\dib.obj \ | |
191 | $(MSWDIR)\dibutils.obj \ | |
192 | $(MSWDIR)\dirdlg.obj \ | |
193 | $(MSWDIR)\filedlg.obj \ | |
194 | $(MSWDIR)\font.obj \ | |
195 | $(MSWDIR)\fontdlg.obj \ | |
196 | $(MSWDIR)\frame.obj \ | |
197 | $(MSWDIR)\gaugemsw.obj \ | |
198 | $(MSWDIR)\gdiobj.obj \ | |
199 | $(MSWDIR)\helpwin.obj \ | |
200 | $(MSWDIR)\icon.obj \ | |
62448488 JS |
201 | $(MSWDIR)\iniconf.obj \ |
202 | $(MSWDIR)\joystick.obj \ | |
203 | $(MSWDIR)\listbox.obj \ | |
204 | $(MSWDIR)\main.obj \ | |
205 | $(MSWDIR)\mdi.obj \ | |
206 | $(MSWDIR)\menu.obj \ | |
207 | $(MSWDIR)\menuitem.obj \ | |
208 | $(MSWDIR)\metafile.obj \ | |
209 | $(MSWDIR)\minifram.obj \ | |
210 | $(MSWDIR)\msgdlg.obj \ | |
211 | $(MSWDIR)\nativdlg.obj \ | |
212 | $(MSWDIR)\ownerdrw.obj \ | |
213 | $(MSWDIR)\palette.obj \ | |
214 | $(MSWDIR)\pen.obj \ | |
215 | $(MSWDIR)\penwin.obj \ | |
216 | $(MSWDIR)\pnghand.obj \ | |
217 | $(MSWDIR)\printdlg.obj \ | |
218 | $(MSWDIR)\printwin.obj \ | |
219 | $(MSWDIR)\radiobox.obj \ | |
220 | $(MSWDIR)\radiobut.obj \ | |
221 | $(MSWDIR)\region.obj \ | |
222 | $(MSWDIR)\scrolbar.obj \ | |
223 | $(MSWDIR)\settings.obj \ | |
224 | $(MSWDIR)\slidrmsw.obj \ | |
225 | $(MSWDIR)\spinbutt.obj \ | |
226 | $(MSWDIR)\statbmp.obj \ | |
227 | $(MSWDIR)\statbox.obj \ | |
228 | $(MSWDIR)\stattext.obj \ | |
229 | $(MSWDIR)\tbarmsw.obj \ | |
230 | $(MSWDIR)\textctrl.obj \ | |
231 | $(MSWDIR)\timer.obj \ | |
232 | $(MSWDIR)\utils.obj \ | |
233 | $(MSWDIR)\utilsexc.obj \ | |
234 | $(MSWDIR)\wave.obj \ | |
235 | $(MSWDIR)\window.obj \ | |
2fd284a4 | 236 | $(MSWDIR)\xpmhand.obj |
62448488 JS |
237 | |
238 | # Unfortunately this causes a crash when the oleauto sample starts. | |
239 | # $(MSWDIR)\automtn.obj | |
240 | ||
241 | # Not used for 16-bit compilation | |
acbd13a3 | 242 | # $(MSWDIR)\tooltip.obj \ |
62448488 JS |
243 | # $(MSWDIR)\gauge95.obj \ |
244 | # $(MSWDIR)\treectrl.obj \ | |
245 | # $(MSWDIR)\oleutils.obj \ | |
246 | # $(MSWDIR)\dataobj.obj \ | |
247 | # $(MSWDIR)\uuid.obj | |
248 | # $(MSWDIR)\droptgt.obj \ | |
249 | # $(MSWDIR)\dropsrc.obj \ | |
3b1de9c2 | 250 | # $(MSWDIR)\imaglist.obj \ |
62448488 JS |
251 | # $(MSWDIR)\notebook.obj \ |
252 | # $(MSWDIR)\listctrl.obj \ | |
253 | # $(MSWDIR)\tabctrl.obj \ | |
254 | # $(MSWDIR)\taskbar.obj \ | |
255 | # $(MSWDIR)\tbar95.obj \ | |
256 | # $(MSWDIR)\thread.obj \ | |
257 | # $(MSWDIR)\slider95.obj \ | |
258 | # $(MSWDIR)\statbr95.obj \ | |
259 | # $(MSWDIR)\registry.obj \ | |
260 | # $(MSWDIR)\regconf.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) | |
2bda0e17 | 269 | erase $(LIBTARGET) |
62448488 JS |
270 | tlib $(LIBTARGET) /P1024 @&&! |
271 | +$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +) | |
2bda0e17 KB |
272 | ! |
273 | ||
62448488 JS |
274 | dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h |
275 | dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h | |
2bda0e17 | 276 | |
62448488 | 277 | $(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c |
2bda0e17 | 278 | |
62448488 JS |
279 | # cl @<< |
280 | #$(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ | |
281 | #<< | |
2bda0e17 | 282 | |
62448488 JS |
283 | $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c |
284 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
2bda0e17 | 285 | |
62448488 JS |
286 | $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c |
287 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
2bda0e17 | 288 | |
62448488 | 289 | #$(OBJECTS): $(WXDIR)\include\wx\setup.h |
2bda0e17 | 290 | |
62448488 | 291 | $(MSWDIR)\accel.obj: $(MSWDIR)\accel.$(SRCSUFF) |
2bda0e17 | 292 | |
62448488 | 293 | $(MSWDIR)\app.obj: $(MSWDIR)\app.$(SRCSUFF) |
2bda0e17 | 294 | |
62448488 | 295 | $(MSWDIR)\bitmap.obj: $(MSWDIR)\bitmap.$(SRCSUFF) |
2bda0e17 | 296 | |
62448488 | 297 | $(MSWDIR)\bmpbuttn.obj: $(MSWDIR)\bmpbuttn.$(SRCSUFF) |
2bda0e17 | 298 | |
62448488 JS |
299 | $(MSWDIR)\brush.obj: $(MSWDIR)\brush.$(SRCSUFF) |
300 | ||
301 | $(MSWDIR)\button.obj: $(MSWDIR)\button.$(SRCSUFF) | |
302 | ||
303 | $(MSWDIR)\choice.obj: $(MSWDIR)\choice.$(SRCSUFF) | |
304 | ||
305 | $(MSWDIR)\checkbox.obj: $(MSWDIR)\checkbox.$(SRCSUFF) | |
306 | ||
307 | $(MSWDIR)\checklst.obj: $(MSWDIR)\checklst.$(SRCSUFF) | |
308 | ||
309 | $(MSWDIR)\clipbrd.obj: $(MSWDIR)\clipbrd.$(SRCSUFF) | |
310 | ||
311 | $(MSWDIR)\colordlg.obj: $(MSWDIR)\colordlg.$(SRCSUFF) | |
312 | ||
313 | $(MSWDIR)\colour.obj: $(MSWDIR)\colour.$(SRCSUFF) | |
314 | ||
315 | $(MSWDIR)\combobox.obj: $(MSWDIR)\combobox.$(SRCSUFF) | |
316 | ||
317 | $(MSWDIR)\control.obj: $(MSWDIR)\control.$(SRCSUFF) | |
318 | ||
319 | $(MSWDIR)\curico.obj: $(MSWDIR)\curico.$(SRCSUFF) | |
320 | ||
321 | $(MSWDIR)\cursor.obj: $(MSWDIR)\cursor.$(SRCSUFF) | |
322 | ||
323 | $(MSWDIR)\data.obj: $(MSWDIR)\data.$(SRCSUFF) | |
324 | ||
325 | $(MSWDIR)\dde.obj: $(MSWDIR)\dde.$(SRCSUFF) | |
326 | ||
327 | $(MSWDIR)\dc.obj: $(MSWDIR)\dc.$(SRCSUFF) | |
328 | ||
329 | $(MSWDIR)\dcmemory.obj: $(MSWDIR)\dcmemory.$(SRCSUFF) | |
330 | ||
331 | $(MSWDIR)\dcclient.obj: $(MSWDIR)\dcclient.$(SRCSUFF) | |
332 | ||
333 | $(MSWDIR)\dcprint.obj: $(MSWDIR)\dcprint.$(SRCSUFF) | |
334 | ||
335 | $(MSWDIR)\dcscreen.obj: $(MSWDIR)\dcscreen.$(SRCSUFF) | |
336 | ||
337 | $(MSWDIR)\dialog.obj: $(MSWDIR)\dialog.$(SRCSUFF) | |
338 | ||
339 | $(MSWDIR)\dib.obj: $(MSWDIR)\dib.$(SRCSUFF) | |
340 | ||
341 | $(MSWDIR)\dirdlg.obj: $(MSWDIR)\dirdlg.$(SRCSUFF) | |
342 | ||
343 | $(MSWDIR)\filedlg.obj: $(MSWDIR)\filedlg.$(SRCSUFF) | |
344 | ||
345 | $(MSWDIR)\font.obj: $(MSWDIR)\font.$(SRCSUFF) | |
346 | ||
347 | $(MSWDIR)\fontdlg.obj: $(MSWDIR)\fontdlg.$(SRCSUFF) | |
348 | ||
349 | $(MSWDIR)\frame.obj: $(MSWDIR)\frame.$(SRCSUFF) | |
350 | ||
351 | $(MSWDIR)\gaugemsw.obj: $(MSWDIR)\gaugemsw.$(SRCSUFF) | |
352 | ||
353 | $(MSWDIR)\gauge95.obj: $(MSWDIR)\gauge95.$(SRCSUFF) | |
354 | ||
355 | $(MSWDIR)\gdiobj.obj: $(MSWDIR)\gdiobj.$(SRCSUFF) | |
356 | ||
357 | $(MSWDIR)\icon.obj: $(MSWDIR)\icon.$(SRCSUFF) | |
358 | ||
3b1de9c2 | 359 | # $(MSWDIR)\imaglist.obj: $(MSWDIR)\imaglist.$(SRCSUFF) |
62448488 JS |
360 | |
361 | $(MSWDIR)\joystick.obj: $(MSWDIR)\joystick.$(SRCSUFF) | |
362 | ||
363 | $(MSWDIR)\listbox.obj: $(MSWDIR)\listbox.$(SRCSUFF) | |
364 | ||
3b1de9c2 | 365 | # $(MSWDIR)\listctrl.obj: $(MSWDIR)\listctrl.$(SRCSUFF) |
62448488 JS |
366 | |
367 | $(MSWDIR)\main.obj: $(MSWDIR)\main.$(SRCSUFF) | |
368 | ||
369 | $(MSWDIR)\mdi.obj: $(MSWDIR)\mdi.$(SRCSUFF) | |
370 | ||
371 | $(MSWDIR)\menu.obj: $(MSWDIR)\menu.$(SRCSUFF) | |
372 | ||
373 | $(MSWDIR)\menuitem.obj: $(MSWDIR)\menu.$(SRCSUFF) | |
374 | ||
375 | $(MSWDIR)\metafile.obj: $(MSWDIR)\metafile.$(SRCSUFF) | |
376 | ||
377 | $(MSWDIR)\minifram.obj: $(MSWDIR)\minifram.$(SRCSUFF) | |
378 | ||
379 | $(MSWDIR)\msgdlg.obj: $(MSWDIR)\msgdlg.$(SRCSUFF) | |
380 | ||
381 | $(MSWDIR)\nativdlg.obj: $(MSWDIR)\nativdlg.$(SRCSUFF) | |
382 | ||
383 | # $(MSWDIR)\notebook.obj: $(MSWDIR)\notebook.$(SRCSUFF) | |
384 | ||
385 | $(MSWDIR)\ownerdrw.obj: $(MSWDIR)\ownerdrw.$(SRCSUFF) | |
386 | ||
387 | $(MSWDIR)\palette.obj: $(MSWDIR)\palette.$(SRCSUFF) | |
388 | ||
389 | $(MSWDIR)\pen.obj: $(MSWDIR)\pen.$(SRCSUFF) | |
390 | ||
391 | $(MSWDIR)\penwin.obj: $(MSWDIR)\penwin.$(SRCSUFF) | |
392 | ||
393 | $(MSWDIR)\printdlg.obj: $(MSWDIR)\printdlg.$(SRCSUFF) | |
394 | ||
395 | $(MSWDIR)\printwin.obj: $(MSWDIR)\printwin.$(SRCSUFF) | |
396 | ||
397 | $(MSWDIR)\radiobox.obj: $(MSWDIR)\radiobox.$(SRCSUFF) | |
398 | ||
399 | $(MSWDIR)\radiobut.obj: $(MSWDIR)\radiobut.$(SRCSUFF) | |
400 | ||
401 | $(MSWDIR)\region.obj: $(MSWDIR)\region.$(SRCSUFF) | |
402 | ||
403 | $(MSWDIR)\registry.obj: $(MSWDIR)\registry.$(SRCSUFF) | |
404 | ||
405 | $(MSWDIR)\regconf.obj: $(MSWDIR)\regconf.$(SRCSUFF) | |
406 | ||
407 | $(MSWDIR)\scrolbar.obj: $(MSWDIR)\scrolbar.$(SRCSUFF) | |
408 | ||
409 | $(MSWDIR)\settings.obj: $(MSWDIR)\settings.$(SRCSUFF) | |
410 | ||
411 | $(MSWDIR)\slidrmsw.obj: $(MSWDIR)\slidrmsw.$(SRCSUFF) | |
412 | ||
413 | $(MSWDIR)\slider95.obj: $(MSWDIR)\slider95.$(SRCSUFF) | |
414 | ||
415 | $(MSWDIR)\spinbutt.obj: $(MSWDIR)\spinbutt.$(SRCSUFF) | |
416 | ||
417 | $(MSWDIR)\statbmp.obj: $(MSWDIR)\statbmp.$(SRCSUFF) | |
418 | ||
419 | $(MSWDIR)\statbox.obj: $(MSWDIR)\statbox.$(SRCSUFF) | |
420 | ||
421 | $(MSWDIR)\statbr95.obj: $(MSWDIR)\statbr95.$(SRCSUFF) | |
422 | ||
423 | $(MSWDIR)\stattext.obj: $(MSWDIR)\stattext.$(SRCSUFF) | |
424 | ||
425 | $(MSWDIR)\tabctrl.obj: $(MSWDIR)\tabctrl.$(SRCSUFF) | |
426 | ||
427 | $(MSWDIR)\taskbar.obj: $(MSWDIR)\taskbar.$(SRCSUFF) | |
428 | ||
429 | $(MSWDIR)\tbar95.obj: $(MSWDIR)\tbar95.$(SRCSUFF) | |
430 | ||
431 | $(MSWDIR)\tbarmsw.obj: $(MSWDIR)\tbarmsw.$(SRCSUFF) | |
432 | ||
433 | $(MSWDIR)\textctrl.obj: $(MSWDIR)\textctrl.$(SRCSUFF) | |
434 | ||
435 | $(MSWDIR)\thread.obj: $(MSWDIR)\thread.$(SRCSUFF) | |
436 | ||
437 | $(MSWDIR)\timer.obj: $(MSWDIR)\timer.$(SRCSUFF) | |
438 | ||
1f112209 JS |
439 | $(MSWDIR)\tooltip.obj: $(MSWDIR)\tooltip.$(SRCSUFF) |
440 | ||
3b1de9c2 | 441 | # $(MSWDIR)\treectrl.obj: $(MSWDIR)\treectrl.$(SRCSUFF) |
62448488 JS |
442 | |
443 | $(MSWDIR)\utils.obj: $(MSWDIR)\utils.$(SRCSUFF) | |
444 | ||
445 | $(MSWDIR)\utilsexc.obj: $(MSWDIR)\utilsexc.$(SRCSUFF) | |
2bda0e17 | 446 | |
62448488 JS |
447 | $(MSWDIR)\wave.obj: $(MSWDIR)\wave.$(SRCSUFF) |
448 | ||
449 | $(MSWDIR)\window.obj: $(MSWDIR)\window.$(SRCSUFF) | |
450 | ||
451 | $(MSWDIR)\droptgt.obj: $(OLEDIR)\droptgt.$(SRCSUFF) | |
452 | ||
453 | $(MSWDIR)\dropsrc.obj: $(OLEDIR)\dropsrc.$(SRCSUFF) | |
454 | ||
455 | $(MSWDIR)\dataobj.obj: $(OLEDIR)\dataobj.$(SRCSUFF) | |
456 | ||
457 | $(MSWDIR)\oleutils.obj: $(OLEDIR)\oleutils.$(SRCSUFF) | |
458 | ||
459 | $(MSWDIR)\uuid.obj: $(OLEDIR)\uuid.$(SRCSUFF) | |
460 | ||
461 | $(MSWDIR)\automtn.obj: $(OLEDIR)\automtn.$(SRCSUFF) | |
462 | ||
463 | ######################################################## | |
464 | # Common objects (always compiled) | |
465 | ||
466 | $(MSWDIR)\config.obj: $(COMMDIR)\config.$(SRCSUFF) | |
467 | ||
468 | $(MSWDIR)\cmndata.obj: $(COMMDIR)\cmndata.$(SRCSUFF) | |
469 | ||
470 | $(MSWDIR)\docview.obj: $(COMMDIR)\docview.$(SRCSUFF) | |
471 | ||
472 | $(MSWDIR)\docmdi.obj: $(COMMDIR)\docmdi.$(SRCSUFF) | |
473 | ||
474 | $(MSWDIR)\dynarray.obj: $(COMMDIR)\dynarray.$(SRCSUFF) | |
475 | ||
476 | $(MSWDIR)\dynlib.obj: $(COMMDIR)\dynlib.$(SRCSUFF) | |
477 | ||
478 | $(MSWDIR)\event.obj: $(COMMDIR)\event.$(SRCSUFF) | |
479 | ||
480 | $(MSWDIR)\file.obj: $(COMMDIR)\file.$(SRCSUFF) | |
481 | ||
482 | $(MSWDIR)\fileconf.obj: $(COMMDIR)\fileconf.$(SRCSUFF) | |
483 | ||
484 | $(MSWDIR)\filefn.obj: $(COMMDIR)\filefn.$(SRCSUFF) | |
485 | ||
486 | $(MSWDIR)\framecmn.obj: $(COMMDIR)\framecmn.$(SRCSUFF) | |
487 | ||
488 | $(MSWDIR)\gdicmn.obj: $(COMMDIR)\gdicmn.$(SRCSUFF) | |
489 | ||
490 | $(MSWDIR)\image.obj: $(COMMDIR)\image.$(SRCSUFF) | |
491 | ||
492 | $(MSWDIR)\intl.obj: $(COMMDIR)\intl.$(SRCSUFF) | |
493 | ||
494 | $(MSWDIR)\ipcbase.obj: $(COMMDIR)\ipcbase.$(SRCSUFF) | |
495 | ||
496 | $(MSWDIR)\helpbase.obj: $(COMMDIR)\helpbase.$(SRCSUFF) | |
497 | ||
498 | $(MSWDIR)\layout.obj: $(COMMDIR)\layout.$(SRCSUFF) | |
499 | ||
500 | $(MSWDIR)\log.obj: $(COMMDIR)\log.$(SRCSUFF) | |
501 | ||
502 | $(MSWDIR)\memory.obj: $(COMMDIR)\memory.$(SRCSUFF) | |
503 | ||
2432b92d JS |
504 | $(MSWDIR)\mimetype.obj: $(COMMDIR)\mimetype.$(SRCSUFF) |
505 | ||
62448488 JS |
506 | $(MSWDIR)\module.obj: $(COMMDIR)\module.$(SRCSUFF) |
507 | ||
508 | $(MSWDIR)\object.obj: $(COMMDIR)\object.$(SRCSUFF) | |
509 | ||
510 | $(MSWDIR)\odbc.obj: $(COMMDIR)\odbc.$(SRCSUFF) | |
511 | ||
62448488 JS |
512 | $(MSWDIR)\prntbase.obj: $(COMMDIR)\prntbase.$(SRCSUFF) |
513 | ||
514 | $(MSWDIR)\resource.obj: $(COMMDIR)\resource.$(SRCSUFF) | |
515 | ||
3b1de9c2 JS |
516 | $(MSWDIR)\resourc2.obj: $(COMMDIR)\resourc2.$(SRCSUFF) |
517 | ||
62448488 JS |
518 | $(MSWDIR)\tbarbase.obj: $(COMMDIR)\tbarbase.$(SRCSUFF) |
519 | ||
520 | $(MSWDIR)\tbarsmpl.obj: $(COMMDIR)\tbarsmpl.$(SRCSUFF) | |
521 | ||
522 | $(MSWDIR)\textfile.obj: $(COMMDIR)\textfile.$(SRCSUFF) | |
523 | ||
524 | $(MSWDIR)\timercmn.obj: $(COMMDIR)\timercmn.$(SRCSUFF) | |
525 | ||
526 | $(MSWDIR)\utilscmn.obj: $(COMMDIR)\utilscmn.$(SRCSUFF) | |
527 | ||
528 | $(MSWDIR)\validate.obj: $(COMMDIR)\validate.$(SRCSUFF) | |
529 | ||
89c684ef JS |
530 | $(MSWDIR)\valgen.obj: $(COMMDIR)\valgen.$(SRCSUFF) |
531 | ||
62448488 JS |
532 | $(MSWDIR)\valtext.obj: $(COMMDIR)\valtext.$(SRCSUFF) |
533 | ||
534 | $(MSWDIR)\date.obj: $(COMMDIR)\date.$(SRCSUFF) | |
535 | ||
536 | $(MSWDIR)\wxexpr.obj: $(COMMDIR)\wxexpr.$(SRCSUFF) | |
537 | ||
538 | $(MSWDIR)\hash.obj: $(COMMDIR)\hash.$(SRCSUFF) | |
539 | ||
540 | $(MSWDIR)\list.obj: $(COMMDIR)\list.$(SRCSUFF) | |
541 | ||
542 | $(MSWDIR)\string.obj: $(COMMDIR)\string.$(SRCSUFF) | |
543 | ||
544 | $(MSWDIR)\variant.obj: $(COMMDIR)\variant.$(SRCSUFF) | |
545 | ||
546 | $(MSWDIR)\matrix.obj: $(COMMDIR)\matrix.$(SRCSUFF) | |
547 | ||
548 | $(MSWDIR)\time.obj: $(COMMDIR)\time.$(SRCSUFF) | |
549 | ||
550 | $(MSWDIR)\datstrm.obj: $(COMMDIR)\datstrm.$(SRCSUFF) | |
551 | ||
552 | $(MSWDIR)\sckstrm.obj: $(COMMDIR)\sckstrm.$(SRCSUFF) | |
553 | ||
554 | $(MSWDIR)\mstream.obj: $(COMMDIR)\mstream.$(SRCSUFF) | |
555 | ||
556 | $(MSWDIR)\zstream.obj: $(COMMDIR)\zstream.$(SRCSUFF) | |
557 | ||
558 | $(MSWDIR)\wfstream.obj: $(COMMDIR)\wfstream.$(SRCSUFF) | |
559 | ||
560 | $(MSWDIR)\stream.obj: $(COMMDIR)\stream.$(SRCSUFF) | |
561 | ||
562 | $(MSWDIR)\objstrm.obj: $(COMMDIR)\objstrm.$(SRCSUFF) | |
563 | ||
564 | $(MSWDIR)\wincmn.obj: $(COMMDIR)\wincmn.$(SRCSUFF) | |
565 | ||
566 | $(MSWDIR)\extended.obj: $(COMMDIR)\extended.c | |
567 | ||
568 | $(MSWDIR)\tokenzr.obj: $(COMMDIR)\tokenzr.$(SRCSUFF) | |
569 | ||
570 | $(MSWDIR)\socket.obj: $(COMMDIR)\socket.$(SRCSUFF) | |
571 | ||
572 | $(MSWDIR)\sckaddr.obj: $(COMMDIR)\sckaddr.$(SRCSUFF) | |
573 | ||
574 | $(MSWDIR)\protocol.obj: $(COMMDIR)\protocol.$(SRCSUFF) | |
575 | ||
576 | $(MSWDIR)\url.obj: $(COMMDIR)\url.$(SRCSUFF) | |
577 | ||
578 | $(MSWDIR)\http.obj: $(COMMDIR)\http.$(SRCSUFF) | |
579 | ||
580 | $(MSWDIR)\ftp.obj: $(COMMDIR)\ftp.$(SRCSUFF) | |
581 | ||
582 | $(MSWDIR)\sckfile.obj: $(COMMDIR)\sckfile.$(SRCSUFF) | |
583 | ||
584 | $(MSWDIR)\sckipc.obj: $(COMMDIR)\sckipc.$(SRCSUFF) | |
585 | ||
586 | ######################################################## | |
587 | # Generic objects (not always compiled, depending on | |
588 | # whether platforms have native implementations) | |
589 | ||
590 | $(MSWDIR)\choicdgg.obj: $(GENDIR)\choicdgg.$(SRCSUFF) | |
591 | ||
592 | $(MSWDIR)\colrdlgg.obj: $(GENDIR)\colrdlgg.$(SRCSUFF) | |
593 | ||
594 | $(MSWDIR)\fontdlgg.obj: $(GENDIR)\fontdlgg.$(SRCSUFF) | |
595 | ||
596 | $(MSWDIR)\gridg.obj: $(GENDIR)\gridg.$(SRCSUFF) | |
597 | ||
598 | $(MSWDIR)\helpxlp.obj: $(GENDIR)\helpxlp.$(SRCSUFF) | |
599 | ||
600 | $(MSWDIR)\laywin.obj: $(GENDIR)\laywin.$(SRCSUFF) | |
601 | ||
602 | $(MSWDIR)\msgdlgg.obj: $(GENDIR)\msgdlgg.$(SRCSUFF) | |
603 | ||
604 | $(MSWDIR)\panelg.obj: $(GENDIR)\panelg.$(SRCSUFF) | |
605 | ||
606 | $(MSWDIR)\printps.obj: $(GENDIR)\printps.$(SRCSUFF) | |
607 | ||
608 | $(MSWDIR)\prntdlgg.obj: $(GENDIR)\prntdlgg.$(SRCSUFF) | |
609 | ||
e3a43801 JS |
610 | $(MSWDIR)\prop.obj: $(GENDIR)\prop.$(SRCSUFF) |
611 | ||
612 | $(MSWDIR)\proplist.obj: $(GENDIR)\proplist.$(SRCSUFF) | |
613 | ||
614 | $(MSWDIR)\propform.obj: $(GENDIR)\propform.$(SRCSUFF) | |
615 | ||
62448488 JS |
616 | $(MSWDIR)\sashwin.obj: $(GENDIR)\sashwin.$(SRCSUFF) |
617 | ||
618 | $(MSWDIR)\scrolwin.obj: $(GENDIR)\scrolwin.$(SRCSUFF) | |
619 | ||
620 | $(MSWDIR)\splitter.obj: $(GENDIR)\splitter.$(SRCSUFF) | |
621 | ||
622 | $(MSWDIR)\statusbr.obj: $(GENDIR)\statusbr.$(SRCSUFF) | |
623 | ||
624 | $(MSWDIR)\textdlgg.obj: $(GENDIR)\textdlgg.$(SRCSUFF) | |
625 | ||
626 | $(MSWDIR)\tabg.obj: $(GENDIR)\tabg.$(SRCSUFF) | |
627 | ||
628 | $(MSWDIR)\treectrl.obj: $(GENDIR)\treectrl.$(SRCSUFF) | |
629 | ||
630 | $(MSWDIR)\listctrl.obj: $(GENDIR)\listctrl.$(SRCSUFF) | |
631 | ||
632 | $(MSWDIR)\imaglist.obj: $(GENDIR)\imaglist.$(SRCSUFF) | |
633 | ||
634 | $(MSWDIR)\notebook.obj: $(GENDIR)\notebook.$(SRCSUFF) | |
635 | ||
636 | all_utils: | |
637 | cd $(WXDIR)\utils | |
c7f49969 | 638 | make -f makefile.bcc |
2bda0e17 KB |
639 | cd $(WXDIR)\src\msw |
640 | ||
62448488 JS |
641 | all_samples: |
642 | cd $(WXDIR)\samples | |
c7f49969 | 643 | make -f makefile.bcc |
2bda0e17 KB |
644 | cd $(WXDIR)\src\msw |
645 | ||
62448488 JS |
646 | all_execs: |
647 | cd $(WXDIR)\utils | |
c7f49969 | 648 | make -f makefile.bcc all_execs |
2bda0e17 KB |
649 | cd $(WXDIR)\src\msw |
650 | ||
62448488 | 651 | all_libs: |
2bda0e17 | 652 | cd $(WXDIR)\src\msw |
c7f49969 | 653 | make -f makefile.bcc ctl3d dib fafa gauge hytext itsy prologio rcparser wx wxgraph\ |
62448488 | 654 | wxstring wxtree mfutils # wxxpm |
2bda0e17 | 655 | |
62448488 | 656 | all_contribs: |
2bda0e17 | 657 | cd $(WXDIR)\src\msw |
c7f49969 | 658 | make -f makefile.bcc ctl3d fafa wxstring itsy gauge # wxxpm |
62448488 JS |
659 | |
660 | # CONTRIB | |
661 | ctl3d: $(CFG) | |
662 | cd $(WXDIR)\src\msw\ctl3d\borland | |
c7f49969 | 663 | make -f makefile.bcc -DCFG=$(CFG) |
62448488 JS |
664 | cd $(WXDIR)\src\msw |
665 | ||
666 | wxxpm: $(CFG) | |
667 | cd $(WXDIR)\src\xpm | |
c7f49969 | 668 | make -f makefile.bcc -DCFG=$(CFG) -DFINAL=$(FINAL) -DWXWIN=$(WXDIR) -DDEBUG=$(DEBUG) |
62448488 JS |
669 | cd $(WXDIR)\src\msw |
670 | ||
671 | png: $(CFG) | |
672 | cd $(WXDIR)\src\png | |
c7f49969 | 673 | make -f makefile.bcc |
62448488 JS |
674 | cd $(WXDIR)\src\msw |
675 | ||
676 | clean_png: | |
677 | cd $(WXDIR)\src\png | |
c7f49969 | 678 | make -f makefile.bcc clean |
62448488 JS |
679 | cd $(WXDIR)\src\msw |
680 | ||
681 | zlib: $(CFG) | |
682 | cd $(WXDIR)\src\zlib | |
c7f49969 | 683 | make -f makefile.bcc |
62448488 JS |
684 | cd $(WXDIR)\src\msw |
685 | ||
686 | clean_zlib: | |
687 | cd $(WXDIR)\src\zlib | |
c7f49969 | 688 | make -f makefile.bcc clean |
62448488 JS |
689 | cd $(WXDIR)\src\msw |
690 | ||
691 | $(CFG): makefile.bcc | |
692 | copy &&! | |
693 | -H=$(WXDIR)\src\msw\borland.pch | |
694 | -2 | |
695 | -P | |
696 | -d | |
697 | -w-hid | |
698 | -w-par | |
699 | -w-pia | |
700 | -w-aus | |
701 | -w-rch | |
702 | -ml | |
703 | -Od | |
704 | -WE | |
705 | -Fs- | |
706 | -Vf | |
707 | -Ff=4 | |
0a240683 | 708 | -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm |
62448488 JS |
709 | -I$(WXDIR)\include\wx\msw\gnuwin32 |
710 | -L$(BCCDIR)\lib | |
711 | -D__WXWIN__ | |
712 | -D__WXMSW__ | |
713 | -D__WINDOWS__ | |
714 | -D__WIN16__ | |
715 | ! $(CFG) | |
716 | !if "$(BOR_VER)" == "3.1" | |
717 | echo -Ff=4 >>$(CFG) | |
718 | !elif "$(BOR_VER)" == "4" | |
719 | echo -Ff=512 >>$(CFG) | |
720 | echo -dc >>$(CFG) | |
721 | !else | |
722 | echo -Ff=512 >>$(CFG) | |
723 | echo -dc >>$(CFG) | |
724 | !endif | |
725 | ||
726 | # -O was: -Oxt | |
2bda0e17 KB |
727 | |
728 | clean: $(PERIPH_CLEAN_TARGET) | |
729 | erase $(LIBTARGET) | |
2bda0e17 | 730 | erase *.obj |
62448488 JS |
731 | erase *.pch |
732 | erase *.csm | |
733 | erase *.cfg | |
734 | erase ..\common\y_tab.c | |
735 | erase ..\common\lex_yy.c | |
2bda0e17 KB |
736 | |
737 | cleanall: clean | |
62448488 JS |
738 | |
739 |