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