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