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