]>
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 \ | |
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 \ | |
127 | $(MSWDIR)\valtext.obj \ | |
128 | $(MSWDIR)\variant.obj \ | |
129 | $(MSWDIR)\date.obj \ | |
130 | $(MSWDIR)\hash.obj \ | |
131 | $(MSWDIR)\list.obj \ | |
132 | $(MSWDIR)\string.obj \ | |
133 | $(MSWDIR)\time.obj \ | |
134 | $(MSWDIR)\wxexpr.obj \ | |
135 | $(MSWDIR)\y_tab.obj \ | |
136 | $(MSWDIR)\stream.obj \ | |
137 | $(MSWDIR)\wfstream.obj \ | |
138 | $(MSWDIR)\mstream.obj \ | |
139 | $(MSWDIR)\zstream.obj \ | |
140 | $(MSWDIR)\datstrm.obj \ | |
141 | $(MSWDIR)\sckstrm.obj \ | |
142 | $(MSWDIR)\extended.obj \ | |
143 | $(MSWDIR)\wincmn.obj \ | |
144 | $(MSWDIR)\objstrm.obj \ | |
145 | $(MSWDIR)\dynlib.obj \ | |
146 | $(MSWDIR)\tokenzr.obj | |
147 | ||
2432b92d | 148 | # Don't compile for WIN16 |
62448488 JS |
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 \ | |
2432b92d JS |
157 | |
158 | # Needs extra files (sql*.h) so not compiled by default. | |
62448488 JS |
159 | # $(MSWDIR)\odbc.obj \ |
160 | ||
2432b92d JS |
161 | # Uses WIN32 registry functions |
162 | # $(MSWDIR)\mimetype.obj \ | |
163 | ||
62448488 JS |
164 | MSWOBJS = \ |
165 | $(MSWDIR)\accel.obj \ | |
166 | $(MSWDIR)\app.obj \ | |
167 | $(MSWDIR)\bitmap.obj \ | |
168 | $(MSWDIR)\bmpbuttn.obj \ | |
169 | $(MSWDIR)\brush.obj \ | |
170 | $(MSWDIR)\button.obj \ | |
171 | $(MSWDIR)\checkbox.obj \ | |
172 | $(MSWDIR)\checklst.obj \ | |
173 | $(MSWDIR)\choice.obj \ | |
174 | $(MSWDIR)\clipbrd.obj \ | |
175 | $(MSWDIR)\colordlg.obj \ | |
176 | $(MSWDIR)\colour.obj \ | |
177 | $(MSWDIR)\combobox.obj \ | |
178 | $(MSWDIR)\control.obj \ | |
179 | $(MSWDIR)\curico.obj \ | |
180 | $(MSWDIR)\cursor.obj \ | |
181 | $(MSWDIR)\data.obj \ | |
182 | $(MSWDIR)\dc.obj \ | |
183 | $(MSWDIR)\dcmemory.obj \ | |
184 | $(MSWDIR)\dcclient.obj \ | |
185 | $(MSWDIR)\dcprint.obj \ | |
186 | $(MSWDIR)\dcscreen.obj \ | |
187 | $(MSWDIR)\dde.obj \ | |
188 | $(MSWDIR)\dialog.obj \ | |
189 | $(MSWDIR)\dib.obj \ | |
190 | $(MSWDIR)\dibutils.obj \ | |
191 | $(MSWDIR)\dirdlg.obj \ | |
192 | $(MSWDIR)\filedlg.obj \ | |
193 | $(MSWDIR)\font.obj \ | |
194 | $(MSWDIR)\fontdlg.obj \ | |
195 | $(MSWDIR)\frame.obj \ | |
196 | $(MSWDIR)\gaugemsw.obj \ | |
197 | $(MSWDIR)\gdiobj.obj \ | |
198 | $(MSWDIR)\helpwin.obj \ | |
199 | $(MSWDIR)\icon.obj \ | |
62448488 JS |
200 | $(MSWDIR)\iniconf.obj \ |
201 | $(MSWDIR)\joystick.obj \ | |
202 | $(MSWDIR)\listbox.obj \ | |
203 | $(MSWDIR)\main.obj \ | |
204 | $(MSWDIR)\mdi.obj \ | |
205 | $(MSWDIR)\menu.obj \ | |
206 | $(MSWDIR)\menuitem.obj \ | |
207 | $(MSWDIR)\metafile.obj \ | |
208 | $(MSWDIR)\minifram.obj \ | |
209 | $(MSWDIR)\msgdlg.obj \ | |
210 | $(MSWDIR)\nativdlg.obj \ | |
211 | $(MSWDIR)\ownerdrw.obj \ | |
212 | $(MSWDIR)\palette.obj \ | |
213 | $(MSWDIR)\pen.obj \ | |
214 | $(MSWDIR)\penwin.obj \ | |
215 | $(MSWDIR)\pnghand.obj \ | |
216 | $(MSWDIR)\printdlg.obj \ | |
217 | $(MSWDIR)\printwin.obj \ | |
218 | $(MSWDIR)\radiobox.obj \ | |
219 | $(MSWDIR)\radiobut.obj \ | |
220 | $(MSWDIR)\region.obj \ | |
221 | $(MSWDIR)\scrolbar.obj \ | |
222 | $(MSWDIR)\settings.obj \ | |
223 | $(MSWDIR)\slidrmsw.obj \ | |
224 | $(MSWDIR)\spinbutt.obj \ | |
225 | $(MSWDIR)\statbmp.obj \ | |
226 | $(MSWDIR)\statbox.obj \ | |
227 | $(MSWDIR)\stattext.obj \ | |
228 | $(MSWDIR)\tbarmsw.obj \ | |
229 | $(MSWDIR)\textctrl.obj \ | |
230 | $(MSWDIR)\timer.obj \ | |
231 | $(MSWDIR)\utils.obj \ | |
232 | $(MSWDIR)\utilsexc.obj \ | |
233 | $(MSWDIR)\wave.obj \ | |
234 | $(MSWDIR)\window.obj \ | |
2fd284a4 | 235 | $(MSWDIR)\xpmhand.obj |
62448488 JS |
236 | |
237 | # Unfortunately this causes a crash when the oleauto sample starts. | |
238 | # $(MSWDIR)\automtn.obj | |
239 | ||
240 | # Not used for 16-bit compilation | |
acbd13a3 | 241 | # $(MSWDIR)\tooltip.obj \ |
62448488 JS |
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 | ||
1f112209 JS |
438 | $(MSWDIR)\tooltip.obj: $(MSWDIR)\tooltip.$(SRCSUFF) |
439 | ||
3b1de9c2 | 440 | # $(MSWDIR)\treectrl.obj: $(MSWDIR)\treectrl.$(SRCSUFF) |
62448488 JS |
441 | |
442 | $(MSWDIR)\utils.obj: $(MSWDIR)\utils.$(SRCSUFF) | |
443 | ||
444 | $(MSWDIR)\utilsexc.obj: $(MSWDIR)\utilsexc.$(SRCSUFF) | |
2bda0e17 | 445 | |
62448488 JS |
446 | $(MSWDIR)\wave.obj: $(MSWDIR)\wave.$(SRCSUFF) |
447 | ||
448 | $(MSWDIR)\window.obj: $(MSWDIR)\window.$(SRCSUFF) | |
449 | ||
450 | $(MSWDIR)\droptgt.obj: $(OLEDIR)\droptgt.$(SRCSUFF) | |
451 | ||
452 | $(MSWDIR)\dropsrc.obj: $(OLEDIR)\dropsrc.$(SRCSUFF) | |
453 | ||
454 | $(MSWDIR)\dataobj.obj: $(OLEDIR)\dataobj.$(SRCSUFF) | |
455 | ||
456 | $(MSWDIR)\oleutils.obj: $(OLEDIR)\oleutils.$(SRCSUFF) | |
457 | ||
458 | $(MSWDIR)\uuid.obj: $(OLEDIR)\uuid.$(SRCSUFF) | |
459 | ||
460 | $(MSWDIR)\automtn.obj: $(OLEDIR)\automtn.$(SRCSUFF) | |
461 | ||
462 | ######################################################## | |
463 | # Common objects (always compiled) | |
464 | ||
465 | $(MSWDIR)\config.obj: $(COMMDIR)\config.$(SRCSUFF) | |
466 | ||
467 | $(MSWDIR)\cmndata.obj: $(COMMDIR)\cmndata.$(SRCSUFF) | |
468 | ||
469 | $(MSWDIR)\docview.obj: $(COMMDIR)\docview.$(SRCSUFF) | |
470 | ||
471 | $(MSWDIR)\docmdi.obj: $(COMMDIR)\docmdi.$(SRCSUFF) | |
472 | ||
473 | $(MSWDIR)\dynarray.obj: $(COMMDIR)\dynarray.$(SRCSUFF) | |
474 | ||
475 | $(MSWDIR)\dynlib.obj: $(COMMDIR)\dynlib.$(SRCSUFF) | |
476 | ||
477 | $(MSWDIR)\event.obj: $(COMMDIR)\event.$(SRCSUFF) | |
478 | ||
479 | $(MSWDIR)\file.obj: $(COMMDIR)\file.$(SRCSUFF) | |
480 | ||
481 | $(MSWDIR)\fileconf.obj: $(COMMDIR)\fileconf.$(SRCSUFF) | |
482 | ||
483 | $(MSWDIR)\filefn.obj: $(COMMDIR)\filefn.$(SRCSUFF) | |
484 | ||
485 | $(MSWDIR)\framecmn.obj: $(COMMDIR)\framecmn.$(SRCSUFF) | |
486 | ||
487 | $(MSWDIR)\gdicmn.obj: $(COMMDIR)\gdicmn.$(SRCSUFF) | |
488 | ||
489 | $(MSWDIR)\image.obj: $(COMMDIR)\image.$(SRCSUFF) | |
490 | ||
491 | $(MSWDIR)\intl.obj: $(COMMDIR)\intl.$(SRCSUFF) | |
492 | ||
493 | $(MSWDIR)\ipcbase.obj: $(COMMDIR)\ipcbase.$(SRCSUFF) | |
494 | ||
495 | $(MSWDIR)\helpbase.obj: $(COMMDIR)\helpbase.$(SRCSUFF) | |
496 | ||
497 | $(MSWDIR)\layout.obj: $(COMMDIR)\layout.$(SRCSUFF) | |
498 | ||
499 | $(MSWDIR)\log.obj: $(COMMDIR)\log.$(SRCSUFF) | |
500 | ||
501 | $(MSWDIR)\memory.obj: $(COMMDIR)\memory.$(SRCSUFF) | |
502 | ||
2432b92d JS |
503 | $(MSWDIR)\mimetype.obj: $(COMMDIR)\mimetype.$(SRCSUFF) |
504 | ||
62448488 JS |
505 | $(MSWDIR)\module.obj: $(COMMDIR)\module.$(SRCSUFF) |
506 | ||
507 | $(MSWDIR)\object.obj: $(COMMDIR)\object.$(SRCSUFF) | |
508 | ||
509 | $(MSWDIR)\odbc.obj: $(COMMDIR)\odbc.$(SRCSUFF) | |
510 | ||
62448488 JS |
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 | |
0a240683 | 705 | -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm |
62448488 JS |
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 |