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