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