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