]> git.saurik.com Git - wxWidgets.git/blame - src/msw/makefile.bcc
remove the #warning for VisualAge
[wxWidgets.git] / src / msw / makefile.bcc
CommitLineData
a1b82138
VZ
1
2
68be9f09 3# This file was automatically generated by tmake at 16:52, 2000/02/29
a1b82138
VZ
4# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BCC.T!
5
2bda0e17 6#
a1b82138
VZ
7# File: makefile.bcc
8# Author: Julian Smart
9# Created: 1993
10# Updated:
11# Copyright:(c) 1993, AIAI, University of Edinburgh
2bda0e17
KB
12#
13# "%W% %G%"
14#
15# Makefile : Builds wxWindows library wx.lib for Windows 3.1
16# and Borland C++ 3.1
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
26!if "$(CFG)" == ""
a1b82138 27# !error You must start compiling from wx\src, not wx\src\msw.
2bda0e17
KB
28!endif
29
30!ifndef DEBUG
31DEBUG=0
32!endif
33
34WXDIR = $(WXWIN)
35
36!include $(WXDIR)\src\makebcc.env
37
38THISDIR = $(WXDIR)\src\msw
2bda0e17
KB
39
40# Please set these according to the settings in wx_setup.h, so we can include
41# the appropriate libraries in wx.lib
42USE_CTL3D=1
2bda0e17 43USE_XPM_IN_MSW=0
2bda0e17
KB
44
45PERIPH_LIBS=
46PERIPH_TARGET=
47PERIPH_CLEAN_TARGET=
48
49!if "$(USE_CTL3D)" == "1"
5ae4432e 50PERIPH_LIBS=$(WXDIR)\lib\bcc16\ctl3dv2.lib $(PERIPH_LIBS)
2bda0e17
KB
51!endif
52
53!if "$(USE_XPM_IN_MSW)" == "1"
62448488 54PERIPH_LIBS=$(WXDIR)\xpm.lib $(PERIPH_LIBS)
2bda0e17
KB
55PERIPH_TARGET=xpm $(PERIPH_TARGET)
56PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET)
57!endif
58
62448488
JS
59# TODO: add these libraries
60# PERIPH_LIBS=$(WXDIR)\lib\zlib.lib $(WXDIR)\lib\winpng.lib $(PERIPH_LIBS)
c7f49969
JS
61PERIPH_TARGET=zlib png $(PERIPH_TARGET)
62PERIPH_CLEAN_TARGET=clean_zlib clean_png $(PERIPH_CLEAN_TARGET)
2bda0e17
KB
63
64CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
65
62448488 66LIBTARGET= $(WXLIBDIR)\wx.lib
2bda0e17
KB
67DUMMY=dummy
68
62448488
JS
69GENDIR=..\generic
70COMMDIR=..\common
71OLEDIR=.\ole
72MSWDIR=.
73
74DOCDIR = $(WXDIR)\docs
75
a1b82138 76GENERICOBJS= $(MSWDIR)\busyinfo.obj \
9d9b7755 77 $(MSWDIR)\calctrl.obj \
a1b82138
VZ
78 $(MSWDIR)\choicdgg.obj \
79 $(MSWDIR)\dirdlgg.obj \
68be9f09 80 $(MSWDIR)\dragimgg.obj \
f85afd4e 81 $(MSWDIR)\grid.obj \
a1b82138
VZ
82 $(MSWDIR)\imaglist.obj \
83 $(MSWDIR)\laywin.obj \
84 $(MSWDIR)\listctrl.obj \
dd85fc6b 85 $(MSWDIR)\logg.obj \
a1b82138 86 $(MSWDIR)\notebook.obj \
9be9b974 87 $(MSWDIR)\numdlgg.obj \
a1b82138 88 $(MSWDIR)\panelg.obj \
5d541a03 89 $(MSWDIR)\plot.obj \
a1b82138
VZ
90 $(MSWDIR)\progdlgg.obj \
91 $(MSWDIR)\prop.obj \
92 $(MSWDIR)\propform.obj \
93 $(MSWDIR)\proplist.obj \
94 $(MSWDIR)\sashwin.obj \
95 $(MSWDIR)\scrolwin.obj \
96 $(MSWDIR)\splitter.obj \
97 $(MSWDIR)\statusbr.obj \
98 $(MSWDIR)\tabg.obj \
bf84b0be 99 $(MSWDIR)\tbarsmpl.obj \
a1b82138
VZ
100 $(MSWDIR)\textdlgg.obj \
101 $(MSWDIR)\tipdlg.obj \
e8ac7bf2 102 $(MSWDIR)\treectrl.obj \
babc9758 103 $(MSWDIR)\treelay.obj \
e8ac7bf2 104 $(MSWDIR)\wizard.obj
62448488
JS
105
106COMMONOBJS = \
a1b82138 107 $(MSWDIR)\y_tab.obj \
72cdf4c9 108 $(MSWDIR)\appcmn.obj \
8d99be5f 109 $(MSWDIR)\choiccmn.obj \
08794f69 110 $(MSWDIR)\clipcmn.obj \
2a36259f 111 $(MSWDIR)\cmdline.obj \
a1b82138
VZ
112 $(MSWDIR)\cmndata.obj \
113 $(MSWDIR)\config.obj \
8d99be5f 114 $(MSWDIR)\ctrlcmn.obj \
6c8a980f 115 $(MSWDIR)\ctrlsub.obj \
c692969f 116 $(MSWDIR)\datetime.obj \
a1b82138
VZ
117 $(MSWDIR)\datstrm.obj \
118 $(MSWDIR)\db.obj \
119 $(MSWDIR)\dbtable.obj \
120 $(MSWDIR)\dcbase.obj \
121 $(MSWDIR)\dlgcmn.obj \
c692969f 122 $(MSWDIR)\dndcmn.obj \
c4933157 123 $(MSWDIR)\dobjcmn.obj \
a1b82138
VZ
124 $(MSWDIR)\docmdi.obj \
125 $(MSWDIR)\docview.obj \
126 $(MSWDIR)\dynarray.obj \
127 $(MSWDIR)\dynlib.obj \
15b83243 128 $(MSWDIR)\encconv.obj \
a1b82138 129 $(MSWDIR)\event.obj \
9b73db3c
VZ
130 $(MSWDIR)\extended.obj \
131 $(MSWDIR)\ffile.obj \
a1b82138
VZ
132 $(MSWDIR)\file.obj \
133 $(MSWDIR)\fileconf.obj \
134 $(MSWDIR)\filefn.obj \
135 $(MSWDIR)\filesys.obj \
0c5d3e1c 136 $(MSWDIR)\fontcmn.obj \
6e47faf1 137 $(MSWDIR)\fontmap.obj \
a1b82138
VZ
138 $(MSWDIR)\framecmn.obj \
139 $(MSWDIR)\fs_inet.obj \
c692969f 140 $(MSWDIR)\fs_mem.obj \
a1b82138
VZ
141 $(MSWDIR)\fs_zip.obj \
142 $(MSWDIR)\gdicmn.obj \
c692969f 143 $(MSWDIR)\geometry.obj \
e8ac7bf2 144 $(MSWDIR)\gifdecod.obj \
a1b82138
VZ
145 $(MSWDIR)\hash.obj \
146 $(MSWDIR)\helpbase.obj \
1b9315eb 147 $(MSWDIR)\imagall.obj \
a1b82138
VZ
148 $(MSWDIR)\imagbmp.obj \
149 $(MSWDIR)\image.obj \
150 $(MSWDIR)\imaggif.obj \
a1b82138
VZ
151 $(MSWDIR)\intl.obj \
152 $(MSWDIR)\ipcbase.obj \
153 $(MSWDIR)\layout.obj \
2ee3ee1b 154 $(MSWDIR)\lboxcmn.obj \
a1b82138
VZ
155 $(MSWDIR)\list.obj \
156 $(MSWDIR)\log.obj \
fa146dd7 157 $(MSWDIR)\longlong.obj \
a1b82138 158 $(MSWDIR)\memory.obj \
ad9bb75f 159 $(MSWDIR)\menucmn.obj \
a1b82138
VZ
160 $(MSWDIR)\module.obj \
161 $(MSWDIR)\mstream.obj \
162 $(MSWDIR)\object.obj \
163 $(MSWDIR)\objstrm.obj \
164 $(MSWDIR)\paper.obj \
165 $(MSWDIR)\prntbase.obj \
166 $(MSWDIR)\resource.obj \
ae8f5769 167 $(MSWDIR)\serbase.obj \
e2a1679e 168 $(MSWDIR)\sizer.obj \
77671fd2 169 $(MSWDIR)\strconv.obj \
a1b82138
VZ
170 $(MSWDIR)\stream.obj \
171 $(MSWDIR)\string.obj \
172 $(MSWDIR)\tbarbase.obj \
9b73db3c 173 $(MSWDIR)\textcmn.obj \
a1b82138 174 $(MSWDIR)\textfile.obj \
a1b82138
VZ
175 $(MSWDIR)\timercmn.obj \
176 $(MSWDIR)\tokenzr.obj \
177 $(MSWDIR)\txtstrm.obj \
178 $(MSWDIR)\unzip.obj \
179 $(MSWDIR)\utilscmn.obj \
180 $(MSWDIR)\valgen.obj \
181 $(MSWDIR)\validate.obj \
182 $(MSWDIR)\valtext.obj \
183 $(MSWDIR)\variant.obj \
184 $(MSWDIR)\wfstream.obj \
185 $(MSWDIR)\wincmn.obj \
186 $(MSWDIR)\wxchar.obj \
187 $(MSWDIR)\wxexpr.obj \
77671fd2 188 $(MSWDIR)\zipstrm.obj \
a1b82138 189 $(MSWDIR)\zstream.obj \
8fb3a512 190 ${MSWDIR}\resourc2.obj
a1b82138
VZ
191
192MSWOBJS = $(MSWDIR)\accel.obj \
193 $(MSWDIR)\app.obj \
194 $(MSWDIR)\bitmap.obj \
195 $(MSWDIR)\bmpbuttn.obj \
196 $(MSWDIR)\brush.obj \
197 $(MSWDIR)\button.obj \
198 $(MSWDIR)\caret.obj \
199 $(MSWDIR)\checkbox.obj \
200 $(MSWDIR)\checklst.obj \
201 $(MSWDIR)\choice.obj \
202 $(MSWDIR)\clipbrd.obj \
203 $(MSWDIR)\colordlg.obj \
204 $(MSWDIR)\colour.obj \
205 $(MSWDIR)\combobox.obj \
206 $(MSWDIR)\control.obj \
207 $(MSWDIR)\curico.obj \
208 $(MSWDIR)\cursor.obj \
209 $(MSWDIR)\data.obj \
210 $(MSWDIR)\dc.obj \
211 $(MSWDIR)\dcclient.obj \
212 $(MSWDIR)\dcmemory.obj \
213 $(MSWDIR)\dcprint.obj \
214 $(MSWDIR)\dcscreen.obj \
215 $(MSWDIR)\dde.obj \
216 $(MSWDIR)\dialog.obj \
e694c22c 217 $(MSWDIR)\dialup.obj \
a1b82138
VZ
218 $(MSWDIR)\dib.obj \
219 $(MSWDIR)\dibutils.obj \
e694c22c 220 $(MSWDIR)\dir.obj \
a1b82138
VZ
221 $(MSWDIR)\dragimag.obj \
222 $(MSWDIR)\filedlg.obj \
223 $(MSWDIR)\font.obj \
224 $(MSWDIR)\fontdlg.obj \
83ef322d 225 $(MSWDIR)\fontenum.obj \
6e47faf1 226 $(MSWDIR)\fontutil.obj \
a1b82138
VZ
227 $(MSWDIR)\frame.obj \
228 $(MSWDIR)\gaugemsw.obj \
0d0512bd 229 $(MSWDIR)\gdiimage.obj \
a1b82138 230 $(MSWDIR)\gdiobj.obj \
8b089c5e 231 $(MSWDIR)\glcanvas.obj \
8ec2b484 232 $(MSWDIR)\gsocket.obj \
a1b82138
VZ
233 $(MSWDIR)\helpwin.obj \
234 $(MSWDIR)\icon.obj \
235 $(MSWDIR)\iniconf.obj \
236 $(MSWDIR)\joystick.obj \
237 $(MSWDIR)\listbox.obj \
238 $(MSWDIR)\main.obj \
239 $(MSWDIR)\mdi.obj \
240 $(MSWDIR)\menu.obj \
241 $(MSWDIR)\menuitem.obj \
242 $(MSWDIR)\metafile.obj \
243 $(MSWDIR)\minifram.obj \
244 $(MSWDIR)\msgdlg.obj \
245 $(MSWDIR)\nativdlg.obj \
a1b82138
VZ
246 $(MSWDIR)\ownerdrw.obj \
247 $(MSWDIR)\palette.obj \
248 $(MSWDIR)\pen.obj \
249 $(MSWDIR)\penwin.obj \
a1b82138
VZ
250 $(MSWDIR)\printdlg.obj \
251 $(MSWDIR)\printwin.obj \
252 $(MSWDIR)\radiobox.obj \
253 $(MSWDIR)\radiobut.obj \
254 $(MSWDIR)\region.obj \
255 $(MSWDIR)\scrolbar.obj \
256 $(MSWDIR)\settings.obj \
257 $(MSWDIR)\slidrmsw.obj \
258 $(MSWDIR)\spinbutt.obj \
791a2102 259 $(MSWDIR)\spinctrl.obj \
a1b82138
VZ
260 $(MSWDIR)\statbmp.obj \
261 $(MSWDIR)\statbox.obj \
262 $(MSWDIR)\statline.obj \
263 $(MSWDIR)\stattext.obj \
264 $(MSWDIR)\tabctrl.obj \
265 $(MSWDIR)\tbarmsw.obj \
266 $(MSWDIR)\textctrl.obj \
267 $(MSWDIR)\timer.obj \
268 $(MSWDIR)\utils.obj \
269 $(MSWDIR)\utilsexc.obj \
270 $(MSWDIR)\wave.obj \
271 $(MSWDIR)\window.obj \
272 $(MSWDIR)\xpmhand.obj
62448488
JS
273
274OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
275
276default: wx
277
278wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
279
280$(LIBTARGET): $(DUMMY).obj $(OBJECTS) $(PERIPH_LIBS)
2bda0e17 281 erase $(LIBTARGET)
f6081a04 282 tlib $(LIBTARGET) /P2048 @&&!
8fb3a512
JS
283+$(COMMONOBJS:.obj =.obj +)\
284+$(GENERICOBJS:.obj =.obj +)\
285+$(MSWOBJS:.obj =.obj +)\
286+$(PERIPH_LIBS:.lib =.lib +)
2bda0e17
KB
287!
288
62448488
JS
289dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
290dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
2bda0e17 291
62448488 292$(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
2bda0e17 293
62448488 294# cl @<<
a1b82138
VZ
295# $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
296# <<
2bda0e17 297
62448488
JS
298$(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
299 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
2bda0e17 300
62448488
JS
301$(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
302 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
2bda0e17 303
a1b82138 304# $(OBJECTS): $(WXDIR)\include\wx\setup.h
2bda0e17 305
a1b82138 306$(MSWDIR)\accel.obj: $(MSWDIR)\accel.$(SRCSUFF)
62448488 307
a1b82138 308$(MSWDIR)\app.obj: $(MSWDIR)\app.$(SRCSUFF)
62448488 309
a1b82138 310$(MSWDIR)\bitmap.obj: $(MSWDIR)\bitmap.$(SRCSUFF)
789295bf 311
a1b82138 312$(MSWDIR)\bmpbuttn.obj: $(MSWDIR)\bmpbuttn.$(SRCSUFF)
62448488 313
a1b82138 314$(MSWDIR)\brush.obj: $(MSWDIR)\brush.$(SRCSUFF)
62448488 315
a1b82138 316$(MSWDIR)\button.obj: $(MSWDIR)\button.$(SRCSUFF)
62448488 317
a1b82138 318$(MSWDIR)\caret.obj: $(MSWDIR)\caret.$(SRCSUFF)
62448488 319
a1b82138 320$(MSWDIR)\checkbox.obj: $(MSWDIR)\checkbox.$(SRCSUFF)
62448488 321
a1b82138 322$(MSWDIR)\checklst.obj: $(MSWDIR)\checklst.$(SRCSUFF)
62448488 323
a1b82138 324$(MSWDIR)\choice.obj: $(MSWDIR)\choice.$(SRCSUFF)
62448488 325
a1b82138 326$(MSWDIR)\clipbrd.obj: $(MSWDIR)\clipbrd.$(SRCSUFF)
62448488 327
a1b82138 328$(MSWDIR)\colordlg.obj: $(MSWDIR)\colordlg.$(SRCSUFF)
62448488 329
a1b82138 330$(MSWDIR)\colour.obj: $(MSWDIR)\colour.$(SRCSUFF)
62448488 331
a1b82138 332$(MSWDIR)\combobox.obj: $(MSWDIR)\combobox.$(SRCSUFF)
62448488 333
a1b82138 334$(MSWDIR)\control.obj: $(MSWDIR)\control.$(SRCSUFF)
62448488 335
a1b82138 336$(MSWDIR)\curico.obj: $(MSWDIR)\curico.$(SRCSUFF)
62448488 337
a1b82138 338$(MSWDIR)\cursor.obj: $(MSWDIR)\cursor.$(SRCSUFF)
62448488 339
a1b82138 340$(MSWDIR)\data.obj: $(MSWDIR)\data.$(SRCSUFF)
62448488 341
a1b82138 342$(MSWDIR)\dc.obj: $(MSWDIR)\dc.$(SRCSUFF)
62448488 343
a1b82138 344$(MSWDIR)\dcclient.obj: $(MSWDIR)\dcclient.$(SRCSUFF)
62448488 345
a1b82138 346$(MSWDIR)\dcmemory.obj: $(MSWDIR)\dcmemory.$(SRCSUFF)
62448488 347
a1b82138 348$(MSWDIR)\dcprint.obj: $(MSWDIR)\dcprint.$(SRCSUFF)
62448488 349
a1b82138 350$(MSWDIR)\dcscreen.obj: $(MSWDIR)\dcscreen.$(SRCSUFF)
62448488 351
a1b82138 352$(MSWDIR)\dde.obj: $(MSWDIR)\dde.$(SRCSUFF)
62448488 353
a1b82138 354$(MSWDIR)\dialog.obj: $(MSWDIR)\dialog.$(SRCSUFF)
62448488 355
e694c22c
VZ
356$(MSWDIR)\dialup.obj: $(MSWDIR)\dialup.$(SRCSUFF)
357
a1b82138 358$(MSWDIR)\dib.obj: $(MSWDIR)\dib.$(SRCSUFF)
62448488 359
a1b82138 360$(MSWDIR)\dibutils.obj: $(MSWDIR)\dibutils.$(SRCSUFF)
62448488 361
e694c22c
VZ
362$(MSWDIR)\dir.obj: $(MSWDIR)\dir.$(SRCSUFF)
363
a1b82138 364$(MSWDIR)\dragimag.obj: $(MSWDIR)\dragimag.$(SRCSUFF)
62448488 365
a1b82138 366$(MSWDIR)\filedlg.obj: $(MSWDIR)\filedlg.$(SRCSUFF)
62448488 367
a1b82138 368$(MSWDIR)\font.obj: $(MSWDIR)\font.$(SRCSUFF)
62448488 369
a1b82138 370$(MSWDIR)\fontdlg.obj: $(MSWDIR)\fontdlg.$(SRCSUFF)
62448488 371
83ef322d
VZ
372$(MSWDIR)\fontenum.obj: $(MSWDIR)\fontenum.$(SRCSUFF)
373
6e47faf1
JS
374$(MSWDIR)\fontutil.obj: $(MSWDIR)\fontutil.$(SRCSUFF)
375
a1b82138 376$(MSWDIR)\frame.obj: $(MSWDIR)\frame.$(SRCSUFF)
62448488 377
a1b82138 378$(MSWDIR)\gaugemsw.obj: $(MSWDIR)\gaugemsw.$(SRCSUFF)
62448488 379
0d0512bd
VZ
380$(MSWDIR)\gdiimage.obj: $(MSWDIR)\gdiimage.$(SRCSUFF)
381
8fb3a512 382$(MSWDIR)\gdiobj.obj: $(MSWDIR)\gdiobj.$(SRCSUFF)
62448488 383
8b089c5e
JS
384$(MSWDIR)\glcanvas.obj: $(MSWDIR)\glcanvas.$(SRCSUFF)
385
83b1f353 386$(MSWDIR)\gsocket.obj: $(MSWDIR)\gsocket.c
8ec2b484 387
a1b82138 388$(MSWDIR)\helpwin.obj: $(MSWDIR)\helpwin.$(SRCSUFF)
62448488 389
a1b82138 390$(MSWDIR)\icon.obj: $(MSWDIR)\icon.$(SRCSUFF)
62448488 391
a1b82138 392$(MSWDIR)\iniconf.obj: $(MSWDIR)\iniconf.$(SRCSUFF)
62448488 393
a1b82138 394$(MSWDIR)\joystick.obj: $(MSWDIR)\joystick.$(SRCSUFF)
62448488 395
a1b82138 396$(MSWDIR)\listbox.obj: $(MSWDIR)\listbox.$(SRCSUFF)
62448488 397
a1b82138 398$(MSWDIR)\main.obj: $(MSWDIR)\main.$(SRCSUFF)
62448488 399
a1b82138 400$(MSWDIR)\mdi.obj: $(MSWDIR)\mdi.$(SRCSUFF)
62448488 401
a1b82138 402$(MSWDIR)\menu.obj: $(MSWDIR)\menu.$(SRCSUFF)
62448488 403
a1b82138 404$(MSWDIR)\menuitem.obj: $(MSWDIR)\menuitem.$(SRCSUFF)
62448488 405
a1b82138 406$(MSWDIR)\metafile.obj: $(MSWDIR)\metafile.$(SRCSUFF)
62448488 407
a1b82138 408$(MSWDIR)\minifram.obj: $(MSWDIR)\minifram.$(SRCSUFF)
62448488 409
a1b82138 410$(MSWDIR)\msgdlg.obj: $(MSWDIR)\msgdlg.$(SRCSUFF)
62448488 411
a1b82138 412$(MSWDIR)\nativdlg.obj: $(MSWDIR)\nativdlg.$(SRCSUFF)
62448488 413
a1b82138 414$(MSWDIR)\ownerdrw.obj: $(MSWDIR)\ownerdrw.$(SRCSUFF)
62448488 415
a1b82138 416$(MSWDIR)\palette.obj: $(MSWDIR)\palette.$(SRCSUFF)
62448488 417
a1b82138 418$(MSWDIR)\pen.obj: $(MSWDIR)\pen.$(SRCSUFF)
62448488 419
a1b82138 420$(MSWDIR)\penwin.obj: $(MSWDIR)\penwin.$(SRCSUFF)
62448488 421
a1b82138 422$(MSWDIR)\printdlg.obj: $(MSWDIR)\printdlg.$(SRCSUFF)
62448488 423
a1b82138 424$(MSWDIR)\printwin.obj: $(MSWDIR)\printwin.$(SRCSUFF)
62448488 425
a1b82138 426$(MSWDIR)\radiobox.obj: $(MSWDIR)\radiobox.$(SRCSUFF)
62448488 427
a1b82138 428$(MSWDIR)\radiobut.obj: $(MSWDIR)\radiobut.$(SRCSUFF)
62448488 429
a1b82138 430$(MSWDIR)\region.obj: $(MSWDIR)\region.$(SRCSUFF)
62448488 431
a1b82138 432$(MSWDIR)\scrolbar.obj: $(MSWDIR)\scrolbar.$(SRCSUFF)
62448488 433
a1b82138 434$(MSWDIR)\settings.obj: $(MSWDIR)\settings.$(SRCSUFF)
62448488 435
a1b82138 436$(MSWDIR)\slidrmsw.obj: $(MSWDIR)\slidrmsw.$(SRCSUFF)
62448488 437
a1b82138 438$(MSWDIR)\spinbutt.obj: $(MSWDIR)\spinbutt.$(SRCSUFF)
62448488 439
791a2102
VZ
440$(MSWDIR)\spinctrl.obj: $(MSWDIR)\spinctrl.$(SRCSUFF)
441
a1b82138 442$(MSWDIR)\statbmp.obj: $(MSWDIR)\statbmp.$(SRCSUFF)
c50f1fb9 443
a1b82138 444$(MSWDIR)\statbox.obj: $(MSWDIR)\statbox.$(SRCSUFF)
62448488 445
a1b82138 446$(MSWDIR)\statline.obj: $(MSWDIR)\statline.$(SRCSUFF)
62448488 447
a1b82138 448$(MSWDIR)\stattext.obj: $(MSWDIR)\stattext.$(SRCSUFF)
62448488 449
a1b82138 450$(MSWDIR)\tabctrl.obj: $(MSWDIR)\tabctrl.$(SRCSUFF)
62448488 451
a1b82138 452$(MSWDIR)\tbarmsw.obj: $(MSWDIR)\tbarmsw.$(SRCSUFF)
62448488 453
a1b82138 454$(MSWDIR)\textctrl.obj: $(MSWDIR)\textctrl.$(SRCSUFF)
62448488 455
a1b82138 456$(MSWDIR)\timer.obj: $(MSWDIR)\timer.$(SRCSUFF)
62448488 457
a1b82138 458$(MSWDIR)\utils.obj: $(MSWDIR)\utils.$(SRCSUFF)
62448488 459
a1b82138 460$(MSWDIR)\utilsexc.obj: $(MSWDIR)\utilsexc.$(SRCSUFF)
62448488 461
a1b82138 462$(MSWDIR)\wave.obj: $(MSWDIR)\wave.$(SRCSUFF)
1f112209 463
a1b82138 464$(MSWDIR)\window.obj: $(MSWDIR)\window.$(SRCSUFF)
62448488 465
a1b82138 466$(MSWDIR)\xpmhand.obj: $(MSWDIR)\xpmhand.$(SRCSUFF)
62448488 467
2bda0e17 468
62448488
JS
469
470########################################################
471# Common objects (always compiled)
472
72cdf4c9
VZ
473$(MSWDIR)\appcmn.obj: $(COMMDIR)\appcmn.$(SRCSUFF)
474
8d99be5f
VZ
475$(MSWDIR)\choiccmn.obj: $(COMMDIR)\choiccmn.$(SRCSUFF)
476
08794f69
VZ
477$(MSWDIR)\clipcmn.obj: $(COMMDIR)\clipcmn.$(SRCSUFF)
478
2a36259f
VZ
479$(MSWDIR)\cmdline.obj: $(COMMDIR)\cmdline.$(SRCSUFF)
480
a1b82138 481$(MSWDIR)\cmndata.obj: $(COMMDIR)\cmndata.$(SRCSUFF)
62448488 482
a1b82138 483$(MSWDIR)\config.obj: $(COMMDIR)\config.$(SRCSUFF)
62448488 484
8d99be5f
VZ
485$(MSWDIR)\ctrlcmn.obj: $(COMMDIR)\ctrlcmn.$(SRCSUFF)
486
6c8a980f
VZ
487$(MSWDIR)\ctrlsub.obj: $(COMMDIR)\ctrlsub.$(SRCSUFF)
488
c692969f
VS
489$(MSWDIR)\datetime.obj: $(COMMDIR)\datetime.$(SRCSUFF)
490
a1b82138 491$(MSWDIR)\datstrm.obj: $(COMMDIR)\datstrm.$(SRCSUFF)
62448488 492
a1b82138 493$(MSWDIR)\db.obj: $(COMMDIR)\db.$(SRCSUFF)
62448488 494
a1b82138 495$(MSWDIR)\dbtable.obj: $(COMMDIR)\dbtable.$(SRCSUFF)
62448488 496
a1b82138 497$(MSWDIR)\dcbase.obj: $(COMMDIR)\dcbase.$(SRCSUFF)
62448488 498
a1b82138 499$(MSWDIR)\dlgcmn.obj: $(COMMDIR)\dlgcmn.$(SRCSUFF)
62448488 500
c692969f
VS
501$(MSWDIR)\dndcmn.obj: $(COMMDIR)\dndcmn.$(SRCSUFF)
502
8fb3a512 503$(MSWDIR)\dobjcmn.obj: $(COMMDIR)\dobjcmn.$(SRCSUFF)
c4933157 504
a1b82138 505$(MSWDIR)\docmdi.obj: $(COMMDIR)\docmdi.$(SRCSUFF)
62448488 506
a1b82138 507$(MSWDIR)\docview.obj: $(COMMDIR)\docview.$(SRCSUFF)
62448488 508
a1b82138 509$(MSWDIR)\dynarray.obj: $(COMMDIR)\dynarray.$(SRCSUFF)
62448488 510
a1b82138 511$(MSWDIR)\dynlib.obj: $(COMMDIR)\dynlib.$(SRCSUFF)
62448488 512
15b83243
VS
513$(MSWDIR)\encconv.obj: $(COMMDIR)\encconv.$(SRCSUFF)
514
a1b82138 515$(MSWDIR)\event.obj: $(COMMDIR)\event.$(SRCSUFF)
62448488 516
9b73db3c
VZ
517$(MSWDIR)\extended.obj: $(COMMDIR)\extended.c
518
519$(MSWDIR)\ffile.obj: $(COMMDIR)\ffile.$(SRCSUFF)
520
a1b82138 521$(MSWDIR)\file.obj: $(COMMDIR)\file.$(SRCSUFF)
62448488 522
a1b82138 523$(MSWDIR)\fileconf.obj: $(COMMDIR)\fileconf.$(SRCSUFF)
62448488 524
a1b82138 525$(MSWDIR)\filefn.obj: $(COMMDIR)\filefn.$(SRCSUFF)
62448488 526
a1b82138 527$(MSWDIR)\filesys.obj: $(COMMDIR)\filesys.$(SRCSUFF)
62448488 528
0c5d3e1c
VZ
529$(MSWDIR)\fontcmn.obj: $(COMMDIR)\fontcmn.$(SRCSUFF)
530
6e47faf1
JS
531$(MSWDIR)\fontmap.obj: $(COMMDIR)\fontmap.$(SRCSUFF)
532
a1b82138 533$(MSWDIR)\framecmn.obj: $(COMMDIR)\framecmn.$(SRCSUFF)
62448488 534
a1b82138 535$(MSWDIR)\fs_inet.obj: $(COMMDIR)\fs_inet.$(SRCSUFF)
62448488 536
c692969f
VS
537$(MSWDIR)\fs_mem.obj: $(COMMDIR)\fs_mem.$(SRCSUFF)
538
a1b82138 539$(MSWDIR)\fs_zip.obj: $(COMMDIR)\fs_zip.$(SRCSUFF)
62448488 540
a1b82138 541$(MSWDIR)\gdicmn.obj: $(COMMDIR)\gdicmn.$(SRCSUFF)
2432b92d 542
c692969f
VS
543$(MSWDIR)\geometry.obj: $(COMMDIR)\geometry.$(SRCSUFF)
544
e8ac7bf2
RD
545$(MSWDIR)\gifdecod.obj: $(COMMDIR)\gifdecod.$(SRCSUFF)
546
a1b82138 547$(MSWDIR)\hash.obj: $(COMMDIR)\hash.$(SRCSUFF)
62448488 548
a1b82138 549$(MSWDIR)\helpbase.obj: $(COMMDIR)\helpbase.$(SRCSUFF)
62448488 550
1b9315eb
JS
551$(MSWDIR)\imagall.obj: $(COMMDIR)\imagall.$(SRCSUFF)
552
a1b82138 553$(MSWDIR)\imagbmp.obj: $(COMMDIR)\imagbmp.$(SRCSUFF)
62448488 554
a1b82138 555$(MSWDIR)\image.obj: $(COMMDIR)\image.$(SRCSUFF)
62448488 556
a1b82138 557$(MSWDIR)\imaggif.obj: $(COMMDIR)\imaggif.$(SRCSUFF)
62448488 558
a1b82138 559$(MSWDIR)\intl.obj: $(COMMDIR)\intl.$(SRCSUFF)
62448488 560
a1b82138 561$(MSWDIR)\ipcbase.obj: $(COMMDIR)\ipcbase.$(SRCSUFF)
62448488 562
a1b82138 563$(MSWDIR)\layout.obj: $(COMMDIR)\layout.$(SRCSUFF)
62448488 564
2ee3ee1b
VZ
565$(MSWDIR)\lboxcmn.obj: $(COMMDIR)\lboxcmn.$(SRCSUFF)
566
a1b82138 567$(MSWDIR)\list.obj: $(COMMDIR)\list.$(SRCSUFF)
62448488 568
a1b82138 569$(MSWDIR)\log.obj: $(COMMDIR)\log.$(SRCSUFF)
62448488 570
fa146dd7
VS
571$(MSWDIR)\longlong.obj: $(COMMDIR)\longlong.$(SRCSUFF)
572
a1b82138 573$(MSWDIR)\memory.obj: $(COMMDIR)\memory.$(SRCSUFF)
89c684ef 574
ad9bb75f
VZ
575$(MSWDIR)\menucmn.obj: $(COMMDIR)\menucmn.$(SRCSUFF)
576
a1b82138 577$(MSWDIR)\module.obj: $(COMMDIR)\module.$(SRCSUFF)
62448488 578
a1b82138 579$(MSWDIR)\mstream.obj: $(COMMDIR)\mstream.$(SRCSUFF)
62448488 580
8fb3a512 581$(MSWDIR)\object.obj: $(COMMDIR)\object.$(SRCSUFF)
62448488 582
8fb3a512 583$(MSWDIR)\objstrm.obj: $(COMMDIR)\objstrm.$(SRCSUFF)
62448488 584
a1b82138 585$(MSWDIR)\paper.obj: $(COMMDIR)\paper.$(SRCSUFF)
62448488 586
a1b82138 587$(MSWDIR)\prntbase.obj: $(COMMDIR)\prntbase.$(SRCSUFF)
7bcb11d3 588
a1b82138 589$(MSWDIR)\resource.obj: $(COMMDIR)\resource.$(SRCSUFF)
62448488 590
ae8f5769
VZ
591$(MSWDIR)\serbase.obj: $(COMMDIR)\serbase.$(SRCSUFF)
592
e2a1679e
VZ
593$(MSWDIR)\sizer.obj: $(COMMDIR)\sizer.$(SRCSUFF)
594
77671fd2
VZ
595$(MSWDIR)\strconv.obj: $(COMMDIR)\strconv.$(SRCSUFF)
596
a1b82138 597$(MSWDIR)\stream.obj: $(COMMDIR)\stream.$(SRCSUFF)
62448488 598
a1b82138 599$(MSWDIR)\string.obj: $(COMMDIR)\string.$(SRCSUFF)
62448488 600
a1b82138 601$(MSWDIR)\tbarbase.obj: $(COMMDIR)\tbarbase.$(SRCSUFF)
62448488 602
9b73db3c
VZ
603$(MSWDIR)\textcmn.obj: $(COMMDIR)\textcmn.$(SRCSUFF)
604
a1b82138 605$(MSWDIR)\textfile.obj: $(COMMDIR)\textfile.$(SRCSUFF)
62448488 606
a1b82138 607$(MSWDIR)\timercmn.obj: $(COMMDIR)\timercmn.$(SRCSUFF)
62448488 608
a1b82138 609$(MSWDIR)\tokenzr.obj: $(COMMDIR)\tokenzr.$(SRCSUFF)
62448488 610
a1b82138 611$(MSWDIR)\txtstrm.obj: $(COMMDIR)\txtstrm.$(SRCSUFF)
62448488 612
9b73db3c 613$(MSWDIR)\unzip.obj: $(COMMDIR)\unzip.c
62448488 614
a1b82138 615$(MSWDIR)\utilscmn.obj: $(COMMDIR)\utilscmn.$(SRCSUFF)
c50f1fb9 616
a1b82138 617$(MSWDIR)\valgen.obj: $(COMMDIR)\valgen.$(SRCSUFF)
62448488 618
a1b82138 619$(MSWDIR)\validate.obj: $(COMMDIR)\validate.$(SRCSUFF)
62448488 620
a1b82138 621$(MSWDIR)\valtext.obj: $(COMMDIR)\valtext.$(SRCSUFF)
62448488 622
a1b82138 623$(MSWDIR)\variant.obj: $(COMMDIR)\variant.$(SRCSUFF)
62448488 624
a1b82138 625$(MSWDIR)\wfstream.obj: $(COMMDIR)\wfstream.$(SRCSUFF)
62448488 626
a1b82138 627$(MSWDIR)\wincmn.obj: $(COMMDIR)\wincmn.$(SRCSUFF)
62448488 628
a1b82138 629$(MSWDIR)\wxchar.obj: $(COMMDIR)\wxchar.$(SRCSUFF)
62448488 630
a1b82138 631$(MSWDIR)\wxexpr.obj: $(COMMDIR)\wxexpr.$(SRCSUFF)
62448488 632
77671fd2 633$(MSWDIR)\zipstrm.obj: $(COMMDIR)\zipstrm.$(SRCSUFF)
62448488 634
a1b82138
VZ
635$(MSWDIR)\zstream.obj: $(COMMDIR)\zstream.$(SRCSUFF)
636
8fb3a512 637${MSWDIR}\resourc2.obj: ${COMMDIR}\resourc2.$(SRCSUFF)
f3dbd876 638
572eed55
VZ
639
640
62448488
JS
641########################################################
642# Generic objects (not always compiled, depending on
643# whether platforms have native implementations)
644
a1b82138 645$(MSWDIR)\busyinfo.obj: $(GENDIR)\busyinfo.$(SRCSUFF)
62448488 646
9d9b7755
VZ
647$(MSWDIR)\calctrl.obj: $(GENDIR)\calctrl.$(SRCSUFF)
648
a1b82138 649$(MSWDIR)\choicdgg.obj: $(GENDIR)\choicdgg.$(SRCSUFF)
62448488 650
a1b82138 651$(MSWDIR)\dirdlgg.obj: $(GENDIR)\dirdlgg.$(SRCSUFF)
62448488 652
68be9f09
JS
653$(MSWDIR)\dragimgg.obj: $(GENDIR)\dragimgg.$(SRCSUFF)
654
f85afd4e 655$(MSWDIR)\grid.obj: $(GENDIR)\grid.$(SRCSUFF)
62448488 656
a1b82138 657$(MSWDIR)\imaglist.obj: $(GENDIR)\imaglist.$(SRCSUFF)
62448488 658
a1b82138 659$(MSWDIR)\laywin.obj: $(GENDIR)\laywin.$(SRCSUFF)
62448488 660
a1b82138 661$(MSWDIR)\listctrl.obj: $(GENDIR)\listctrl.$(SRCSUFF)
62448488 662
dd85fc6b
VZ
663$(MSWDIR)\logg.obj: $(GENDIR)\logg.$(SRCSUFF)
664
a1b82138 665$(MSWDIR)\notebook.obj: $(GENDIR)\notebook.$(SRCSUFF)
62448488 666
9be9b974
RD
667$(MSWDIR)\numdlgg.obj: $(GENDIR)\numdlgg.$(SRCSUFF)
668
a1b82138 669$(MSWDIR)\panelg.obj: $(GENDIR)\panelg.$(SRCSUFF)
e90babdf 670
5d541a03
VS
671$(MSWDIR)\plot.obj: $(GENDIR)\plot.$(SRCSUFF)
672
a1b82138 673$(MSWDIR)\progdlgg.obj: $(GENDIR)\progdlgg.$(SRCSUFF)
e3a43801 674
a1b82138 675$(MSWDIR)\prop.obj: $(GENDIR)\prop.$(SRCSUFF)
e3a43801 676
a1b82138 677$(MSWDIR)\propform.obj: $(GENDIR)\propform.$(SRCSUFF)
e3a43801 678
a1b82138 679$(MSWDIR)\proplist.obj: $(GENDIR)\proplist.$(SRCSUFF)
62448488 680
a1b82138 681$(MSWDIR)\sashwin.obj: $(GENDIR)\sashwin.$(SRCSUFF)
62448488 682
a1b82138 683$(MSWDIR)\scrolwin.obj: $(GENDIR)\scrolwin.$(SRCSUFF)
62448488 684
a1b82138 685$(MSWDIR)\splitter.obj: $(GENDIR)\splitter.$(SRCSUFF)
62448488 686
a1b82138 687$(MSWDIR)\statusbr.obj: $(GENDIR)\statusbr.$(SRCSUFF)
62448488 688
a1b82138 689$(MSWDIR)\tabg.obj: $(GENDIR)\tabg.$(SRCSUFF)
c50f1fb9 690
bf84b0be
VZ
691$(MSWDIR)\tbarsmpl.obj: $(GENDIR)\tbarsmpl.$(SRCSUFF)
692
a1b82138 693$(MSWDIR)\textdlgg.obj: $(GENDIR)\textdlgg.$(SRCSUFF)
62448488 694
a1b82138 695$(MSWDIR)\tipdlg.obj: $(GENDIR)\tipdlg.$(SRCSUFF)
62448488 696
a1b82138 697$(MSWDIR)\treectrl.obj: $(GENDIR)\treectrl.$(SRCSUFF)
62448488 698
babc9758
JS
699$(MSWDIR)\treelay.obj: $(GENDIR)\treelay.$(SRCSUFF)
700
e8ac7bf2
RD
701$(MSWDIR)\wizard.obj: $(GENDIR)\wizard.$(SRCSUFF)
702
62448488 703
62448488
JS
704
705all_utils:
706 cd $(WXDIR)\utils
c7f49969 707 make -f makefile.bcc
2bda0e17
KB
708 cd $(WXDIR)\src\msw
709
62448488
JS
710all_samples:
711 cd $(WXDIR)\samples
c7f49969 712 make -f makefile.bcc
2bda0e17
KB
713 cd $(WXDIR)\src\msw
714
62448488
JS
715all_execs:
716 cd $(WXDIR)\utils
c7f49969 717 make -f makefile.bcc all_execs
2bda0e17
KB
718 cd $(WXDIR)\src\msw
719
62448488 720all_libs:
2bda0e17 721 cd $(WXDIR)\src\msw
5ae4432e 722 make -f makefile.bcc dib fafa gauge hytext itsy prologio rcparser wx wxgraph\
62448488 723 wxstring wxtree mfutils # wxxpm
2bda0e17 724
62448488 725all_contribs:
2bda0e17 726 cd $(WXDIR)\src\msw
5ae4432e 727 make -f makefile.bcc fafa wxstring itsy gauge # wxxpm
62448488
JS
728
729# CONTRIB
62448488
JS
730wxxpm: $(CFG)
731 cd $(WXDIR)\src\xpm
c7f49969 732 make -f makefile.bcc -DCFG=$(CFG) -DFINAL=$(FINAL) -DWXWIN=$(WXDIR) -DDEBUG=$(DEBUG)
62448488
JS
733 cd $(WXDIR)\src\msw
734
735png: $(CFG)
736 cd $(WXDIR)\src\png
9be9b974 737 make -f makefile.bcc
62448488
JS
738 cd $(WXDIR)\src\msw
739
740clean_png:
741 cd $(WXDIR)\src\png
c7f49969 742 make -f makefile.bcc clean
62448488
JS
743 cd $(WXDIR)\src\msw
744
745zlib: $(CFG)
746 cd $(WXDIR)\src\zlib
c7f49969 747 make -f makefile.bcc
62448488
JS
748 cd $(WXDIR)\src\msw
749
750clean_zlib:
751 cd $(WXDIR)\src\zlib
c7f49969 752 make -f makefile.bcc clean
62448488
JS
753 cd $(WXDIR)\src\msw
754
755$(CFG): makefile.bcc
756 copy &&!
757-H=$(WXDIR)\src\msw\borland.pch
758-2
759-P
760-d
761-w-hid
762-w-par
763-w-pia
764-w-aus
765-w-rch
766-ml
767-Od
768-WE
769-Fs-
770-Vf
771-Ff=4
4d85bcd1 772-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm
62448488
JS
773-I$(WXDIR)\include\wx\msw\gnuwin32
774-L$(BCCDIR)\lib
775-D__WXWIN__
776-D__WXMSW__
777-D__WINDOWS__
778-D__WIN16__
779! $(CFG)
780!if "$(BOR_VER)" == "3.1"
781 echo -Ff=4 >>$(CFG)
782!elif "$(BOR_VER)" == "4"
783 echo -Ff=512 >>$(CFG)
784 echo -dc >>$(CFG)
785!else
786 echo -Ff=512 >>$(CFG)
787 echo -dc >>$(CFG)
788!endif
789
790# -O was: -Oxt
2bda0e17
KB
791
792clean: $(PERIPH_CLEAN_TARGET)
793 erase $(LIBTARGET)
2bda0e17 794 erase *.obj
62448488
JS
795 erase *.pch
796 erase *.csm
797 erase *.cfg
798 erase ..\common\y_tab.c
799 erase ..\common\lex_yy.c
2bda0e17
KB
800
801cleanall: clean
62448488
JS
802
803
9be9b974 804MFTYPE=bcc
1b9315eb
JS
805# Can't use this or we'll have to distribute all tmake files with wxWindows
806#makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
807
808self:
8ec2b484
HH
809 cd $(WXWIN)\distrib\msw\tmake
810 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
811 copy makefile.$(MFTYPE) $(WXWIN)\src\msw