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