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