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