]>
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) | |
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 \ | |
80 | $(MSWDIR)\msgdlgg.obj \ | |
81 | $(MSWDIR)\notebook.obj \ | |
82 | $(MSWDIR)\panelg.obj \ | |
e3a43801 JS |
83 | $(MSWDIR)\prop.obj \ |
84 | $(MSWDIR)\propform.obj \ | |
85 | $(MSWDIR)\proplist.obj \ | |
62448488 JS |
86 | $(MSWDIR)\sashwin.obj \ |
87 | $(MSWDIR)\scrolwin.obj \ | |
88 | $(MSWDIR)\splitter.obj \ | |
89 | $(MSWDIR)\statusbr.obj \ | |
90 | $(MSWDIR)\tabg.obj \ | |
91 | $(MSWDIR)\textdlgg.obj \ | |
92 | $(MSWDIR)\treectrl.obj | |
93 | ||
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 \ | |
118 | $(MSWDIR)\postscrp.obj \ | |
119 | $(MSWDIR)\prntbase.obj \ | |
120 | $(MSWDIR)\resource.obj \ | |
3b1de9c2 | 121 | $(MSWDIR)\resourc2.obj \ |
62448488 JS |
122 | $(MSWDIR)\tbarbase.obj \ |
123 | $(MSWDIR)\tbarsmpl.obj \ | |
124 | $(MSWDIR)\textfile.obj \ | |
125 | $(MSWDIR)\timercmn.obj \ | |
126 | $(MSWDIR)\utilscmn.obj \ | |
127 | $(MSWDIR)\validate.obj \ | |
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 | ||
149 | # $(MSWDIR)\socket.obj \ | |
150 | # $(MSWDIR)\sckaddr.obj \ | |
151 | # $(MSWDIR)\protocol.obj \ | |
152 | # $(MSWDIR)\url.obj \ | |
153 | # $(MSWDIR)\http.obj \ | |
154 | # $(MSWDIR)\ftp.obj \ | |
155 | # $(MSWDIR)\sckfile.obj \ | |
156 | # $(MSWDIR)\sckipc.obj \ | |
157 | # $(MSWDIR)\odbc.obj \ | |
158 | ||
159 | MSWOBJS = \ | |
160 | $(MSWDIR)\accel.obj \ | |
161 | $(MSWDIR)\app.obj \ | |
162 | $(MSWDIR)\bitmap.obj \ | |
163 | $(MSWDIR)\bmpbuttn.obj \ | |
164 | $(MSWDIR)\brush.obj \ | |
165 | $(MSWDIR)\button.obj \ | |
166 | $(MSWDIR)\checkbox.obj \ | |
167 | $(MSWDIR)\checklst.obj \ | |
168 | $(MSWDIR)\choice.obj \ | |
169 | $(MSWDIR)\clipbrd.obj \ | |
170 | $(MSWDIR)\colordlg.obj \ | |
171 | $(MSWDIR)\colour.obj \ | |
172 | $(MSWDIR)\combobox.obj \ | |
173 | $(MSWDIR)\control.obj \ | |
174 | $(MSWDIR)\curico.obj \ | |
175 | $(MSWDIR)\cursor.obj \ | |
176 | $(MSWDIR)\data.obj \ | |
177 | $(MSWDIR)\dc.obj \ | |
178 | $(MSWDIR)\dcmemory.obj \ | |
179 | $(MSWDIR)\dcclient.obj \ | |
180 | $(MSWDIR)\dcprint.obj \ | |
181 | $(MSWDIR)\dcscreen.obj \ | |
182 | $(MSWDIR)\dde.obj \ | |
183 | $(MSWDIR)\dialog.obj \ | |
184 | $(MSWDIR)\dib.obj \ | |
185 | $(MSWDIR)\dibutils.obj \ | |
186 | $(MSWDIR)\dirdlg.obj \ | |
187 | $(MSWDIR)\filedlg.obj \ | |
188 | $(MSWDIR)\font.obj \ | |
189 | $(MSWDIR)\fontdlg.obj \ | |
190 | $(MSWDIR)\frame.obj \ | |
191 | $(MSWDIR)\gaugemsw.obj \ | |
192 | $(MSWDIR)\gdiobj.obj \ | |
193 | $(MSWDIR)\helpwin.obj \ | |
194 | $(MSWDIR)\icon.obj \ | |
62448488 JS |
195 | $(MSWDIR)\iniconf.obj \ |
196 | $(MSWDIR)\joystick.obj \ | |
197 | $(MSWDIR)\listbox.obj \ | |
198 | $(MSWDIR)\main.obj \ | |
199 | $(MSWDIR)\mdi.obj \ | |
200 | $(MSWDIR)\menu.obj \ | |
201 | $(MSWDIR)\menuitem.obj \ | |
202 | $(MSWDIR)\metafile.obj \ | |
203 | $(MSWDIR)\minifram.obj \ | |
204 | $(MSWDIR)\msgdlg.obj \ | |
205 | $(MSWDIR)\nativdlg.obj \ | |
206 | $(MSWDIR)\ownerdrw.obj \ | |
207 | $(MSWDIR)\palette.obj \ | |
208 | $(MSWDIR)\pen.obj \ | |
209 | $(MSWDIR)\penwin.obj \ | |
210 | $(MSWDIR)\pnghand.obj \ | |
211 | $(MSWDIR)\printdlg.obj \ | |
212 | $(MSWDIR)\printwin.obj \ | |
213 | $(MSWDIR)\radiobox.obj \ | |
214 | $(MSWDIR)\radiobut.obj \ | |
215 | $(MSWDIR)\region.obj \ | |
216 | $(MSWDIR)\scrolbar.obj \ | |
217 | $(MSWDIR)\settings.obj \ | |
218 | $(MSWDIR)\slidrmsw.obj \ | |
219 | $(MSWDIR)\spinbutt.obj \ | |
220 | $(MSWDIR)\statbmp.obj \ | |
221 | $(MSWDIR)\statbox.obj \ | |
222 | $(MSWDIR)\stattext.obj \ | |
223 | $(MSWDIR)\tbarmsw.obj \ | |
224 | $(MSWDIR)\textctrl.obj \ | |
225 | $(MSWDIR)\timer.obj \ | |
226 | $(MSWDIR)\utils.obj \ | |
227 | $(MSWDIR)\utilsexc.obj \ | |
228 | $(MSWDIR)\wave.obj \ | |
229 | $(MSWDIR)\window.obj \ | |
230 | ||
231 | # Unfortunately this causes a crash when the oleauto sample starts. | |
232 | # $(MSWDIR)\automtn.obj | |
233 | ||
234 | # Not used for 16-bit compilation | |
235 | # $(MSWDIR)\gauge95.obj \ | |
236 | # $(MSWDIR)\treectrl.obj \ | |
237 | # $(MSWDIR)\oleutils.obj \ | |
238 | # $(MSWDIR)\dataobj.obj \ | |
239 | # $(MSWDIR)\uuid.obj | |
240 | # $(MSWDIR)\droptgt.obj \ | |
241 | # $(MSWDIR)\dropsrc.obj \ | |
3b1de9c2 | 242 | # $(MSWDIR)\imaglist.obj \ |
62448488 JS |
243 | # $(MSWDIR)\notebook.obj \ |
244 | # $(MSWDIR)\listctrl.obj \ | |
245 | # $(MSWDIR)\tabctrl.obj \ | |
246 | # $(MSWDIR)\taskbar.obj \ | |
247 | # $(MSWDIR)\tbar95.obj \ | |
248 | # $(MSWDIR)\thread.obj \ | |
249 | # $(MSWDIR)\slider95.obj \ | |
250 | # $(MSWDIR)\statbr95.obj \ | |
251 | # $(MSWDIR)\registry.obj \ | |
252 | # $(MSWDIR)\regconf.obj \ | |
253 | ||
254 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) | |
255 | ||
256 | default: wx | |
257 | ||
258 | wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) | |
259 | ||
260 | $(LIBTARGET): $(DUMMY).obj $(OBJECTS) $(PERIPH_LIBS) | |
2bda0e17 | 261 | erase $(LIBTARGET) |
62448488 JS |
262 | tlib $(LIBTARGET) /P1024 @&&! |
263 | +$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +) | |
2bda0e17 KB |
264 | ! |
265 | ||
62448488 JS |
266 | dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h |
267 | dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h | |
2bda0e17 | 268 | |
62448488 | 269 | $(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c |
2bda0e17 | 270 | |
62448488 JS |
271 | # cl @<< |
272 | #$(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ | |
273 | #<< | |
2bda0e17 | 274 | |
62448488 JS |
275 | $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c |
276 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
2bda0e17 | 277 | |
62448488 JS |
278 | $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c |
279 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
2bda0e17 | 280 | |
62448488 | 281 | #$(OBJECTS): $(WXDIR)\include\wx\setup.h |
2bda0e17 | 282 | |
62448488 | 283 | $(MSWDIR)\accel.obj: $(MSWDIR)\accel.$(SRCSUFF) |
2bda0e17 | 284 | |
62448488 | 285 | $(MSWDIR)\app.obj: $(MSWDIR)\app.$(SRCSUFF) |
2bda0e17 | 286 | |
62448488 | 287 | $(MSWDIR)\bitmap.obj: $(MSWDIR)\bitmap.$(SRCSUFF) |
2bda0e17 | 288 | |
62448488 | 289 | $(MSWDIR)\bmpbuttn.obj: $(MSWDIR)\bmpbuttn.$(SRCSUFF) |
2bda0e17 | 290 | |
62448488 JS |
291 | $(MSWDIR)\brush.obj: $(MSWDIR)\brush.$(SRCSUFF) |
292 | ||
293 | $(MSWDIR)\button.obj: $(MSWDIR)\button.$(SRCSUFF) | |
294 | ||
295 | $(MSWDIR)\choice.obj: $(MSWDIR)\choice.$(SRCSUFF) | |
296 | ||
297 | $(MSWDIR)\checkbox.obj: $(MSWDIR)\checkbox.$(SRCSUFF) | |
298 | ||
299 | $(MSWDIR)\checklst.obj: $(MSWDIR)\checklst.$(SRCSUFF) | |
300 | ||
301 | $(MSWDIR)\clipbrd.obj: $(MSWDIR)\clipbrd.$(SRCSUFF) | |
302 | ||
303 | $(MSWDIR)\colordlg.obj: $(MSWDIR)\colordlg.$(SRCSUFF) | |
304 | ||
305 | $(MSWDIR)\colour.obj: $(MSWDIR)\colour.$(SRCSUFF) | |
306 | ||
307 | $(MSWDIR)\combobox.obj: $(MSWDIR)\combobox.$(SRCSUFF) | |
308 | ||
309 | $(MSWDIR)\control.obj: $(MSWDIR)\control.$(SRCSUFF) | |
310 | ||
311 | $(MSWDIR)\curico.obj: $(MSWDIR)\curico.$(SRCSUFF) | |
312 | ||
313 | $(MSWDIR)\cursor.obj: $(MSWDIR)\cursor.$(SRCSUFF) | |
314 | ||
315 | $(MSWDIR)\data.obj: $(MSWDIR)\data.$(SRCSUFF) | |
316 | ||
317 | $(MSWDIR)\dde.obj: $(MSWDIR)\dde.$(SRCSUFF) | |
318 | ||
319 | $(MSWDIR)\dc.obj: $(MSWDIR)\dc.$(SRCSUFF) | |
320 | ||
321 | $(MSWDIR)\dcmemory.obj: $(MSWDIR)\dcmemory.$(SRCSUFF) | |
322 | ||
323 | $(MSWDIR)\dcclient.obj: $(MSWDIR)\dcclient.$(SRCSUFF) | |
324 | ||
325 | $(MSWDIR)\dcprint.obj: $(MSWDIR)\dcprint.$(SRCSUFF) | |
326 | ||
327 | $(MSWDIR)\dcscreen.obj: $(MSWDIR)\dcscreen.$(SRCSUFF) | |
328 | ||
329 | $(MSWDIR)\dialog.obj: $(MSWDIR)\dialog.$(SRCSUFF) | |
330 | ||
331 | $(MSWDIR)\dib.obj: $(MSWDIR)\dib.$(SRCSUFF) | |
332 | ||
333 | $(MSWDIR)\dirdlg.obj: $(MSWDIR)\dirdlg.$(SRCSUFF) | |
334 | ||
335 | $(MSWDIR)\filedlg.obj: $(MSWDIR)\filedlg.$(SRCSUFF) | |
336 | ||
337 | $(MSWDIR)\font.obj: $(MSWDIR)\font.$(SRCSUFF) | |
338 | ||
339 | $(MSWDIR)\fontdlg.obj: $(MSWDIR)\fontdlg.$(SRCSUFF) | |
340 | ||
341 | $(MSWDIR)\frame.obj: $(MSWDIR)\frame.$(SRCSUFF) | |
342 | ||
343 | $(MSWDIR)\gaugemsw.obj: $(MSWDIR)\gaugemsw.$(SRCSUFF) | |
344 | ||
345 | $(MSWDIR)\gauge95.obj: $(MSWDIR)\gauge95.$(SRCSUFF) | |
346 | ||
347 | $(MSWDIR)\gdiobj.obj: $(MSWDIR)\gdiobj.$(SRCSUFF) | |
348 | ||
349 | $(MSWDIR)\icon.obj: $(MSWDIR)\icon.$(SRCSUFF) | |
350 | ||
3b1de9c2 | 351 | # $(MSWDIR)\imaglist.obj: $(MSWDIR)\imaglist.$(SRCSUFF) |
62448488 JS |
352 | |
353 | $(MSWDIR)\joystick.obj: $(MSWDIR)\joystick.$(SRCSUFF) | |
354 | ||
355 | $(MSWDIR)\listbox.obj: $(MSWDIR)\listbox.$(SRCSUFF) | |
356 | ||
3b1de9c2 | 357 | # $(MSWDIR)\listctrl.obj: $(MSWDIR)\listctrl.$(SRCSUFF) |
62448488 JS |
358 | |
359 | $(MSWDIR)\main.obj: $(MSWDIR)\main.$(SRCSUFF) | |
360 | ||
361 | $(MSWDIR)\mdi.obj: $(MSWDIR)\mdi.$(SRCSUFF) | |
362 | ||
363 | $(MSWDIR)\menu.obj: $(MSWDIR)\menu.$(SRCSUFF) | |
364 | ||
365 | $(MSWDIR)\menuitem.obj: $(MSWDIR)\menu.$(SRCSUFF) | |
366 | ||
367 | $(MSWDIR)\metafile.obj: $(MSWDIR)\metafile.$(SRCSUFF) | |
368 | ||
369 | $(MSWDIR)\minifram.obj: $(MSWDIR)\minifram.$(SRCSUFF) | |
370 | ||
371 | $(MSWDIR)\msgdlg.obj: $(MSWDIR)\msgdlg.$(SRCSUFF) | |
372 | ||
373 | $(MSWDIR)\nativdlg.obj: $(MSWDIR)\nativdlg.$(SRCSUFF) | |
374 | ||
375 | # $(MSWDIR)\notebook.obj: $(MSWDIR)\notebook.$(SRCSUFF) | |
376 | ||
377 | $(MSWDIR)\ownerdrw.obj: $(MSWDIR)\ownerdrw.$(SRCSUFF) | |
378 | ||
379 | $(MSWDIR)\palette.obj: $(MSWDIR)\palette.$(SRCSUFF) | |
380 | ||
381 | $(MSWDIR)\pen.obj: $(MSWDIR)\pen.$(SRCSUFF) | |
382 | ||
383 | $(MSWDIR)\penwin.obj: $(MSWDIR)\penwin.$(SRCSUFF) | |
384 | ||
385 | $(MSWDIR)\printdlg.obj: $(MSWDIR)\printdlg.$(SRCSUFF) | |
386 | ||
387 | $(MSWDIR)\printwin.obj: $(MSWDIR)\printwin.$(SRCSUFF) | |
388 | ||
389 | $(MSWDIR)\radiobox.obj: $(MSWDIR)\radiobox.$(SRCSUFF) | |
390 | ||
391 | $(MSWDIR)\radiobut.obj: $(MSWDIR)\radiobut.$(SRCSUFF) | |
392 | ||
393 | $(MSWDIR)\region.obj: $(MSWDIR)\region.$(SRCSUFF) | |
394 | ||
395 | $(MSWDIR)\registry.obj: $(MSWDIR)\registry.$(SRCSUFF) | |
396 | ||
397 | $(MSWDIR)\regconf.obj: $(MSWDIR)\regconf.$(SRCSUFF) | |
398 | ||
399 | $(MSWDIR)\scrolbar.obj: $(MSWDIR)\scrolbar.$(SRCSUFF) | |
400 | ||
401 | $(MSWDIR)\settings.obj: $(MSWDIR)\settings.$(SRCSUFF) | |
402 | ||
403 | $(MSWDIR)\slidrmsw.obj: $(MSWDIR)\slidrmsw.$(SRCSUFF) | |
404 | ||
405 | $(MSWDIR)\slider95.obj: $(MSWDIR)\slider95.$(SRCSUFF) | |
406 | ||
407 | $(MSWDIR)\spinbutt.obj: $(MSWDIR)\spinbutt.$(SRCSUFF) | |
408 | ||
409 | $(MSWDIR)\statbmp.obj: $(MSWDIR)\statbmp.$(SRCSUFF) | |
410 | ||
411 | $(MSWDIR)\statbox.obj: $(MSWDIR)\statbox.$(SRCSUFF) | |
412 | ||
413 | $(MSWDIR)\statbr95.obj: $(MSWDIR)\statbr95.$(SRCSUFF) | |
414 | ||
415 | $(MSWDIR)\stattext.obj: $(MSWDIR)\stattext.$(SRCSUFF) | |
416 | ||
417 | $(MSWDIR)\tabctrl.obj: $(MSWDIR)\tabctrl.$(SRCSUFF) | |
418 | ||
419 | $(MSWDIR)\taskbar.obj: $(MSWDIR)\taskbar.$(SRCSUFF) | |
420 | ||
421 | $(MSWDIR)\tbar95.obj: $(MSWDIR)\tbar95.$(SRCSUFF) | |
422 | ||
423 | $(MSWDIR)\tbarmsw.obj: $(MSWDIR)\tbarmsw.$(SRCSUFF) | |
424 | ||
425 | $(MSWDIR)\textctrl.obj: $(MSWDIR)\textctrl.$(SRCSUFF) | |
426 | ||
427 | $(MSWDIR)\thread.obj: $(MSWDIR)\thread.$(SRCSUFF) | |
428 | ||
429 | $(MSWDIR)\timer.obj: $(MSWDIR)\timer.$(SRCSUFF) | |
430 | ||
3b1de9c2 | 431 | # $(MSWDIR)\treectrl.obj: $(MSWDIR)\treectrl.$(SRCSUFF) |
62448488 JS |
432 | |
433 | $(MSWDIR)\utils.obj: $(MSWDIR)\utils.$(SRCSUFF) | |
434 | ||
435 | $(MSWDIR)\utilsexc.obj: $(MSWDIR)\utilsexc.$(SRCSUFF) | |
2bda0e17 | 436 | |
62448488 JS |
437 | $(MSWDIR)\wave.obj: $(MSWDIR)\wave.$(SRCSUFF) |
438 | ||
439 | $(MSWDIR)\window.obj: $(MSWDIR)\window.$(SRCSUFF) | |
440 | ||
441 | $(MSWDIR)\droptgt.obj: $(OLEDIR)\droptgt.$(SRCSUFF) | |
442 | ||
443 | $(MSWDIR)\dropsrc.obj: $(OLEDIR)\dropsrc.$(SRCSUFF) | |
444 | ||
445 | $(MSWDIR)\dataobj.obj: $(OLEDIR)\dataobj.$(SRCSUFF) | |
446 | ||
447 | $(MSWDIR)\oleutils.obj: $(OLEDIR)\oleutils.$(SRCSUFF) | |
448 | ||
449 | $(MSWDIR)\uuid.obj: $(OLEDIR)\uuid.$(SRCSUFF) | |
450 | ||
451 | $(MSWDIR)\automtn.obj: $(OLEDIR)\automtn.$(SRCSUFF) | |
452 | ||
453 | ######################################################## | |
454 | # Common objects (always compiled) | |
455 | ||
456 | $(MSWDIR)\config.obj: $(COMMDIR)\config.$(SRCSUFF) | |
457 | ||
458 | $(MSWDIR)\cmndata.obj: $(COMMDIR)\cmndata.$(SRCSUFF) | |
459 | ||
460 | $(MSWDIR)\docview.obj: $(COMMDIR)\docview.$(SRCSUFF) | |
461 | ||
462 | $(MSWDIR)\docmdi.obj: $(COMMDIR)\docmdi.$(SRCSUFF) | |
463 | ||
464 | $(MSWDIR)\dynarray.obj: $(COMMDIR)\dynarray.$(SRCSUFF) | |
465 | ||
466 | $(MSWDIR)\dynlib.obj: $(COMMDIR)\dynlib.$(SRCSUFF) | |
467 | ||
468 | $(MSWDIR)\event.obj: $(COMMDIR)\event.$(SRCSUFF) | |
469 | ||
470 | $(MSWDIR)\file.obj: $(COMMDIR)\file.$(SRCSUFF) | |
471 | ||
472 | $(MSWDIR)\fileconf.obj: $(COMMDIR)\fileconf.$(SRCSUFF) | |
473 | ||
474 | $(MSWDIR)\filefn.obj: $(COMMDIR)\filefn.$(SRCSUFF) | |
475 | ||
476 | $(MSWDIR)\framecmn.obj: $(COMMDIR)\framecmn.$(SRCSUFF) | |
477 | ||
478 | $(MSWDIR)\gdicmn.obj: $(COMMDIR)\gdicmn.$(SRCSUFF) | |
479 | ||
480 | $(MSWDIR)\image.obj: $(COMMDIR)\image.$(SRCSUFF) | |
481 | ||
482 | $(MSWDIR)\intl.obj: $(COMMDIR)\intl.$(SRCSUFF) | |
483 | ||
484 | $(MSWDIR)\ipcbase.obj: $(COMMDIR)\ipcbase.$(SRCSUFF) | |
485 | ||
486 | $(MSWDIR)\helpbase.obj: $(COMMDIR)\helpbase.$(SRCSUFF) | |
487 | ||
488 | $(MSWDIR)\layout.obj: $(COMMDIR)\layout.$(SRCSUFF) | |
489 | ||
490 | $(MSWDIR)\log.obj: $(COMMDIR)\log.$(SRCSUFF) | |
491 | ||
492 | $(MSWDIR)\memory.obj: $(COMMDIR)\memory.$(SRCSUFF) | |
493 | ||
494 | $(MSWDIR)\module.obj: $(COMMDIR)\module.$(SRCSUFF) | |
495 | ||
496 | $(MSWDIR)\object.obj: $(COMMDIR)\object.$(SRCSUFF) | |
497 | ||
498 | $(MSWDIR)\odbc.obj: $(COMMDIR)\odbc.$(SRCSUFF) | |
499 | ||
500 | $(MSWDIR)\postscrp.obj: $(COMMDIR)\postscrp.$(SRCSUFF) | |
501 | ||
502 | $(MSWDIR)\prntbase.obj: $(COMMDIR)\prntbase.$(SRCSUFF) | |
503 | ||
504 | $(MSWDIR)\resource.obj: $(COMMDIR)\resource.$(SRCSUFF) | |
505 | ||
3b1de9c2 JS |
506 | $(MSWDIR)\resourc2.obj: $(COMMDIR)\resourc2.$(SRCSUFF) |
507 | ||
62448488 JS |
508 | $(MSWDIR)\tbarbase.obj: $(COMMDIR)\tbarbase.$(SRCSUFF) |
509 | ||
510 | $(MSWDIR)\tbarsmpl.obj: $(COMMDIR)\tbarsmpl.$(SRCSUFF) | |
511 | ||
512 | $(MSWDIR)\textfile.obj: $(COMMDIR)\textfile.$(SRCSUFF) | |
513 | ||
514 | $(MSWDIR)\timercmn.obj: $(COMMDIR)\timercmn.$(SRCSUFF) | |
515 | ||
516 | $(MSWDIR)\utilscmn.obj: $(COMMDIR)\utilscmn.$(SRCSUFF) | |
517 | ||
518 | $(MSWDIR)\validate.obj: $(COMMDIR)\validate.$(SRCSUFF) | |
519 | ||
520 | $(MSWDIR)\valtext.obj: $(COMMDIR)\valtext.$(SRCSUFF) | |
521 | ||
522 | $(MSWDIR)\date.obj: $(COMMDIR)\date.$(SRCSUFF) | |
523 | ||
524 | $(MSWDIR)\wxexpr.obj: $(COMMDIR)\wxexpr.$(SRCSUFF) | |
525 | ||
526 | $(MSWDIR)\hash.obj: $(COMMDIR)\hash.$(SRCSUFF) | |
527 | ||
528 | $(MSWDIR)\list.obj: $(COMMDIR)\list.$(SRCSUFF) | |
529 | ||
530 | $(MSWDIR)\string.obj: $(COMMDIR)\string.$(SRCSUFF) | |
531 | ||
532 | $(MSWDIR)\variant.obj: $(COMMDIR)\variant.$(SRCSUFF) | |
533 | ||
534 | $(MSWDIR)\matrix.obj: $(COMMDIR)\matrix.$(SRCSUFF) | |
535 | ||
536 | $(MSWDIR)\time.obj: $(COMMDIR)\time.$(SRCSUFF) | |
537 | ||
538 | $(MSWDIR)\datstrm.obj: $(COMMDIR)\datstrm.$(SRCSUFF) | |
539 | ||
540 | $(MSWDIR)\sckstrm.obj: $(COMMDIR)\sckstrm.$(SRCSUFF) | |
541 | ||
542 | $(MSWDIR)\mstream.obj: $(COMMDIR)\mstream.$(SRCSUFF) | |
543 | ||
544 | $(MSWDIR)\zstream.obj: $(COMMDIR)\zstream.$(SRCSUFF) | |
545 | ||
546 | $(MSWDIR)\wfstream.obj: $(COMMDIR)\wfstream.$(SRCSUFF) | |
547 | ||
548 | $(MSWDIR)\stream.obj: $(COMMDIR)\stream.$(SRCSUFF) | |
549 | ||
550 | $(MSWDIR)\objstrm.obj: $(COMMDIR)\objstrm.$(SRCSUFF) | |
551 | ||
552 | $(MSWDIR)\wincmn.obj: $(COMMDIR)\wincmn.$(SRCSUFF) | |
553 | ||
554 | $(MSWDIR)\extended.obj: $(COMMDIR)\extended.c | |
555 | ||
556 | $(MSWDIR)\tokenzr.obj: $(COMMDIR)\tokenzr.$(SRCSUFF) | |
557 | ||
558 | $(MSWDIR)\socket.obj: $(COMMDIR)\socket.$(SRCSUFF) | |
559 | ||
560 | $(MSWDIR)\sckaddr.obj: $(COMMDIR)\sckaddr.$(SRCSUFF) | |
561 | ||
562 | $(MSWDIR)\protocol.obj: $(COMMDIR)\protocol.$(SRCSUFF) | |
563 | ||
564 | $(MSWDIR)\url.obj: $(COMMDIR)\url.$(SRCSUFF) | |
565 | ||
566 | $(MSWDIR)\http.obj: $(COMMDIR)\http.$(SRCSUFF) | |
567 | ||
568 | $(MSWDIR)\ftp.obj: $(COMMDIR)\ftp.$(SRCSUFF) | |
569 | ||
570 | $(MSWDIR)\sckfile.obj: $(COMMDIR)\sckfile.$(SRCSUFF) | |
571 | ||
572 | $(MSWDIR)\sckipc.obj: $(COMMDIR)\sckipc.$(SRCSUFF) | |
573 | ||
574 | ######################################################## | |
575 | # Generic objects (not always compiled, depending on | |
576 | # whether platforms have native implementations) | |
577 | ||
578 | $(MSWDIR)\choicdgg.obj: $(GENDIR)\choicdgg.$(SRCSUFF) | |
579 | ||
580 | $(MSWDIR)\colrdlgg.obj: $(GENDIR)\colrdlgg.$(SRCSUFF) | |
581 | ||
582 | $(MSWDIR)\fontdlgg.obj: $(GENDIR)\fontdlgg.$(SRCSUFF) | |
583 | ||
584 | $(MSWDIR)\gridg.obj: $(GENDIR)\gridg.$(SRCSUFF) | |
585 | ||
586 | $(MSWDIR)\helpxlp.obj: $(GENDIR)\helpxlp.$(SRCSUFF) | |
587 | ||
588 | $(MSWDIR)\laywin.obj: $(GENDIR)\laywin.$(SRCSUFF) | |
589 | ||
590 | $(MSWDIR)\msgdlgg.obj: $(GENDIR)\msgdlgg.$(SRCSUFF) | |
591 | ||
592 | $(MSWDIR)\panelg.obj: $(GENDIR)\panelg.$(SRCSUFF) | |
593 | ||
594 | $(MSWDIR)\printps.obj: $(GENDIR)\printps.$(SRCSUFF) | |
595 | ||
596 | $(MSWDIR)\prntdlgg.obj: $(GENDIR)\prntdlgg.$(SRCSUFF) | |
597 | ||
e3a43801 JS |
598 | $(MSWDIR)\prop.obj: $(GENDIR)\prop.$(SRCSUFF) |
599 | ||
600 | $(MSWDIR)\proplist.obj: $(GENDIR)\proplist.$(SRCSUFF) | |
601 | ||
602 | $(MSWDIR)\propform.obj: $(GENDIR)\propform.$(SRCSUFF) | |
603 | ||
62448488 JS |
604 | $(MSWDIR)\sashwin.obj: $(GENDIR)\sashwin.$(SRCSUFF) |
605 | ||
606 | $(MSWDIR)\scrolwin.obj: $(GENDIR)\scrolwin.$(SRCSUFF) | |
607 | ||
608 | $(MSWDIR)\splitter.obj: $(GENDIR)\splitter.$(SRCSUFF) | |
609 | ||
610 | $(MSWDIR)\statusbr.obj: $(GENDIR)\statusbr.$(SRCSUFF) | |
611 | ||
612 | $(MSWDIR)\textdlgg.obj: $(GENDIR)\textdlgg.$(SRCSUFF) | |
613 | ||
614 | $(MSWDIR)\tabg.obj: $(GENDIR)\tabg.$(SRCSUFF) | |
615 | ||
616 | $(MSWDIR)\treectrl.obj: $(GENDIR)\treectrl.$(SRCSUFF) | |
617 | ||
618 | $(MSWDIR)\listctrl.obj: $(GENDIR)\listctrl.$(SRCSUFF) | |
619 | ||
620 | $(MSWDIR)\imaglist.obj: $(GENDIR)\imaglist.$(SRCSUFF) | |
621 | ||
622 | $(MSWDIR)\notebook.obj: $(GENDIR)\notebook.$(SRCSUFF) | |
623 | ||
624 | all_utils: | |
625 | cd $(WXDIR)\utils | |
626 | make -f makefile.b32 | |
2bda0e17 KB |
627 | cd $(WXDIR)\src\msw |
628 | ||
62448488 JS |
629 | all_samples: |
630 | cd $(WXDIR)\samples | |
631 | make -f makefile.b32 | |
2bda0e17 KB |
632 | cd $(WXDIR)\src\msw |
633 | ||
62448488 JS |
634 | all_execs: |
635 | cd $(WXDIR)\utils | |
636 | make -f makefile.b32 all_execs | |
2bda0e17 KB |
637 | cd $(WXDIR)\src\msw |
638 | ||
62448488 | 639 | all_libs: |
2bda0e17 | 640 | cd $(WXDIR)\src\msw |
62448488 JS |
641 | make -f makefile.b32 ctl3d dib fafa gauge hytext itsy prologio rcparser wx wxgraph\ |
642 | wxstring wxtree mfutils # wxxpm | |
2bda0e17 | 643 | |
62448488 | 644 | all_contribs: |
2bda0e17 | 645 | cd $(WXDIR)\src\msw |
62448488 JS |
646 | make -f makefile.b32 ctl3d fafa wxstring itsy gauge # wxxpm |
647 | ||
648 | # CONTRIB | |
649 | ctl3d: $(CFG) | |
650 | cd $(WXDIR)\src\msw\ctl3d\borland | |
651 | make -f makefile.b32 -DCFG=$(CFG) | |
652 | cd $(WXDIR)\src\msw | |
653 | ||
654 | wxxpm: $(CFG) | |
655 | cd $(WXDIR)\src\xpm | |
656 | make -f makefile.b32 -DCFG=$(CFG) -DFINAL=$(FINAL) -DWXWIN=$(WXDIR) -DDEBUG=$(DEBUG) | |
657 | cd $(WXDIR)\src\msw | |
658 | ||
659 | png: $(CFG) | |
660 | cd $(WXDIR)\src\png | |
661 | make -f makefile.b32 | |
662 | cd $(WXDIR)\src\msw | |
663 | ||
664 | clean_png: | |
665 | cd $(WXDIR)\src\png | |
666 | make -f makefile.b32 clean | |
667 | cd $(WXDIR)\src\msw | |
668 | ||
669 | zlib: $(CFG) | |
670 | cd $(WXDIR)\src\zlib | |
671 | make -f makefile.b32 lib | |
672 | cd $(WXDIR)\src\msw | |
673 | ||
674 | clean_zlib: | |
675 | cd $(WXDIR)\src\zlib | |
676 | make -f makefile.b32 clean | |
677 | cd $(WXDIR)\src\msw | |
678 | ||
679 | $(CFG): makefile.bcc | |
680 | copy &&! | |
681 | -H=$(WXDIR)\src\msw\borland.pch | |
682 | -2 | |
683 | -P | |
684 | -d | |
685 | -w-hid | |
686 | -w-par | |
687 | -w-pia | |
688 | -w-aus | |
689 | -w-rch | |
690 | -ml | |
691 | -Od | |
692 | -WE | |
693 | -Fs- | |
694 | -Vf | |
695 | -Ff=4 | |
696 | -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/zlib | |
697 | -I$(WXDIR)\include\wx\msw\gnuwin32 | |
698 | -L$(BCCDIR)\lib | |
699 | -D__WXWIN__ | |
700 | -D__WXMSW__ | |
701 | -D__WINDOWS__ | |
702 | -D__WIN16__ | |
703 | ! $(CFG) | |
704 | !if "$(BOR_VER)" == "3.1" | |
705 | echo -Ff=4 >>$(CFG) | |
706 | !elif "$(BOR_VER)" == "4" | |
707 | echo -Ff=512 >>$(CFG) | |
708 | echo -dc >>$(CFG) | |
709 | !else | |
710 | echo -Ff=512 >>$(CFG) | |
711 | echo -dc >>$(CFG) | |
712 | !endif | |
713 | ||
714 | # -O was: -Oxt | |
2bda0e17 KB |
715 | |
716 | clean: $(PERIPH_CLEAN_TARGET) | |
717 | erase $(LIBTARGET) | |
2bda0e17 | 718 | erase *.obj |
62448488 JS |
719 | erase *.pch |
720 | erase *.csm | |
721 | erase *.cfg | |
722 | erase ..\common\y_tab.c | |
723 | erase ..\common\lex_yy.c | |
2bda0e17 KB |
724 | |
725 | cleanall: clean | |
62448488 JS |
726 | |
727 |