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