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