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