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