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