]>
Commit | Line | Data |
---|---|---|
78808897 VZ |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
3 | # Bakefile 0.2.7 (http://www.bakefile.org) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
6 | ||
7 | .autodepend | |
8 | ||
9 | !ifndef BCCDIR | |
10 | !ifndef MAKEDIR | |
11 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 | |
12 | !endif | |
13 | BCCDIR = $(MAKEDIR)\.. | |
14 | !endif | |
15 | ||
16 | !include ../../build/msw/config.bcc | |
17 | ||
18 | # ------------------------------------------------------------------------- | |
19 | # Do not modify the rest of this file! | |
20 | # ------------------------------------------------------------------------- | |
21 | ||
22 | ### Variables: ### | |
23 | ||
24 | WX_RELEASE_NODOT = 29 | |
25 | COMPILER_PREFIX = bcc | |
26 | OBJS = \ | |
27 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
28 | LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG) | |
29 | SETUPHDIR = \ | |
30 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
31 | WIDGETS_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \ | |
32 | $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_6) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
33 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
34 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ | |
35 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -I. $(__DLLFLAG_p) \ | |
36 | -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS) | |
37 | WIDGETS_OBJECTS = \ | |
38 | $(OBJS)\widgets_bmpcombobox.obj \ | |
39 | $(OBJS)\widgets_button.obj \ | |
40 | $(OBJS)\widgets_checkbox.obj \ | |
41 | $(OBJS)\widgets_choice.obj \ | |
42 | $(OBJS)\widgets_clrpicker.obj \ | |
43 | $(OBJS)\widgets_combobox.obj \ | |
44 | $(OBJS)\widgets_datepick.obj \ | |
45 | $(OBJS)\widgets_dirctrl.obj \ | |
46 | $(OBJS)\widgets_dirpicker.obj \ | |
47 | $(OBJS)\widgets_editlbox.obj \ | |
48 | $(OBJS)\widgets_filectrl.obj \ | |
49 | $(OBJS)\widgets_filepicker.obj \ | |
50 | $(OBJS)\widgets_fontpicker.obj \ | |
51 | $(OBJS)\widgets_gauge.obj \ | |
52 | $(OBJS)\widgets_hyperlnk.obj \ | |
53 | $(OBJS)\widgets_itemcontainer.obj \ | |
54 | $(OBJS)\widgets_listbox.obj \ | |
55 | $(OBJS)\widgets_notebook.obj \ | |
56 | $(OBJS)\widgets_odcombobox.obj \ | |
57 | $(OBJS)\widgets_radiobox.obj \ | |
58 | $(OBJS)\widgets_searchctrl.obj \ | |
59 | $(OBJS)\widgets_slider.obj \ | |
60 | $(OBJS)\widgets_spinbtn.obj \ | |
61 | $(OBJS)\widgets_static.obj \ | |
62 | $(OBJS)\widgets_statbmp.obj \ | |
63 | $(OBJS)\widgets_textctrl.obj \ | |
64 | $(OBJS)\widgets_toggle.obj \ | |
65 | $(OBJS)\widgets_widgets.obj | |
66 | ||
67 | ### Conditionally set variables: ### | |
68 | ||
69 | !if "$(USE_GUI)" == "0" | |
70 | PORTNAME = base | |
71 | !endif | |
72 | !if "$(USE_GUI)" == "1" | |
73 | PORTNAME = msw | |
74 | !endif | |
75 | !if "$(BUILD)" == "debug" | |
76 | WXDEBUGFLAG = d | |
77 | !endif | |
78 | !if "$(UNICODE)" == "1" | |
79 | WXUNICODEFLAG = u | |
80 | !endif | |
81 | !if "$(WXUNIV)" == "1" | |
82 | WXUNIVNAME = univ | |
83 | !endif | |
84 | !if "$(SHARED)" == "1" | |
85 | WXDLLFLAG = dll | |
86 | !endif | |
87 | !if "$(SHARED)" == "0" | |
88 | LIBTYPE_SUFFIX = lib | |
89 | !endif | |
90 | !if "$(SHARED)" == "1" | |
91 | LIBTYPE_SUFFIX = dll | |
92 | !endif | |
93 | !if "$(MONOLITHIC)" == "0" | |
94 | EXTRALIBS_FOR_BASE = | |
95 | !endif | |
96 | !if "$(MONOLITHIC)" == "1" | |
97 | EXTRALIBS_FOR_BASE = | |
98 | !endif | |
99 | !if "$(BUILD)" == "debug" | |
100 | __OPTIMIZEFLAG_2 = -Od | |
101 | !endif | |
102 | !if "$(BUILD)" == "release" | |
103 | __OPTIMIZEFLAG_2 = -O2 | |
104 | !endif | |
105 | !if "$(USE_THREADS)" == "0" | |
106 | __THREADSFLAG_5 = | |
107 | !endif | |
108 | !if "$(USE_THREADS)" == "1" | |
109 | __THREADSFLAG_5 = mt | |
110 | !endif | |
111 | !if "$(USE_THREADS)" == "0" | |
112 | __THREADSFLAG_6 = | |
113 | !endif | |
114 | !if "$(USE_THREADS)" == "1" | |
115 | __THREADSFLAG_6 = -tWM | |
116 | !endif | |
117 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
118 | __RUNTIME_LIBS_7 = -tWR | |
119 | !endif | |
120 | !if "$(RUNTIME_LIBS)" == "static" | |
121 | __RUNTIME_LIBS_7 = | |
122 | !endif | |
123 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
124 | __RUNTIME_LIBS_8 = i | |
125 | !endif | |
126 | !if "$(RUNTIME_LIBS)" == "static" | |
127 | __RUNTIME_LIBS_8 = | |
128 | !endif | |
129 | !if "$(WXUNIV)" == "1" | |
130 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
131 | !endif | |
132 | !if "$(WXUNIV)" == "1" | |
133 | __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__ | |
134 | !endif | |
135 | !if "$(DEBUG_FLAG)" == "0" | |
136 | __DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0 | |
137 | !endif | |
138 | !if "$(DEBUG_FLAG)" == "0" | |
139 | __DEBUG_DEFINE_p_1 = -dwxDEBUG_LEVEL=0 | |
140 | !endif | |
141 | !if "$(USE_EXCEPTIONS)" == "0" | |
142 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
143 | !endif | |
144 | !if "$(USE_EXCEPTIONS)" == "0" | |
145 | __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS | |
146 | !endif | |
147 | !if "$(USE_RTTI)" == "0" | |
148 | __RTTI_DEFINE_p = -DwxNO_RTTI | |
149 | !endif | |
150 | !if "$(USE_RTTI)" == "0" | |
151 | __RTTI_DEFINE_p_1 = -dwxNO_RTTI | |
152 | !endif | |
153 | !if "$(USE_THREADS)" == "0" | |
154 | __THREAD_DEFINE_p = -DwxNO_THREADS | |
155 | !endif | |
156 | !if "$(USE_THREADS)" == "0" | |
157 | __THREAD_DEFINE_p_1 = -dwxNO_THREADS | |
158 | !endif | |
159 | !if "$(UNICODE)" == "0" | |
160 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0 | |
161 | !endif | |
162 | !if "$(UNICODE)" == "1" | |
163 | __UNICODE_DEFINE_p = -D_UNICODE | |
164 | !endif | |
165 | !if "$(UNICODE)" == "0" | |
166 | __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0 | |
167 | !endif | |
168 | !if "$(UNICODE)" == "1" | |
169 | __UNICODE_DEFINE_p_1 = -d_UNICODE | |
170 | !endif | |
171 | !if "$(MSLU)" == "1" | |
172 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 | |
173 | !endif | |
174 | !if "$(MSLU)" == "1" | |
175 | __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1 | |
176 | !endif | |
177 | !if "$(USE_GDIPLUS)" == "1" | |
178 | __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1 | |
179 | !endif | |
180 | !if "$(USE_GDIPLUS)" == "1" | |
181 | __GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1 | |
182 | !endif | |
183 | !if "$(SHARED)" == "1" | |
184 | __DLLFLAG_p = -DWXUSINGDLL | |
185 | !endif | |
186 | !if "$(SHARED)" == "1" | |
187 | __DLLFLAG_p_1 = -dWXUSINGDLL | |
188 | !endif | |
189 | !if "$(MONOLITHIC)" == "0" | |
190 | __WXLIB_ADV_p = \ | |
191 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib | |
192 | !endif | |
193 | !if "$(MONOLITHIC)" == "0" | |
194 | __WXLIB_CORE_p = \ | |
195 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib | |
196 | !endif | |
197 | !if "$(MONOLITHIC)" == "0" | |
198 | __WXLIB_BASE_p = \ | |
199 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
200 | !endif | |
201 | !if "$(MONOLITHIC)" == "1" | |
202 | __WXLIB_MONO_p = \ | |
203 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
204 | !endif | |
205 | !if "$(USE_GUI)" == "1" | |
206 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
207 | !endif | |
208 | !if "$(USE_GUI)" == "1" | |
209 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
210 | !endif | |
211 | !if "$(USE_GUI)" == "1" | |
212 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
213 | !endif | |
214 | !if "$(MSLU)" == "1" | |
215 | __UNICOWS_LIB_p = unicows.lib | |
216 | !endif | |
217 | !if "$(USE_GDIPLUS)" == "1" | |
218 | __GDIPLUS_LIB_p = gdiplus.lib | |
219 | !endif | |
220 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
221 | __DEBUGINFO = -v | |
222 | !endif | |
223 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
224 | __DEBUGINFO = -v- | |
225 | !endif | |
226 | !if "$(DEBUG_INFO)" == "0" | |
227 | __DEBUGINFO = -v- | |
228 | !endif | |
229 | !if "$(DEBUG_INFO)" == "1" | |
230 | __DEBUGINFO = -v | |
231 | !endif | |
232 | ||
233 | ||
234 | all: $(OBJS) | |
235 | $(OBJS): | |
236 | -if not exist $(OBJS) mkdir $(OBJS) | |
237 | ||
238 | ### Targets: ### | |
239 | ||
240 | all: $(OBJS)\widgets.exe | |
241 | ||
242 | clean: | |
243 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
244 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
245 | -if exist $(OBJS)\*.csm del $(OBJS)\*.csm | |
246 | -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe | |
247 | -if exist $(OBJS)\widgets.tds del $(OBJS)\widgets.tds | |
248 | -if exist $(OBJS)\widgets.ilc del $(OBJS)\widgets.ilc | |
249 | -if exist $(OBJS)\widgets.ild del $(OBJS)\widgets.ild | |
250 | -if exist $(OBJS)\widgets.ilf del $(OBJS)\widgets.ilf | |
251 | -if exist $(OBJS)\widgets.ils del $(OBJS)\widgets.ils | |
252 | ||
253 | $(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_sample.res | |
254 | ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(LDFLAGS) @&&| | |
255 | c0w32.obj $(WIDGETS_OBJECTS),$@,, $(__WXLIB_ADV_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\widgets_sample.res | |
256 | | | |
257 | ||
258 | $(OBJS)\widgets_bmpcombobox.obj: .\bmpcombobox.cpp | |
259 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\bmpcombobox.cpp | |
260 | ||
261 | $(OBJS)\widgets_button.obj: .\button.cpp | |
262 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\button.cpp | |
263 | ||
264 | $(OBJS)\widgets_checkbox.obj: .\checkbox.cpp | |
265 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\checkbox.cpp | |
266 | ||
267 | $(OBJS)\widgets_choice.obj: .\choice.cpp | |
268 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\choice.cpp | |
269 | ||
270 | $(OBJS)\widgets_clrpicker.obj: .\clrpicker.cpp | |
271 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\clrpicker.cpp | |
272 | ||
273 | $(OBJS)\widgets_combobox.obj: .\combobox.cpp | |
274 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\combobox.cpp | |
275 | ||
276 | $(OBJS)\widgets_datepick.obj: .\datepick.cpp | |
277 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\datepick.cpp | |
278 | ||
279 | $(OBJS)\widgets_dirctrl.obj: .\dirctrl.cpp | |
280 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\dirctrl.cpp | |
281 | ||
282 | $(OBJS)\widgets_dirpicker.obj: .\dirpicker.cpp | |
283 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\dirpicker.cpp | |
284 | ||
285 | $(OBJS)\widgets_editlbox.obj: .\editlbox.cpp | |
286 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\editlbox.cpp | |
287 | ||
288 | $(OBJS)\widgets_filectrl.obj: .\filectrl.cpp | |
289 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\filectrl.cpp | |
290 | ||
291 | $(OBJS)\widgets_filepicker.obj: .\filepicker.cpp | |
292 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\filepicker.cpp | |
293 | ||
294 | $(OBJS)\widgets_fontpicker.obj: .\fontpicker.cpp | |
295 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\fontpicker.cpp | |
296 | ||
297 | $(OBJS)\widgets_gauge.obj: .\gauge.cpp | |
298 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\gauge.cpp | |
299 | ||
300 | $(OBJS)\widgets_hyperlnk.obj: .\hyperlnk.cpp | |
301 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\hyperlnk.cpp | |
302 | ||
303 | $(OBJS)\widgets_itemcontainer.obj: .\itemcontainer.cpp | |
304 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\itemcontainer.cpp | |
305 | ||
306 | $(OBJS)\widgets_listbox.obj: .\listbox.cpp | |
307 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\listbox.cpp | |
308 | ||
309 | $(OBJS)\widgets_notebook.obj: .\notebook.cpp | |
310 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\notebook.cpp | |
311 | ||
312 | $(OBJS)\widgets_odcombobox.obj: .\odcombobox.cpp | |
313 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\odcombobox.cpp | |
314 | ||
315 | $(OBJS)\widgets_radiobox.obj: .\radiobox.cpp | |
316 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\radiobox.cpp | |
317 | ||
318 | $(OBJS)\widgets_searchctrl.obj: .\searchctrl.cpp | |
319 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\searchctrl.cpp | |
320 | ||
321 | $(OBJS)\widgets_slider.obj: .\slider.cpp | |
322 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\slider.cpp | |
323 | ||
324 | $(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp | |
325 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\spinbtn.cpp | |
326 | ||
327 | $(OBJS)\widgets_static.obj: .\static.cpp | |
328 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\static.cpp | |
329 | ||
330 | $(OBJS)\widgets_statbmp.obj: .\statbmp.cpp | |
331 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\statbmp.cpp | |
332 | ||
333 | $(OBJS)\widgets_textctrl.obj: .\textctrl.cpp | |
334 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\textctrl.cpp | |
335 | ||
336 | $(OBJS)\widgets_toggle.obj: .\toggle.cpp | |
337 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\toggle.cpp | |
338 | ||
339 | $(OBJS)\widgets_widgets.obj: .\widgets.cpp | |
340 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\widgets.cpp | |
341 | ||
342 | $(OBJS)\widgets_sample.res: .\..\sample.rc | |
343 | brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\..\sample.rc | |
344 |