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