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