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