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