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