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