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