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