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