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