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