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