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