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