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