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