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