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