]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # File: makefile.b32 | |
3 | # Author: Julian Smart | |
4 | # Created: 1998 | |
5 | # Updated: | |
6 | # Copyright: | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds wxWindows library wx.lib for MS Windows, | |
11 | # and Borland C++ (32-bit). | |
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 | WXDIR = $(WXWIN) | |
22 | ||
23 | # Set all these to 1 if you want to build a dynamic library | |
24 | !if "$(DLL)" == "1" | |
25 | WXMAKINGDLL=1 | |
26 | WXBUILDDLL=1 | |
27 | !endif | |
28 | ||
29 | !include $(WXDIR)\src\makeb32.env | |
30 | ||
31 | # Please set these according to the settings in wx_setup.h, so we can include | |
32 | # the appropriate libraries in wx.lib | |
33 | USE_CTL3D=0 | |
34 | USE_XPM_IN_MSW=0 | |
35 | ||
36 | PERIPH_LIBS= | |
37 | PERIPH_TARGET= | |
38 | PERIPH_CLEAN_TARGET= | |
39 | ||
40 | !if "$(USE_CTL3D)" == "1" | |
41 | #Use WIN32S/WIN95 32 bit version ctl3d32.dll under win95 (Andre Beltman) | |
42 | PERIPH_LIBS=$(WXDIR)\lib\ctl3d32.lib $(PERIPH_LIBS) | |
43 | PERIPH_TARGET=ctl3d $(PERIPH_TARGET) | |
44 | PERIPH_CLEAN_TARGET=clean_ctl3d $(PERIPH_CLEAN_TARGET) | |
45 | !endif | |
46 | ||
47 | !if "$(USE_XPM_IN_MSW)" == "1" | |
48 | PERIPH_LIBS=$(WXLIB)\xpm.lib $(PERIPH_LIBS) | |
49 | PERIPH_TARGET=xpm $(PERIPH_TARGET) | |
50 | PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET) | |
51 | !endif | |
52 | ||
53 | #PERIPH_LIBS=$(WXDIR)\lib\zlib.lib $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\jpeg.lib $(PERIPH_LIBS) | |
54 | PERIPH_LIBS= | |
55 | PERIPH_TARGET=zlib png jpeg $(PERIPH_TARGET) | |
56 | PERIPH_CLEAN_TARGET=clean_zlib clean_png clean_jpeg $(PERIPH_CLEAN_TARGET) | |
57 | ||
58 | !if "$(DLL)" == "0" | |
59 | DUMMY=dummy | |
60 | !else | |
61 | DUMMY=dummydll | |
62 | LIBS= cw32 import32 ole2w32 | |
63 | !endif | |
64 | ||
65 | LIBTARGET=$(WXLIB) | |
66 | ||
67 | GENDIR=..\generic | |
68 | COMMDIR=..\common | |
69 | OLEDIR=.\ole | |
70 | MSWDIR=. | |
71 | ||
72 | DOCDIR = $(WXDIR)\docs | |
73 | ||
74 | GENERICOBJS= \ | |
75 | $(MSWDIR)\choicdgg.obj \ | |
76 | $(MSWDIR)\gridg.obj \ | |
77 | $(MSWDIR)\laywin.obj \ | |
78 | $(MSWDIR)\panelg.obj \ | |
79 | $(MSWDIR)\progdlgg.obj \ | |
80 | $(MSWDIR)\prop.obj \ | |
81 | $(MSWDIR)\proplist.obj \ | |
82 | $(MSWDIR)\propform.obj \ | |
83 | $(MSWDIR)\sashwin.obj \ | |
84 | $(MSWDIR)\scrolwin.obj \ | |
85 | $(MSWDIR)\splitter.obj \ | |
86 | $(MSWDIR)\statusbr.obj \ | |
87 | $(MSWDIR)\tabg.obj \ | |
88 | $(MSWDIR)\textdlgg.obj \ | |
89 | $(MSWDIR)\tipdlg.obj | |
90 | ||
91 | # Not needed: | |
92 | # $(MSWDIR)\colrdlgg.obj \ | |
93 | # $(MSWDIR)\fontdlgg.obj \ | |
94 | # $(MSWDIR)\helpxlp.obj \ | |
95 | # $(MSWDIR)\msgdlgg.obj \ | |
96 | # $(MSWDIR)\printps.obj \ | |
97 | # $(MSWDIR)\prntdlgg.obj \ | |
98 | # $(MSWDIR)\listctrl.obj \ | |
99 | # $(MSWDIR)\notebook.obj \ | |
100 | # $(MSWDIR)\treectrl.obj | |
101 | ||
102 | COMMONOBJS = \ | |
103 | $(MSWDIR)\config.obj \ | |
104 | $(MSWDIR)\cmndata.obj \ | |
105 | $(MSWDIR)\dcbase.obj \ | |
106 | $(MSWDIR)\dlgcmn.obj \ | |
107 | $(MSWDIR)\docview.obj \ | |
108 | $(MSWDIR)\docmdi.obj \ | |
109 | $(MSWDIR)\dynarray.obj \ | |
110 | $(MSWDIR)\event.obj \ | |
111 | $(MSWDIR)\file.obj \ | |
112 | $(MSWDIR)\fileconf.obj \ | |
113 | $(MSWDIR)\filefn.obj \ | |
114 | $(MSWDIR)\framecmn.obj \ | |
115 | $(MSWDIR)\gdicmn.obj \ | |
116 | $(MSWDIR)\helpbase.obj \ | |
117 | $(MSWDIR)\image.obj \ | |
118 | $(MSWDIR)\imagbmp.obj \ | |
119 | $(MSWDIR)\imagpng.obj \ | |
120 | $(MSWDIR)\imagjpeg.obj \ | |
121 | $(MSWDIR)\imaggif.obj \ | |
122 | $(MSWDIR)\intl.obj \ | |
123 | $(MSWDIR)\ipcbase.obj \ | |
124 | $(MSWDIR)\log.obj \ | |
125 | $(MSWDIR)\layout.obj \ | |
126 | $(MSWDIR)\memory.obj \ | |
127 | $(MSWDIR)\mimetype.obj \ | |
128 | $(MSWDIR)\module.obj \ | |
129 | $(MSWDIR)\object.obj \ | |
130 | $(MSWDIR)\prntbase.obj \ | |
131 | $(MSWDIR)\resource.obj \ | |
132 | $(MSWDIR)\tbarbase.obj \ | |
133 | $(MSWDIR)\tbarsmpl.obj \ | |
134 | $(MSWDIR)\textfile.obj \ | |
135 | $(MSWDIR)\timercmn.obj \ | |
136 | $(MSWDIR)\utilscmn.obj \ | |
137 | $(MSWDIR)\validate.obj \ | |
138 | $(MSWDIR)\valgen.obj \ | |
139 | $(MSWDIR)\valtext.obj \ | |
140 | $(MSWDIR)\variant.obj \ | |
141 | $(MSWDIR)\date.obj \ | |
142 | $(MSWDIR)\hash.obj \ | |
143 | $(MSWDIR)\list.obj \ | |
144 | $(MSWDIR)\paper.obj \ | |
145 | $(MSWDIR)\string.obj \ | |
146 | $(MSWDIR)\time.obj \ | |
147 | $(MSWDIR)\wxexpr.obj \ | |
148 | $(MSWDIR)\y_tab.obj \ | |
149 | $(MSWDIR)\stream.obj \ | |
150 | $(MSWDIR)\wfstream.obj \ | |
151 | $(MSWDIR)\mstream.obj \ | |
152 | $(MSWDIR)\zstream.obj \ | |
153 | $(MSWDIR)\datstrm.obj \ | |
154 | $(MSWDIR)\sckstrm.obj \ | |
155 | $(MSWDIR)\extended.obj \ | |
156 | $(MSWDIR)\wincmn.obj \ | |
157 | $(MSWDIR)\objstrm.obj \ | |
158 | $(MSWDIR)\dynlib.obj \ | |
159 | $(MSWDIR)\tokenzr.obj \ | |
160 | $(MSWDIR)\socket.obj \ | |
161 | $(MSWDIR)\sckint.obj \ | |
162 | $(MSWDIR)\sckaddr.obj \ | |
163 | $(MSWDIR)\protocol.obj \ | |
164 | $(MSWDIR)\url.obj \ | |
165 | $(MSWDIR)\http.obj \ | |
166 | $(MSWDIR)\ftp.obj \ | |
167 | $(MSWDIR)\sckfile.obj \ | |
168 | $(MSWDIR)\sckipc.obj \ | |
169 | $(MSWDIR)\wxchar.obj | |
170 | ||
171 | # $(MSWDIR)\odbc.obj \ | |
172 | # $(MSWDIR)\matrix.obj \ | |
173 | ||
174 | MSWOBJS = \ | |
175 | $(MSWDIR)\accel.obj \ | |
176 | $(MSWDIR)\app.obj \ | |
177 | $(MSWDIR)\bitmap.obj \ | |
178 | $(MSWDIR)\bmpbuttn.obj \ | |
179 | $(MSWDIR)\brush.obj \ | |
180 | $(MSWDIR)\button.obj \ | |
181 | $(MSWDIR)\caret.obj \ | |
182 | $(MSWDIR)\checkbox.obj \ | |
183 | $(MSWDIR)\checklst.obj \ | |
184 | $(MSWDIR)\choice.obj \ | |
185 | $(MSWDIR)\clipbrd.obj \ | |
186 | $(MSWDIR)\colordlg.obj \ | |
187 | $(MSWDIR)\colour.obj \ | |
188 | $(MSWDIR)\combobox.obj \ | |
189 | $(MSWDIR)\control.obj \ | |
190 | $(MSWDIR)\curico.obj \ | |
191 | $(MSWDIR)\cursor.obj \ | |
192 | $(MSWDIR)\data.obj \ | |
193 | $(MSWDIR)\dc.obj \ | |
194 | $(MSWDIR)\dcmemory.obj \ | |
195 | $(MSWDIR)\dcclient.obj \ | |
196 | $(MSWDIR)\dcprint.obj \ | |
197 | $(MSWDIR)\dcscreen.obj \ | |
198 | $(MSWDIR)\dde.obj \ | |
199 | $(MSWDIR)\dialog.obj \ | |
200 | $(MSWDIR)\dib.obj \ | |
201 | $(MSWDIR)\dibutils.obj \ | |
202 | $(MSWDIR)\dirdlg.obj \ | |
203 | $(MSWDIR)\filedlg.obj \ | |
204 | $(MSWDIR)\font.obj \ | |
205 | $(MSWDIR)\fontdlg.obj \ | |
206 | $(MSWDIR)\frame.obj \ | |
207 | $(MSWDIR)\gauge95.obj \ | |
208 | $(MSWDIR)\gaugemsw.obj \ | |
209 | $(MSWDIR)\gdiobj.obj \ | |
210 | $(MSWDIR)\helpwin.obj \ | |
211 | $(MSWDIR)\icon.obj \ | |
212 | $(MSWDIR)\imaglist.obj \ | |
213 | $(MSWDIR)\joystick.obj \ | |
214 | $(MSWDIR)\listbox.obj \ | |
215 | $(MSWDIR)\listctrl.obj \ | |
216 | $(MSWDIR)\main.obj \ | |
217 | $(MSWDIR)\mdi.obj \ | |
218 | $(MSWDIR)\menu.obj \ | |
219 | $(MSWDIR)\menuitem.obj \ | |
220 | $(MSWDIR)\metafile.obj \ | |
221 | $(MSWDIR)\minifram.obj \ | |
222 | $(MSWDIR)\msgdlg.obj \ | |
223 | $(MSWDIR)\nativdlg.obj \ | |
224 | $(MSWDIR)\notebook.obj \ | |
225 | $(MSWDIR)\ownerdrw.obj \ | |
226 | $(MSWDIR)\palette.obj \ | |
227 | $(MSWDIR)\pen.obj \ | |
228 | $(MSWDIR)\penwin.obj \ | |
229 | $(MSWDIR)\pnghand.obj \ | |
230 | $(MSWDIR)\printdlg.obj \ | |
231 | $(MSWDIR)\printwin.obj \ | |
232 | $(MSWDIR)\radiobox.obj \ | |
233 | $(MSWDIR)\radiobut.obj \ | |
234 | $(MSWDIR)\region.obj \ | |
235 | $(MSWDIR)\registry.obj \ | |
236 | $(MSWDIR)\regconf.obj \ | |
237 | $(MSWDIR)\scrolbar.obj \ | |
238 | $(MSWDIR)\settings.obj \ | |
239 | $(MSWDIR)\slidrmsw.obj \ | |
240 | $(MSWDIR)\slider95.obj \ | |
241 | $(MSWDIR)\spinbutt.obj \ | |
242 | $(MSWDIR)\statbmp.obj \ | |
243 | $(MSWDIR)\statbox.obj \ | |
244 | $(MSWDIR)\statline.obj \ | |
245 | $(MSWDIR)\stattext.obj \ | |
246 | $(MSWDIR)\statbr95.obj \ | |
247 | $(MSWDIR)\tabctrl.obj \ | |
248 | $(MSWDIR)\tbarmsw.obj \ | |
249 | $(MSWDIR)\textctrl.obj \ | |
250 | $(MSWDIR)\thread.obj \ | |
251 | $(MSWDIR)\timer.obj \ | |
252 | $(MSWDIR)\tooltip.obj \ | |
253 | $(MSWDIR)\treectrl.obj \ | |
254 | $(MSWDIR)\taskbar.obj \ | |
255 | $(MSWDIR)\tbar95.obj \ | |
256 | $(MSWDIR)\utils.obj \ | |
257 | $(MSWDIR)\utilsexc.obj \ | |
258 | $(MSWDIR)\wave.obj \ | |
259 | $(MSWDIR)\window.obj \ | |
260 | $(MSWDIR)\xpmhand.obj \ | |
261 | $(MSWDIR)\droptgt.obj \ | |
262 | $(MSWDIR)\dropsrc.obj \ | |
263 | $(MSWDIR)\oleutils.obj \ | |
264 | $(MSWDIR)\dataobj.obj \ | |
265 | $(MSWDIR)\uuid.obj | |
266 | ||
267 | # Unfortunately this causes a crash when the oleauto sample starts. | |
268 | # $(MSWDIR)\automtn.obj | |
269 | ||
270 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) | |
271 | ||
272 | default: wx | |
273 | ||
274 | wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) | |
275 | ||
276 | all: all_libs all_execs | |
277 | ||
278 | !if "$(DLL)" == "0" | |
279 | ||
280 | $(LIBTARGET): $(DUMMY).obj $(OBJECTS) | |
281 | -erase $(LIBTARGET) | |
282 | tlib $(LIBTARGET) /P512 @&&! | |
283 | +$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +) | |
284 | ! | |
285 | ||
286 | !else | |
287 | ||
288 | $(LIBTARGET): $(DUMMY).obj $(OBJECTS) | |
289 | -erase $(LIBTARGET) | |
290 | -erase $(WXLIBDIR)\wx.dll | |
291 | tlink32 $(LINK_FLAGS) /v @&&! | |
292 | c0d32.obj $(OBJECTS) | |
293 | $(WXLIBDIR)\wx | |
294 | nul | |
295 | $(PERIPH_LIBS) $(LIBS) | |
296 | wxb32 | |
297 | ! | |
298 | implib -c $(LIBTARGET) $(WXLIBDIR)\wx.dll | |
299 | ||
300 | !endif | |
301 | ||
302 | dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h | |
303 | dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h | |
304 | ||
305 | $(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c | |
306 | ||
307 | # cl @<< | |
308 | #$(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ | |
309 | #<< | |
310 | ||
311 | $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c | |
312 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
313 | ||
314 | $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c | |
315 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
316 | ||
317 | #$(OBJECTS): $(WXDIR)\include\wx\setup.h | |
318 | ||
319 | $(MSWDIR)\accel.obj: $(MSWDIR)\accel.$(SRCSUFF) | |
320 | ||
321 | $(MSWDIR)\app.obj: $(MSWDIR)\app.$(SRCSUFF) | |
322 | ||
323 | $(MSWDIR)\bitmap.obj: $(MSWDIR)\bitmap.$(SRCSUFF) | |
324 | ||
325 | $(MSWDIR)\bmpbuttn.obj: $(MSWDIR)\bmpbuttn.$(SRCSUFF) | |
326 | ||
327 | $(MSWDIR)\brush.obj: $(MSWDIR)\brush.$(SRCSUFF) | |
328 | ||
329 | $(MSWDIR)\button.obj: $(MSWDIR)\button.$(SRCSUFF) | |
330 | ||
331 | $(MSWDIR)\caret.obj: $(MSWDIR)\caret.$(SRCSUFF) | |
332 | ||
333 | $(MSWDIR)\checkbox.obj: $(MSWDIR)\checkbox.$(SRCSUFF) | |
334 | ||
335 | $(MSWDIR)\checklst.obj: $(MSWDIR)\checklst.$(SRCSUFF) | |
336 | ||
337 | $(MSWDIR)\choice.obj: $(MSWDIR)\choice.$(SRCSUFF) | |
338 | ||
339 | $(MSWDIR)\clipbrd.obj: $(MSWDIR)\clipbrd.$(SRCSUFF) | |
340 | ||
341 | $(MSWDIR)\colordlg.obj: $(MSWDIR)\colordlg.$(SRCSUFF) | |
342 | ||
343 | $(MSWDIR)\colour.obj: $(MSWDIR)\colour.$(SRCSUFF) | |
344 | ||
345 | $(MSWDIR)\combobox.obj: $(MSWDIR)\combobox.$(SRCSUFF) | |
346 | ||
347 | $(MSWDIR)\control.obj: $(MSWDIR)\control.$(SRCSUFF) | |
348 | ||
349 | $(MSWDIR)\curico.obj: $(MSWDIR)\curico.$(SRCSUFF) | |
350 | ||
351 | $(MSWDIR)\cursor.obj: $(MSWDIR)\cursor.$(SRCSUFF) | |
352 | ||
353 | $(MSWDIR)\data.obj: $(MSWDIR)\data.$(SRCSUFF) | |
354 | ||
355 | $(MSWDIR)\dde.obj: $(MSWDIR)\dde.$(SRCSUFF) | |
356 | ||
357 | $(MSWDIR)\dc.obj: $(MSWDIR)\dc.$(SRCSUFF) | |
358 | ||
359 | $(MSWDIR)\dcmemory.obj: $(MSWDIR)\dcmemory.$(SRCSUFF) | |
360 | ||
361 | $(MSWDIR)\dcclient.obj: $(MSWDIR)\dcclient.$(SRCSUFF) | |
362 | ||
363 | $(MSWDIR)\dcprint.obj: $(MSWDIR)\dcprint.$(SRCSUFF) | |
364 | ||
365 | $(MSWDIR)\dcscreen.obj: $(MSWDIR)\dcscreen.$(SRCSUFF) | |
366 | ||
367 | $(MSWDIR)\dialog.obj: $(MSWDIR)\dialog.$(SRCSUFF) | |
368 | ||
369 | $(MSWDIR)\dib.obj: $(MSWDIR)\dib.$(SRCSUFF) | |
370 | ||
371 | $(MSWDIR)\dirdlg.obj: $(MSWDIR)\dirdlg.$(SRCSUFF) | |
372 | ||
373 | $(MSWDIR)\filedlg.obj: $(MSWDIR)\filedlg.$(SRCSUFF) | |
374 | ||
375 | $(MSWDIR)\font.obj: $(MSWDIR)\font.$(SRCSUFF) | |
376 | ||
377 | $(MSWDIR)\fontdlg.obj: $(MSWDIR)\fontdlg.$(SRCSUFF) | |
378 | ||
379 | $(MSWDIR)\frame.obj: $(MSWDIR)\frame.$(SRCSUFF) | |
380 | ||
381 | $(MSWDIR)\gaugemsw.obj: $(MSWDIR)\gaugemsw.$(SRCSUFF) | |
382 | ||
383 | $(MSWDIR)\gauge95.obj: $(MSWDIR)\gauge95.$(SRCSUFF) | |
384 | ||
385 | $(MSWDIR)\gdiobj.obj: $(MSWDIR)\gdiobj.$(SRCSUFF) | |
386 | ||
387 | $(MSWDIR)\icon.obj: $(MSWDIR)\icon.$(SRCSUFF) | |
388 | ||
389 | $(MSWDIR)\imaglist.obj: $(MSWDIR)\imaglist.$(SRCSUFF) | |
390 | ||
391 | $(MSWDIR)\joystick.obj: $(MSWDIR)\joystick.$(SRCSUFF) | |
392 | ||
393 | $(MSWDIR)\listbox.obj: $(MSWDIR)\listbox.$(SRCSUFF) | |
394 | ||
395 | $(MSWDIR)\listctrl.obj: $(MSWDIR)\listctrl.$(SRCSUFF) | |
396 | ||
397 | $(MSWDIR)\main.obj: $(MSWDIR)\main.$(SRCSUFF) | |
398 | ||
399 | $(MSWDIR)\mdi.obj: $(MSWDIR)\mdi.$(SRCSUFF) | |
400 | ||
401 | $(MSWDIR)\menu.obj: $(MSWDIR)\menu.$(SRCSUFF) | |
402 | ||
403 | $(MSWDIR)\menuitem.obj: $(MSWDIR)\menu.$(SRCSUFF) | |
404 | ||
405 | $(MSWDIR)\metafile.obj: $(MSWDIR)\metafile.$(SRCSUFF) | |
406 | ||
407 | $(MSWDIR)\minifram.obj: $(MSWDIR)\minifram.$(SRCSUFF) | |
408 | ||
409 | $(MSWDIR)\msgdlg.obj: $(MSWDIR)\msgdlg.$(SRCSUFF) | |
410 | ||
411 | $(MSWDIR)\nativdlg.obj: $(MSWDIR)\nativdlg.$(SRCSUFF) | |
412 | ||
413 | $(MSWDIR)\notebook.obj: $(MSWDIR)\notebook.$(SRCSUFF) | |
414 | ||
415 | $(MSWDIR)\ownerdrw.obj: $(MSWDIR)\ownerdrw.$(SRCSUFF) | |
416 | ||
417 | $(MSWDIR)\palette.obj: $(MSWDIR)\palette.$(SRCSUFF) | |
418 | ||
419 | $(MSWDIR)\pen.obj: $(MSWDIR)\pen.$(SRCSUFF) | |
420 | ||
421 | $(MSWDIR)\penwin.obj: $(MSWDIR)\penwin.$(SRCSUFF) | |
422 | ||
423 | $(MSWDIR)\printdlg.obj: $(MSWDIR)\printdlg.$(SRCSUFF) | |
424 | ||
425 | $(MSWDIR)\printwin.obj: $(MSWDIR)\printwin.$(SRCSUFF) | |
426 | ||
427 | $(MSWDIR)\radiobox.obj: $(MSWDIR)\radiobox.$(SRCSUFF) | |
428 | ||
429 | $(MSWDIR)\radiobut.obj: $(MSWDIR)\radiobut.$(SRCSUFF) | |
430 | ||
431 | $(MSWDIR)\region.obj: $(MSWDIR)\region.$(SRCSUFF) | |
432 | ||
433 | $(MSWDIR)\registry.obj: $(MSWDIR)\registry.$(SRCSUFF) | |
434 | ||
435 | $(MSWDIR)\regconf.obj: $(MSWDIR)\regconf.$(SRCSUFF) | |
436 | ||
437 | $(MSWDIR)\scrolbar.obj: $(MSWDIR)\scrolbar.$(SRCSUFF) | |
438 | ||
439 | $(MSWDIR)\settings.obj: $(MSWDIR)\settings.$(SRCSUFF) | |
440 | ||
441 | $(MSWDIR)\slidrmsw.obj: $(MSWDIR)\slidrmsw.$(SRCSUFF) | |
442 | ||
443 | $(MSWDIR)\slider95.obj: $(MSWDIR)\slider95.$(SRCSUFF) | |
444 | ||
445 | $(MSWDIR)\spinbutt.obj: $(MSWDIR)\spinbutt.$(SRCSUFF) | |
446 | ||
447 | $(MSWDIR)\statbmp.obj: $(MSWDIR)\statbmp.$(SRCSUFF) | |
448 | ||
449 | $(MSWDIR)\statbox.obj: $(MSWDIR)\statbox.$(SRCSUFF) | |
450 | ||
451 | $(MSWDIR)\statline.obj: $(MSWDIR)\statline.$(SRCSUFF) | |
452 | ||
453 | $(MSWDIR)\statbr95.obj: $(MSWDIR)\statbr95.$(SRCSUFF) | |
454 | ||
455 | $(MSWDIR)\stattext.obj: $(MSWDIR)\stattext.$(SRCSUFF) | |
456 | ||
457 | $(MSWDIR)\tabctrl.obj: $(MSWDIR)\tabctrl.$(SRCSUFF) | |
458 | ||
459 | $(MSWDIR)\taskbar.obj: $(MSWDIR)\taskbar.$(SRCSUFF) | |
460 | ||
461 | $(MSWDIR)\tbar95.obj: $(MSWDIR)\tbar95.$(SRCSUFF) | |
462 | ||
463 | $(MSWDIR)\tbarmsw.obj: $(MSWDIR)\tbarmsw.$(SRCSUFF) | |
464 | ||
465 | $(MSWDIR)\textctrl.obj: $(MSWDIR)\textctrl.$(SRCSUFF) | |
466 | ||
467 | $(MSWDIR)\thread.obj: $(MSWDIR)\thread.$(SRCSUFF) | |
468 | ||
469 | $(MSWDIR)\timer.obj: $(MSWDIR)\timer.$(SRCSUFF) | |
470 | ||
471 | $(MSWDIR)\tooltip.obj: $(MSWDIR)\tooltip.$(SRCSUFF) | |
472 | ||
473 | $(MSWDIR)\treectrl.obj: $(MSWDIR)\treectrl.$(SRCSUFF) | |
474 | ||
475 | $(MSWDIR)\utils.obj: $(MSWDIR)\utils.$(SRCSUFF) | |
476 | ||
477 | $(MSWDIR)\utilsexc.obj: $(MSWDIR)\utilsexc.$(SRCSUFF) | |
478 | ||
479 | $(MSWDIR)\wave.obj: $(MSWDIR)\wave.$(SRCSUFF) | |
480 | ||
481 | $(MSWDIR)\window.obj: $(MSWDIR)\window.$(SRCSUFF) | |
482 | ||
483 | $(MSWDIR)\droptgt.obj: $(OLEDIR)\droptgt.$(SRCSUFF) | |
484 | ||
485 | $(MSWDIR)\dropsrc.obj: $(OLEDIR)\dropsrc.$(SRCSUFF) | |
486 | ||
487 | $(MSWDIR)\dataobj.obj: $(OLEDIR)\dataobj.$(SRCSUFF) | |
488 | ||
489 | $(MSWDIR)\oleutils.obj: $(OLEDIR)\oleutils.$(SRCSUFF) | |
490 | ||
491 | $(MSWDIR)\uuid.obj: $(OLEDIR)\uuid.$(SRCSUFF) | |
492 | ||
493 | $(MSWDIR)\automtn.obj: $(OLEDIR)\automtn.$(SRCSUFF) | |
494 | ||
495 | ######################################################## | |
496 | # Common objects (always compiled) | |
497 | ||
498 | $(MSWDIR)\config.obj: $(COMMDIR)\config.$(SRCSUFF) | |
499 | ||
500 | $(MSWDIR)\cmndata.obj: $(COMMDIR)\cmndata.$(SRCSUFF) | |
501 | ||
502 | $(MSWDIR)\dcbase.obj: $(COMMDIR)\dcbase.$(SRCSUFF) | |
503 | ||
504 | $(MSWDIR)\docview.obj: $(COMMDIR)\docview.$(SRCSUFF) | |
505 | ||
506 | $(MSWDIR)\docmdi.obj: $(COMMDIR)\docmdi.$(SRCSUFF) | |
507 | ||
508 | $(MSWDIR)\dynarray.obj: $(COMMDIR)\dynarray.$(SRCSUFF) | |
509 | ||
510 | $(MSWDIR)\dynlib.obj: $(COMMDIR)\dynlib.$(SRCSUFF) | |
511 | ||
512 | $(MSWDIR)\event.obj: $(COMMDIR)\event.$(SRCSUFF) | |
513 | ||
514 | $(MSWDIR)\file.obj: $(COMMDIR)\file.$(SRCSUFF) | |
515 | ||
516 | $(MSWDIR)\fileconf.obj: $(COMMDIR)\fileconf.$(SRCSUFF) | |
517 | ||
518 | $(MSWDIR)\filefn.obj: $(COMMDIR)\filefn.$(SRCSUFF) | |
519 | ||
520 | $(MSWDIR)\framecmn.obj: $(COMMDIR)\framecmn.$(SRCSUFF) | |
521 | ||
522 | $(MSWDIR)\gdicmn.obj: $(COMMDIR)\gdicmn.$(SRCSUFF) | |
523 | ||
524 | $(MSWDIR)\image.obj: $(COMMDIR)\image.$(SRCSUFF) | |
525 | ||
526 | $(MSWDIR)\imagbmp.obj: $(COMMDIR)\imagbmp.$(SRCSUFF) | |
527 | ||
528 | $(MSWDIR)\imagpng.obj: $(COMMDIR)\imagpng.$(SRCSUFF) | |
529 | ||
530 | $(MSWDIR)\imagjpeg.obj: $(COMMDIR)\imagjpeg.$(SRCSUFF) | |
531 | ||
532 | $(MSWDIR)\imaggif.obj: $(COMMDIR)\imaggif.$(SRCSUFF) | |
533 | ||
534 | $(MSWDIR)\image.obj: $(COMMDIR)\image.$(SRCSUFF) | |
535 | ||
536 | $(MSWDIR)\intl.obj: $(COMMDIR)\intl.$(SRCSUFF) | |
537 | ||
538 | $(MSWDIR)\ipcbase.obj: $(COMMDIR)\ipcbase.$(SRCSUFF) | |
539 | ||
540 | $(MSWDIR)\helpbase.obj: $(COMMDIR)\helpbase.$(SRCSUFF) | |
541 | ||
542 | $(MSWDIR)\layout.obj: $(COMMDIR)\layout.$(SRCSUFF) | |
543 | ||
544 | $(MSWDIR)\log.obj: $(COMMDIR)\log.$(SRCSUFF) | |
545 | ||
546 | $(MSWDIR)\memory.obj: $(COMMDIR)\memory.$(SRCSUFF) | |
547 | ||
548 | $(MSWDIR)\mimetype.obj: $(COMMDIR)\mimetype.$(SRCSUFF) | |
549 | ||
550 | $(MSWDIR)\module.obj: $(COMMDIR)\module.$(SRCSUFF) | |
551 | ||
552 | $(MSWDIR)\object.obj: $(COMMDIR)\object.$(SRCSUFF) | |
553 | ||
554 | $(MSWDIR)\odbc.obj: $(COMMDIR)\odbc.$(SRCSUFF) | |
555 | ||
556 | $(MSWDIR)\prntbase.obj: $(COMMDIR)\prntbase.$(SRCSUFF) | |
557 | ||
558 | $(MSWDIR)\resource.obj: $(COMMDIR)\resource.$(SRCSUFF) | |
559 | ||
560 | $(MSWDIR)\tbarbase.obj: $(COMMDIR)\tbarbase.$(SRCSUFF) | |
561 | ||
562 | $(MSWDIR)\tbarsmpl.obj: $(COMMDIR)\tbarsmpl.$(SRCSUFF) | |
563 | ||
564 | $(MSWDIR)\textfile.obj: $(COMMDIR)\textfile.$(SRCSUFF) | |
565 | ||
566 | $(MSWDIR)\timercmn.obj: $(COMMDIR)\timercmn.$(SRCSUFF) | |
567 | ||
568 | $(MSWDIR)\utilscmn.obj: $(COMMDIR)\utilscmn.$(SRCSUFF) | |
569 | ||
570 | $(MSWDIR)\validate.obj: $(COMMDIR)\validate.$(SRCSUFF) | |
571 | ||
572 | $(MSWDIR)\valgen.obj: $(COMMDIR)\valgen.$(SRCSUFF) | |
573 | ||
574 | $(MSWDIR)\valtext.obj: $(COMMDIR)\valtext.$(SRCSUFF) | |
575 | ||
576 | $(MSWDIR)\date.obj: $(COMMDIR)\date.$(SRCSUFF) | |
577 | ||
578 | $(MSWDIR)\wxexpr.obj: $(COMMDIR)\wxexpr.$(SRCSUFF) | |
579 | ||
580 | $(MSWDIR)\hash.obj: $(COMMDIR)\hash.$(SRCSUFF) | |
581 | ||
582 | $(MSWDIR)\list.obj: $(COMMDIR)\list.$(SRCSUFF) | |
583 | ||
584 | $(MSWDIR)\paper.obj: $(COMMDIR)\paper.$(SRCSUFF) | |
585 | ||
586 | $(MSWDIR)\string.obj: $(COMMDIR)\string.$(SRCSUFF) | |
587 | ||
588 | $(MSWDIR)\variant.obj: $(COMMDIR)\variant.$(SRCSUFF) | |
589 | ||
590 | $(MSWDIR)\matrix.obj: $(COMMDIR)\matrix.$(SRCSUFF) | |
591 | ||
592 | $(MSWDIR)\time.obj: $(COMMDIR)\time.$(SRCSUFF) | |
593 | ||
594 | $(MSWDIR)\datstrm.obj: $(COMMDIR)\datstrm.$(SRCSUFF) | |
595 | ||
596 | $(MSWDIR)\sckstrm.obj: $(COMMDIR)\sckstrm.$(SRCSUFF) | |
597 | ||
598 | $(MSWDIR)\mstream.obj: $(COMMDIR)\mstream.$(SRCSUFF) | |
599 | ||
600 | $(MSWDIR)\zstream.obj: $(COMMDIR)\zstream.$(SRCSUFF) | |
601 | ||
602 | $(MSWDIR)\wfstream.obj: $(COMMDIR)\wfstream.$(SRCSUFF) | |
603 | ||
604 | $(MSWDIR)\stream.obj: $(COMMDIR)\stream.$(SRCSUFF) | |
605 | ||
606 | $(MSWDIR)\objstrm.obj: $(COMMDIR)\objstrm.$(SRCSUFF) | |
607 | ||
608 | $(MSWDIR)\dlgcmn.obj: $(COMMDIR)\dlgcmn.$(SRCSUFF) | |
609 | ||
610 | $(MSWDIR)\wincmn.obj: $(COMMDIR)\wincmn.$(SRCSUFF) | |
611 | ||
612 | $(MSWDIR)\extended.obj: $(COMMDIR)\extended.c | |
613 | ||
614 | $(MSWDIR)\tokenzr.obj: $(COMMDIR)\tokenzr.$(SRCSUFF) | |
615 | ||
616 | $(MSWDIR)\socket.obj: $(COMMDIR)\socket.$(SRCSUFF) | |
617 | ||
618 | $(MSWDIR)\sckint.obj: $(COMMDIR)\sckint.$(SRCSUFF) | |
619 | ||
620 | $(MSWDIR)\sckaddr.obj: $(COMMDIR)\sckaddr.$(SRCSUFF) | |
621 | ||
622 | $(MSWDIR)\protocol.obj: $(COMMDIR)\protocol.$(SRCSUFF) | |
623 | ||
624 | $(MSWDIR)\url.obj: $(COMMDIR)\url.$(SRCSUFF) | |
625 | ||
626 | $(MSWDIR)\http.obj: $(COMMDIR)\http.$(SRCSUFF) | |
627 | ||
628 | $(MSWDIR)\ftp.obj: $(COMMDIR)\ftp.$(SRCSUFF) | |
629 | ||
630 | $(MSWDIR)\sckfile.obj: $(COMMDIR)\sckfile.$(SRCSUFF) | |
631 | ||
632 | $(MSWDIR)\sckipc.obj: $(COMMDIR)\sckipc.$(SRCSUFF) | |
633 | ||
634 | $(MSWDIR)\wxchar.obj: $(COMMDIR)\wxchar.$(SRCSUFF) | |
635 | ||
636 | ######################################################## | |
637 | # Generic objects (not always compiled, depending on | |
638 | # whether platforms have native implementations) | |
639 | ||
640 | $(MSWDIR)\choicdgg.obj: $(GENDIR)\choicdgg.$(SRCSUFF) | |
641 | ||
642 | $(MSWDIR)\colrdlgg.obj: $(GENDIR)\colrdlgg.$(SRCSUFF) | |
643 | ||
644 | $(MSWDIR)\fontdlgg.obj: $(GENDIR)\fontdlgg.$(SRCSUFF) | |
645 | ||
646 | $(MSWDIR)\gridg.obj: $(GENDIR)\gridg.$(SRCSUFF) | |
647 | ||
648 | $(MSWDIR)\helpxlp.obj: $(GENDIR)\helpxlp.$(SRCSUFF) | |
649 | ||
650 | $(MSWDIR)\laywin.obj: $(GENDIR)\laywin.$(SRCSUFF) | |
651 | ||
652 | $(MSWDIR)\msgdlgg.obj: $(GENDIR)\msgdlgg.$(SRCSUFF) | |
653 | ||
654 | $(MSWDIR)\panelg.obj: $(GENDIR)\panelg.$(SRCSUFF) | |
655 | ||
656 | $(MSWDIR)\progdlgg.obj: $(GENDIR)\progdlgg.$(SRCSUFF) | |
657 | ||
658 | $(MSWDIR)\prop.obj: $(GENDIR)\prop.$(SRCSUFF) | |
659 | ||
660 | $(MSWDIR)\proplist.obj: $(GENDIR)\proplist.$(SRCSUFF) | |
661 | ||
662 | $(MSWDIR)\propform.obj: $(GENDIR)\propform.$(SRCSUFF) | |
663 | ||
664 | $(MSWDIR)\printps.obj: $(GENDIR)\printps.$(SRCSUFF) | |
665 | ||
666 | $(MSWDIR)\prntdlgg.obj: $(GENDIR)\prntdlgg.$(SRCSUFF) | |
667 | ||
668 | $(MSWDIR)\sashwin.obj: $(GENDIR)\sashwin.$(SRCSUFF) | |
669 | ||
670 | $(MSWDIR)\scrolwin.obj: $(GENDIR)\scrolwin.$(SRCSUFF) | |
671 | ||
672 | $(MSWDIR)\splitter.obj: $(GENDIR)\splitter.$(SRCSUFF) | |
673 | ||
674 | $(MSWDIR)\statusbr.obj: $(GENDIR)\statusbr.$(SRCSUFF) | |
675 | ||
676 | $(MSWDIR)\textdlgg.obj: $(GENDIR)\textdlgg.$(SRCSUFF) | |
677 | ||
678 | $(MSWDIR)\tipdlg.obj: $(GENDIR)\tipdlg.$(SRCSUFF) | |
679 | ||
680 | $(MSWDIR)\tabg.obj: $(GENDIR)\tabg.$(SRCSUFF) | |
681 | ||
682 | all_utils: | |
683 | cd $(WXDIR)\utils | |
684 | make -f makefile.b32 | |
685 | cd $(WXDIR)\src\msw | |
686 | ||
687 | all_samples: | |
688 | cd $(WXDIR)\samples | |
689 | make -f makefile.b32 | |
690 | cd $(WXDIR)\src\msw | |
691 | ||
692 | all_execs: | |
693 | cd $(WXDIR)\utils | |
694 | make -f makefile.b32 all_execs | |
695 | cd $(WXDIR)\src\msw | |
696 | ||
697 | wxxpm: $(CFG) | |
698 | cd $(WXDIR)\src\xpm | |
699 | make -f makefile.b32 -DCFG=$(CFG) -DFINAL=$(FINAL) -DWXWIN=$(WXDIR) -DDEBUG=$(DEBUG) | |
700 | cd $(WXDIR)\src\msw | |
701 | ||
702 | clean_wxxpm: $(CFG) | |
703 | cd $(WXDIR)\src\xpm | |
704 | make -f makefile.b32 clean | |
705 | cd $(WXDIR)\src\msw | |
706 | ||
707 | png: $(CFG) | |
708 | cd $(WXDIR)\src\png | |
709 | make -f makefile.b32 | |
710 | cd $(WXDIR)\src\msw | |
711 | ||
712 | clean_png: | |
713 | cd $(WXDIR)\src\png | |
714 | make -f makefile.b32 clean | |
715 | cd $(WXDIR)\src\msw | |
716 | ||
717 | zlib: $(CFG) | |
718 | cd $(WXDIR)\src\zlib | |
719 | make -f makefile.b32 lib | |
720 | cd $(WXDIR)\src\msw | |
721 | ||
722 | clean_zlib: | |
723 | cd $(WXDIR)\src\zlib | |
724 | make -f makefile.b32 clean | |
725 | cd $(WXDIR)\src\msw | |
726 | ||
727 | jpeg: $(CFG) | |
728 | cd $(WXDIR)\src\jpeg | |
729 | make -f makefile.b32 | |
730 | cd $(WXDIR)\src\msw | |
731 | ||
732 | clean_jpeg: | |
733 | cd $(WXDIR)\src\jpeg | |
734 | make -f makefile.b32 clean | |
735 | cd $(WXDIR)\src\msw | |
736 | ||
737 | $(CFG): makefile.b32 | |
738 | copy &&! | |
739 | -H=$(WXDIR)\src\msw\wx32.csm | |
740 | -3 | |
741 | -d | |
742 | -R- | |
743 | -X | |
744 | -w-par | |
745 | -w-aus | |
746 | -w-hid # virtual function A hides virtual function B | |
747 | -WE | |
748 | -tWM | |
749 | ||
750 | -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm | |
751 | -I$(WXDIR)\include\wx\msw\gnuwin32 | |
752 | ||
753 | -L$(BCCDIR)\lib | |
754 | -D__WXWIN__ | |
755 | -D__WXMSW__ | |
756 | -D__WINDOWS__ | |
757 | -DWIN32 | |
758 | $(OPT) | |
759 | $(DEBUG_FLAGS) | |
760 | $(WIN95FLAG) | |
761 | ! $(CFG) | |
762 | ||
763 | #-I$(WXDIR)\src\common\wxxpm\libxpm.34b\lib | |
764 | # -Oxt | |
765 | ||
766 | clean: $(PERIPH_CLEAN_TARGET) | |
767 | -erase $(LIBTARGET) | |
768 | -erase *.obj | |
769 | -erase *.pch | |
770 | -erase *.csm | |
771 | -erase *.cfg | |
772 | -erase ..\common\y_tab.c | |
773 | -erase ..\common\lex_yy.c | |
774 | ||
775 | cleanall: clean | |
776 | ||
777 |