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