]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
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 | !include $(WXDIR)\src\makeb32.env | |
23 | ||
24 | # Please set these according to the settings in wx_setup.h, so we can include | |
25 | # the appropriate libraries in wx.lib | |
26 | USE_CTL3D=0 | |
27 | USE_XPM_IN_MSW=0 | |
28 | ||
29 | PERIPH_LIBS= | |
30 | PERIPH_TARGET= | |
31 | PERIPH_CLEAN_TARGET= | |
32 | ||
33 | !if "$(USE_CTL3D)" == "1" | |
34 | #Use WIN32S/WIN95 32 bit version ctl3d32.dll under win95 (Andre Beltman) | |
35 | PERIPH_LIBS=$(WXDIR)\lib\ctl3d32.lib $(PERIPH_LIBS) | |
36 | PERIPH_TARGET=ctl3d $(PERIPH_TARGET) | |
37 | PERIPH_CLEAN_TARGET=clean_ctl3d $(PERIPH_CLEAN_TARGET) | |
38 | !endif | |
39 | ||
40 | !if "$(USE_XPM_IN_MSW)" == "1" | |
41 | PERIPH_LIBS=$(WXLIB)\xpm.lib $(PERIPH_LIBS) | |
42 | PERIPH_TARGET=xpm $(PERIPH_TARGET) | |
43 | PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET) | |
44 | !endif | |
45 | ||
46 | LIBTARGET= $(WXLIBDIR)\wx32.lib | |
47 | DUMMY=dummy | |
48 | ||
49 | GENDIR=..\generic | |
50 | COMMDIR=..\common | |
51 | OLEDIR=.\ole | |
52 | MSWDIR=. | |
53 | ||
54 | DOCDIR = $(WXDIR)\docs | |
55 | ||
56 | GENERICOBJS= \ | |
57 | $(MSWDIR)\choicdgg.obj \ | |
58 | $(MSWDIR)\colrdlgg.obj \ | |
59 | $(MSWDIR)\fontdlgg.obj \ | |
60 | $(MSWDIR)\gridg.obj \ | |
61 | $(MSWDIR)\helpxlp.obj \ | |
62 | $(MSWDIR)\msgdlgg.obj \ | |
63 | $(MSWDIR)\panelg.obj \ | |
64 | $(MSWDIR)\printps.obj \ | |
65 | $(MSWDIR)\prntdlgg.obj \ | |
66 | $(MSWDIR)\scrolwin.obj \ | |
67 | $(MSWDIR)\splitter.obj \ | |
68 | $(MSWDIR)\statusbr.obj \ | |
69 | $(MSWDIR)\tabg.obj \ | |
70 | $(MSWDIR)\textdlgg.obj | |
71 | ||
72 | COMMONOBJS = \ | |
73 | $(MSWDIR)\config.obj \ | |
74 | $(MSWDIR)\cmndata.obj \ | |
75 | $(MSWDIR)\docview.obj \ | |
76 | $(MSWDIR)\dynarray.obj \ | |
77 | $(MSWDIR)\event.obj \ | |
78 | $(MSWDIR)\file.obj \ | |
79 | $(MSWDIR)\fileconf.obj \ | |
80 | $(MSWDIR)\filefn.obj \ | |
81 | $(MSWDIR)\gdicmn.obj \ | |
82 | $(MSWDIR)\helpbase.obj \ | |
83 | $(MSWDIR)\intl.obj \ | |
84 | $(MSWDIR)\ipcbase.obj \ | |
85 | $(MSWDIR)\log.obj \ | |
86 | $(MSWDIR)\layout.obj \ | |
87 | $(MSWDIR)\memory.obj \ | |
88 | $(MSWDIR)\module.obj \ | |
89 | $(MSWDIR)\object.obj \ | |
90 | $(MSWDIR)\odbc.obj \ | |
91 | $(MSWDIR)\postscrp.obj \ | |
92 | $(MSWDIR)\prntbase.obj \ | |
93 | $(MSWDIR)\resource.obj \ | |
94 | $(MSWDIR)\tbarbase.obj \ | |
95 | $(MSWDIR)\tbarsmpl.obj \ | |
96 | $(MSWDIR)\textfile.obj \ | |
97 | $(MSWDIR)\timercmn.obj \ | |
98 | $(MSWDIR)\utilscmn.obj \ | |
99 | $(MSWDIR)\validate.obj \ | |
100 | $(MSWDIR)\valtext.obj \ | |
101 | $(MSWDIR)\date.obj \ | |
102 | $(MSWDIR)\hash.obj \ | |
103 | $(MSWDIR)\list.obj \ | |
104 | $(MSWDIR)\string.obj \ | |
105 | $(MSWDIR)\time.obj \ | |
106 | $(MSWDIR)\wxexpr.obj \ | |
107 | $(MSWDIR)\y_tab.obj | |
108 | ||
109 | # $(MSWDIR)\matrix.obj \ | |
110 | ||
111 | MSWOBJS = \ | |
112 | $(MSWDIR)\app.obj \ | |
113 | $(MSWDIR)\bitmap.obj \ | |
114 | $(MSWDIR)\bmpbuttn.obj \ | |
115 | $(MSWDIR)\brush.obj \ | |
116 | $(MSWDIR)\button.obj \ | |
117 | $(MSWDIR)\checkbox.obj \ | |
118 | $(MSWDIR)\checklst.obj \ | |
119 | $(MSWDIR)\choice.obj \ | |
120 | $(MSWDIR)\clipbrd.obj \ | |
121 | $(MSWDIR)\colordlg.obj \ | |
122 | $(MSWDIR)\colour.obj \ | |
123 | $(MSWDIR)\combobox.obj \ | |
124 | $(MSWDIR)\control.obj \ | |
125 | $(MSWDIR)\curico.obj \ | |
126 | $(MSWDIR)\cursor.obj \ | |
127 | $(MSWDIR)\data.obj \ | |
128 | $(MSWDIR)\dc.obj \ | |
129 | $(MSWDIR)\dcmemory.obj \ | |
130 | $(MSWDIR)\dcclient.obj \ | |
131 | $(MSWDIR)\dcprint.obj \ | |
132 | $(MSWDIR)\dcscreen.obj \ | |
133 | $(MSWDIR)\dde.obj \ | |
134 | $(MSWDIR)\dialog.obj \ | |
135 | $(MSWDIR)\dib.obj \ | |
136 | $(MSWDIR)\dirdlg.obj \ | |
137 | $(MSWDIR)\filedlg.obj \ | |
138 | $(MSWDIR)\font.obj \ | |
139 | $(MSWDIR)\fontdlg.obj \ | |
140 | $(MSWDIR)\frame.obj \ | |
141 | $(MSWDIR)\gauge.obj \ | |
142 | $(MSWDIR)\gdiobj.obj \ | |
143 | $(MSWDIR)\helpwin.obj \ | |
144 | $(MSWDIR)\icon.obj \ | |
145 | $(MSWDIR)\imaglist.obj \ | |
146 | $(MSWDIR)\joystick.obj \ | |
147 | $(MSWDIR)\listbox.obj \ | |
148 | $(MSWDIR)\listctrl.obj \ | |
149 | $(MSWDIR)\main.obj \ | |
150 | $(MSWDIR)\mdi.obj \ | |
151 | $(MSWDIR)\menu.obj \ | |
152 | $(MSWDIR)\menuitem.obj \ | |
153 | $(MSWDIR)\metafile.obj \ | |
154 | $(MSWDIR)\minifram.obj \ | |
155 | $(MSWDIR)\msgdlg.obj \ | |
156 | $(MSWDIR)\nativdlg.obj \ | |
157 | $(MSWDIR)\ownerdrw.obj \ | |
158 | $(MSWDIR)\palette.obj \ | |
159 | $(MSWDIR)\pen.obj \ | |
160 | $(MSWDIR)\penwin.obj \ | |
161 | $(MSWDIR)\printdlg.obj \ | |
162 | $(MSWDIR)\printwin.obj \ | |
163 | $(MSWDIR)\radiobox.obj \ | |
164 | $(MSWDIR)\radiobut.obj \ | |
165 | $(MSWDIR)\region.obj \ | |
166 | $(MSWDIR)\registry.obj \ | |
167 | $(MSWDIR)\scrolbar.obj \ | |
168 | $(MSWDIR)\settings.obj \ | |
169 | $(MSWDIR)\slider.obj \ | |
170 | $(MSWDIR)\spinbutt.obj \ | |
171 | $(MSWDIR)\statbmp.obj \ | |
172 | $(MSWDIR)\statbox.obj \ | |
173 | $(MSWDIR)\statbr95.obj \ | |
174 | $(MSWDIR)\stattext.obj \ | |
175 | $(MSWDIR)\tabctrl.obj \ | |
176 | $(MSWDIR)\taskbar.obj \ | |
177 | $(MSWDIR)\tbar95.obj \ | |
178 | $(MSWDIR)\tbarmsw.obj \ | |
179 | $(MSWDIR)\textctrl.obj \ | |
180 | $(MSWDIR)\thread.obj \ | |
181 | $(MSWDIR)\timer.obj \ | |
182 | $(MSWDIR)\treectrl.obj \ | |
183 | $(MSWDIR)\utils.obj \ | |
184 | $(MSWDIR)\wave.obj \ | |
185 | $(MSWDIR)\window.obj \ | |
186 | $(MSWDIR)\droptgt.obj \ | |
43d811ea JS |
187 | $(MSWDIR)\dropsrc.obj \ |
188 | $(MSWDIR)\dataobj.obj \ | |
2bda0e17 KB |
189 | $(MSWDIR)\oleutils.obj \ |
190 | $(MSWDIR)\uuid.obj | |
191 | ||
192 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) | |
193 | ||
194 | default: wx | |
195 | ||
196 | wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) | |
197 | ||
198 | all: all_libs all_execs | |
199 | ||
200 | $(LIBTARGET): $(DUMMY).obj $(OBJECTS) $(BASEOBJECTS) | |
201 | erase $(LIBTARGET) | |
202 | tlib $(LIBTARGET) /P512 @&&! | |
203 | -+$(OBJECTS:.obj =.obj -+) -+$(BASEOBJECTS:.obj =.obj -+) -+$(PERIPH_LIBS:.lib =.lib -+) | |
204 | ! | |
205 | ||
206 | dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h | |
207 | dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h | |
208 | ||
209 | $(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c | |
210 | ||
211 | # cl @<< | |
212 | #$(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ | |
213 | #<< | |
214 | ||
215 | $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c | |
216 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
217 | ||
218 | $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c | |
219 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
220 | ||
221 | #$(OBJECTS): $(WXDIR)\include\wx\setup.h | |
222 | ||
223 | $(MSWDIR)\app.obj: $(MSWDIR)\app.$(SRCSUFF) | |
224 | ||
225 | $(MSWDIR)\bitmap.obj: $(MSWDIR)\bitmap.$(SRCSUFF) | |
226 | ||
227 | $(MSWDIR)\bmpbuttn.obj: $(MSWDIR)\bmpbuttn.$(SRCSUFF) | |
228 | ||
229 | $(MSWDIR)\brush.obj: $(MSWDIR)\brush.$(SRCSUFF) | |
230 | ||
231 | $(MSWDIR)\button.obj: $(MSWDIR)\button.$(SRCSUFF) | |
232 | ||
233 | $(MSWDIR)\choice.obj: $(MSWDIR)\choice.$(SRCSUFF) | |
234 | ||
235 | $(MSWDIR)\checkbox.obj: $(MSWDIR)\checkbox.$(SRCSUFF) | |
236 | ||
237 | $(MSWDIR)\checklst.obj: $(MSWDIR)\checklst.$(SRCSUFF) | |
238 | ||
239 | $(MSWDIR)\clipbrd.obj: $(MSWDIR)\clipbrd.$(SRCSUFF) | |
240 | ||
241 | $(MSWDIR)\colordlg.obj: $(MSWDIR)\colordlg.$(SRCSUFF) | |
242 | ||
243 | $(MSWDIR)\colour.obj: $(MSWDIR)\colour.$(SRCSUFF) | |
244 | ||
245 | $(MSWDIR)\combobox.obj: $(MSWDIR)\combobox.$(SRCSUFF) | |
246 | ||
247 | $(MSWDIR)\control.obj: $(MSWDIR)\control.$(SRCSUFF) | |
248 | ||
249 | $(MSWDIR)\curico.obj: $(MSWDIR)\curico.$(SRCSUFF) | |
250 | ||
251 | $(MSWDIR)\cursor.obj: $(MSWDIR)\cursor.$(SRCSUFF) | |
252 | ||
253 | $(MSWDIR)\data.obj: $(MSWDIR)\data.$(SRCSUFF) | |
254 | ||
255 | $(MSWDIR)\dde.obj: $(MSWDIR)\dde.$(SRCSUFF) | |
256 | ||
257 | $(MSWDIR)\dc.obj: $(MSWDIR)\dc.$(SRCSUFF) | |
258 | ||
259 | $(MSWDIR)\dcmemory.obj: $(MSWDIR)\dcmemory.$(SRCSUFF) | |
260 | ||
261 | $(MSWDIR)\dcclient.obj: $(MSWDIR)\dcclient.$(SRCSUFF) | |
262 | ||
263 | $(MSWDIR)\dcprint.obj: $(MSWDIR)\dcprint.$(SRCSUFF) | |
264 | ||
265 | $(MSWDIR)\dcscreen.obj: $(MSWDIR)\dcscreen.$(SRCSUFF) | |
266 | ||
267 | $(MSWDIR)\dialog.obj: $(MSWDIR)\dialog.$(SRCSUFF) | |
268 | ||
269 | $(MSWDIR)\dib.obj: $(MSWDIR)\dib.$(SRCSUFF) | |
270 | ||
271 | $(MSWDIR)\dirdlg.obj: $(MSWDIR)\dirdlg.$(SRCSUFF) | |
272 | ||
273 | $(MSWDIR)\filedlg.obj: $(MSWDIR)\filedlg.$(SRCSUFF) | |
274 | ||
275 | $(MSWDIR)\font.obj: $(MSWDIR)\font.$(SRCSUFF) | |
276 | ||
277 | $(MSWDIR)\fontdlg.obj: $(MSWDIR)\fontdlg.$(SRCSUFF) | |
278 | ||
279 | $(MSWDIR)\frame.obj: $(MSWDIR)\frame.$(SRCSUFF) | |
280 | ||
281 | $(MSWDIR)\gauge.obj: $(MSWDIR)\gauge.$(SRCSUFF) | |
282 | ||
283 | $(MSWDIR)\gdiobj.obj: $(MSWDIR)\gdiobj.$(SRCSUFF) | |
284 | ||
285 | $(MSWDIR)\icon.obj: $(MSWDIR)\icon.$(SRCSUFF) | |
286 | ||
287 | $(MSWDIR)\imaglist.obj: $(MSWDIR)\imaglist.$(SRCSUFF) | |
288 | ||
289 | $(MSWDIR)\joystick.obj: $(MSWDIR)\joystick.$(SRCSUFF) | |
290 | ||
291 | $(MSWDIR)\listbox.obj: $(MSWDIR)\listbox.$(SRCSUFF) | |
292 | ||
293 | $(MSWDIR)\listctrl.obj: $(MSWDIR)\listctrl.$(SRCSUFF) | |
294 | ||
295 | $(MSWDIR)\main.obj: $(MSWDIR)\main.$(SRCSUFF) | |
296 | ||
297 | $(MSWDIR)\mdi.obj: $(MSWDIR)\mdi.$(SRCSUFF) | |
298 | ||
299 | $(MSWDIR)\menu.obj: $(MSWDIR)\menu.$(SRCSUFF) | |
300 | ||
301 | $(MSWDIR)\menuitem.obj: $(MSWDIR)\menu.$(SRCSUFF) | |
302 | ||
303 | $(MSWDIR)\metafile.obj: $(MSWDIR)\metafile.$(SRCSUFF) | |
304 | ||
305 | $(MSWDIR)\minifram.obj: $(MSWDIR)\minifram.$(SRCSUFF) | |
306 | ||
307 | $(MSWDIR)\msgdlg.obj: $(MSWDIR)\msgdlg.$(SRCSUFF) | |
308 | ||
309 | $(MSWDIR)\nativdlg.obj: $(MSWDIR)\nativdlg.$(SRCSUFF) | |
310 | ||
311 | $(MSWDIR)\ownerdrw.obj: $(MSWDIR)\ownerdrw.$(SRCSUFF) | |
312 | ||
313 | $(MSWDIR)\palette.obj: $(MSWDIR)\palette.$(SRCSUFF) | |
314 | ||
315 | $(MSWDIR)\pen.obj: $(MSWDIR)\pen.$(SRCSUFF) | |
316 | ||
317 | $(MSWDIR)\penwin.obj: $(MSWDIR)\penwin.$(SRCSUFF) | |
318 | ||
319 | $(MSWDIR)\printdlg.obj: $(MSWDIR)\printdlg.$(SRCSUFF) | |
320 | ||
321 | $(MSWDIR)\printwin.obj: $(MSWDIR)\printwin.$(SRCSUFF) | |
322 | ||
323 | $(MSWDIR)\radiobox.obj: $(MSWDIR)\radiobox.$(SRCSUFF) | |
324 | ||
325 | $(MSWDIR)\radiobut.obj: $(MSWDIR)\radiobut.$(SRCSUFF) | |
326 | ||
327 | $(MSWDIR)\region.obj: $(MSWDIR)\region.$(SRCSUFF) | |
328 | ||
329 | $(MSWDIR)\registry.obj: $(MSWDIR)\registry.$(SRCSUFF) | |
330 | ||
331 | $(MSWDIR)\scrolbar.obj: $(MSWDIR)\scrolbar.$(SRCSUFF) | |
332 | ||
333 | $(MSWDIR)\settings.obj: $(MSWDIR)\settings.$(SRCSUFF) | |
334 | ||
335 | $(MSWDIR)\slider.obj: $(MSWDIR)\slider.$(SRCSUFF) | |
336 | ||
337 | $(MSWDIR)\spinbutt.obj: $(MSWDIR)\spinbutt.$(SRCSUFF) | |
338 | ||
339 | $(MSWDIR)\statbmp.obj: $(MSWDIR)\statbmp.$(SRCSUFF) | |
340 | ||
341 | $(MSWDIR)\statbox.obj: $(MSWDIR)\statbox.$(SRCSUFF) | |
342 | ||
343 | $(MSWDIR)\statbr95.obj: $(MSWDIR)\statbr95.$(SRCSUFF) | |
344 | ||
345 | $(MSWDIR)\stattext.obj: $(MSWDIR)\stattext.$(SRCSUFF) | |
346 | ||
347 | $(MSWDIR)\tabctrl.obj: $(MSWDIR)\tabctrl.$(SRCSUFF) | |
348 | ||
349 | $(MSWDIR)\taskbar.obj: $(MSWDIR)\taskbar.$(SRCSUFF) | |
350 | ||
351 | $(MSWDIR)\tbar95.obj: $(MSWDIR)\tbar95.$(SRCSUFF) | |
352 | ||
353 | $(MSWDIR)\tbarmsw.obj: $(MSWDIR)\tbarmsw.$(SRCSUFF) | |
354 | ||
355 | $(MSWDIR)\textctrl.obj: $(MSWDIR)\textctrl.$(SRCSUFF) | |
356 | ||
357 | $(MSWDIR)\thread.obj: $(MSWDIR)\thread.$(SRCSUFF) | |
358 | ||
359 | $(MSWDIR)\timer.obj: $(MSWDIR)\timer.$(SRCSUFF) | |
360 | ||
361 | $(MSWDIR)\treectrl.obj: $(MSWDIR)\treectrl.$(SRCSUFF) | |
362 | ||
363 | $(MSWDIR)\utils.obj: $(MSWDIR)\utils.$(SRCSUFF) | |
364 | ||
365 | $(MSWDIR)\wave.obj: $(MSWDIR)\wave.$(SRCSUFF) | |
366 | ||
367 | $(MSWDIR)\window.obj: $(MSWDIR)\window.$(SRCSUFF) | |
368 | ||
369 | $(MSWDIR)\droptgt.obj: $(OLEDIR)\droptgt.$(SRCSUFF) | |
370 | ||
43d811ea JS |
371 | $(MSWDIR)\dropsrc.obj: $(OLEDIR)\dropsrc.$(SRCSUFF) |
372 | ||
373 | $(MSWDIR)\dataobj.obj: $(OLEDIR)\dataobj.$(SRCSUFF) | |
374 | ||
2bda0e17 KB |
375 | $(MSWDIR)\oleutils.obj: $(OLEDIR)\oleutils.$(SRCSUFF) |
376 | ||
377 | $(MSWDIR)\uuid.obj: $(OLEDIR)\uuid.$(SRCSUFF) | |
378 | ||
379 | ######################################################## | |
380 | # Common objects (always compiled) | |
381 | ||
382 | $(MSWDIR)\config.obj: $(COMMDIR)\config.$(SRCSUFF) | |
383 | ||
384 | $(MSWDIR)\cmndata.obj: $(COMMDIR)\cmndata.$(SRCSUFF) | |
385 | ||
386 | $(MSWDIR)\docview.obj: $(COMMDIR)\docview.$(SRCSUFF) | |
387 | ||
388 | $(MSWDIR)\dynarray.obj: $(COMMDIR)\dynarray.$(SRCSUFF) | |
389 | ||
390 | $(MSWDIR)\event.obj: $(COMMDIR)\event.$(SRCSUFF) | |
391 | ||
392 | $(MSWDIR)\file.obj: $(COMMDIR)\file.$(SRCSUFF) | |
393 | ||
394 | $(MSWDIR)\fileconf.obj: $(COMMDIR)\fileconf.$(SRCSUFF) | |
395 | ||
396 | $(MSWDIR)\filefn.obj: $(COMMDIR)\filefn.$(SRCSUFF) | |
397 | ||
398 | $(MSWDIR)\gdicmn.obj: $(COMMDIR)\gdicmn.$(SRCSUFF) | |
399 | ||
400 | $(MSWDIR)\intl.obj: $(COMMDIR)\intl.$(SRCSUFF) | |
401 | ||
402 | $(MSWDIR)\ipcbase.obj: $(COMMDIR)\ipcbase.$(SRCSUFF) | |
403 | ||
404 | $(MSWDIR)\helpbase.obj: $(COMMDIR)\helpbase.$(SRCSUFF) | |
405 | ||
406 | $(MSWDIR)\layout.obj: $(COMMDIR)\layout.$(SRCSUFF) | |
407 | ||
408 | $(MSWDIR)\log.obj: $(COMMDIR)\log.$(SRCSUFF) | |
409 | ||
410 | $(MSWDIR)\memory.obj: $(COMMDIR)\memory.$(SRCSUFF) | |
411 | ||
412 | $(MSWDIR)\module.obj: $(COMMDIR)\module.$(SRCSUFF) | |
413 | ||
414 | $(MSWDIR)\object.obj: $(COMMDIR)\object.$(SRCSUFF) | |
415 | ||
416 | $(MSWDIR)\odbc.obj: $(COMMDIR)\odbc.$(SRCSUFF) | |
417 | ||
418 | $(MSWDIR)\postscrp.obj: $(COMMDIR)\postscrp.$(SRCSUFF) | |
419 | ||
420 | $(MSWDIR)\prntbase.obj: $(COMMDIR)\prntbase.$(SRCSUFF) | |
421 | ||
422 | $(MSWDIR)\resource.obj: $(COMMDIR)\resource.$(SRCSUFF) | |
423 | ||
424 | $(MSWDIR)\tbarbase.obj: $(COMMDIR)\tbarbase.$(SRCSUFF) | |
425 | ||
426 | $(MSWDIR)\tbarsmpl.obj: $(COMMDIR)\tbarsmpl.$(SRCSUFF) | |
427 | ||
428 | $(MSWDIR)\textfile.obj: $(COMMDIR)\textfile.$(SRCSUFF) | |
429 | ||
430 | $(MSWDIR)\timercmn.obj: $(COMMDIR)\timercmn.$(SRCSUFF) | |
431 | ||
432 | $(MSWDIR)\utilscmn.obj: $(COMMDIR)\utilscmn.$(SRCSUFF) | |
433 | ||
434 | $(MSWDIR)\validate.obj: $(COMMDIR)\validate.$(SRCSUFF) | |
435 | ||
436 | $(MSWDIR)\valtext.obj: $(COMMDIR)\valtext.$(SRCSUFF) | |
437 | ||
438 | $(MSWDIR)\date.obj: $(COMMDIR)\date.$(SRCSUFF) | |
439 | ||
440 | $(MSWDIR)\wxexpr.obj: $(COMMDIR)\wxexpr.$(SRCSUFF) | |
441 | ||
442 | $(MSWDIR)\hash.obj: $(COMMDIR)\hash.$(SRCSUFF) | |
443 | ||
444 | $(MSWDIR)\list.obj: $(COMMDIR)\list.$(SRCSUFF) | |
445 | ||
446 | $(MSWDIR)\string.obj: $(COMMDIR)\string.$(SRCSUFF) | |
447 | ||
448 | $(MSWDIR)\matrix.obj: $(COMMDIR)\matrix.$(SRCSUFF) | |
449 | ||
450 | $(MSWDIR)\time.obj: $(COMMDIR)\time.$(SRCSUFF) | |
451 | ||
452 | ######################################################## | |
453 | # Generic objects (not always compiled, depending on | |
454 | # whether platforms have native implementations) | |
455 | ||
456 | $(MSWDIR)\choicdgg.obj: $(GENDIR)\choicdgg.$(SRCSUFF) | |
457 | ||
458 | $(MSWDIR)\colrdlgg.obj: $(GENDIR)\colrdlgg.$(SRCSUFF) | |
459 | ||
460 | $(MSWDIR)\fontdlgg.obj: $(GENDIR)\fontdlgg.$(SRCSUFF) | |
461 | ||
462 | $(MSWDIR)\gridg.obj: $(GENDIR)\gridg.$(SRCSUFF) | |
463 | ||
464 | $(MSWDIR)\helpxlp.obj: $(GENDIR)\helpxlp.$(SRCSUFF) | |
465 | ||
466 | $(MSWDIR)\msgdlgg.obj: $(GENDIR)\msgdlgg.$(SRCSUFF) | |
467 | ||
468 | $(MSWDIR)\panelg.obj: $(GENDIR)\panelg.$(SRCSUFF) | |
469 | ||
470 | $(MSWDIR)\printps.obj: $(GENDIR)\printps.$(SRCSUFF) | |
471 | ||
472 | $(MSWDIR)\prntdlgg.obj: $(GENDIR)\prntdlgg.$(SRCSUFF) | |
473 | ||
474 | $(MSWDIR)\scrolwin.obj: $(GENDIR)\scrolwin.$(SRCSUFF) | |
475 | ||
476 | $(MSWDIR)\splitter.obj: $(GENDIR)\splitter.$(SRCSUFF) | |
477 | ||
478 | $(MSWDIR)\statusbr.obj: $(GENDIR)\statusbr.$(SRCSUFF) | |
479 | ||
480 | $(MSWDIR)\textdlgg.obj: $(GENDIR)\textdlgg.$(SRCSUFF) | |
481 | ||
482 | $(MSWDIR)\tabg.obj: $(GENDIR)\tabg.$(SRCSUFF) | |
483 | ||
484 | all_utils: | |
485 | cd $(WXDIR)\utils | |
486 | make -f makefile.b32 | |
487 | cd $(WXDIR)\src\msw | |
488 | ||
489 | all_samples: | |
490 | cd $(WXDIR)\samples | |
491 | make -f makefile.b32 | |
492 | cd $(WXDIR)\src\msw | |
493 | ||
494 | all_execs: | |
495 | cd $(WXDIR)\utils | |
496 | make -f makefile.b32 all_execs | |
497 | cd $(WXDIR)\src\msw | |
498 | ||
499 | all_libs: | |
500 | cd $(WXDIR)\src\msw | |
501 | make -f makefile.b32 ctl3d dib fafa gauge hytext itsy prologio rcparser wx wxgraph\ | |
502 | wxstring wxtree mfutils # wxxpm | |
503 | ||
504 | all_contribs: | |
505 | cd $(WXDIR)\src\msw | |
506 | make -f makefile.b32 ctl3d fafa wxstring itsy gauge # wxxpm | |
507 | ||
508 | # CONTRIB | |
509 | ctl3d: $(CFG) | |
510 | cd $(WXDIR)\src\msw\ctl3d\borland | |
511 | make -f makefile.b32 -DCFG=$(CFG) | |
512 | cd $(WXDIR)\src\msw | |
513 | ||
514 | wxxpm: $(CFG) | |
515 | cd $(WXDIR)\src\common\wxxpm | |
516 | make -f makefile.b32 -DCFG=$(CFG) -DFINAL=$(FINAL) -DWXWIN=$(WXDIR) -DDEBUG=$(DEBUG) | |
517 | cd $(WXDIR)\src\msw | |
518 | ||
519 | $(CFG): makefile.b32 | |
520 | copy &&! | |
521 | -H=$(WXDIR)\src\msw\wx32.csm | |
522 | -3 | |
523 | -P | |
524 | -d | |
525 | -w-hid | |
526 | -w-par | |
527 | -w-pia | |
528 | -w-aus | |
529 | -w-rch | |
530 | -Oxt | |
531 | -WE | |
532 | ||
533 | -I$(WXINC);$(BCCDIR)\include | |
534 | -I$(WXDIR)\include\msw\gnuwin32 | |
535 | ||
536 | -L$(BCCDIR)\lib | |
537 | -D__WXWIN__ | |
538 | -D__WINDOWS__ | |
539 | -DWIN32 | |
540 | $(OPT) | |
541 | $(DEBUG_FLAGS) | |
542 | $(WIN95FLAG) | |
543 | ! $(CFG) | |
544 | ||
545 | #-I$(WXDIR)\src\common\wxxpm\libxpm.34b\lib | |
546 | ||
547 | clean: $(PERIPH_CLEAN_TARGET) | |
548 | erase $(LIBTARGET) | |
549 | erase *.obj | |
550 | erase *.pch | |
551 | erase *.csm | |
552 | erase *.cfg | |
553 | erase ..\common\y_tab.c | |
554 | erase ..\common\lex_yy.c | |
555 | ||
556 | cleanall: clean | |
557 | ||
558 |