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