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