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