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