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