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