]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.2.3 (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_filectrl.obj \ | |
48 | $(OBJS)\widgets_filepicker.obj \ | |
49 | $(OBJS)\widgets_fontpicker.obj \ | |
50 | $(OBJS)\widgets_gauge.obj \ | |
51 | $(OBJS)\widgets_hyperlnk.obj \ | |
52 | $(OBJS)\widgets_itemcontainer.obj \ | |
53 | $(OBJS)\widgets_listbox.obj \ | |
54 | $(OBJS)\widgets_notebook.obj \ | |
55 | $(OBJS)\widgets_odcombobox.obj \ | |
56 | $(OBJS)\widgets_radiobox.obj \ | |
57 | $(OBJS)\widgets_searchctrl.obj \ | |
58 | $(OBJS)\widgets_slider.obj \ | |
59 | $(OBJS)\widgets_spinbtn.obj \ | |
60 | $(OBJS)\widgets_static.obj \ | |
61 | $(OBJS)\widgets_statbmp.obj \ | |
62 | $(OBJS)\widgets_textctrl.obj \ | |
63 | $(OBJS)\widgets_toggle.obj \ | |
64 | $(OBJS)\widgets_widgets.obj | |
65 | ||
66 | ### Conditionally set variables: ### | |
67 | ||
68 | !if "$(USE_GUI)" == "0" | |
69 | PORTNAME = base | |
70 | !endif | |
71 | !if "$(USE_GUI)" == "1" | |
72 | PORTNAME = msw | |
73 | !endif | |
74 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
75 | WXDEBUGFLAG = d | |
76 | !endif | |
77 | !if "$(DEBUG_FLAG)" == "1" | |
78 | WXDEBUGFLAG = d | |
79 | !endif | |
80 | !if "$(UNICODE)" == "1" | |
81 | WXUNICODEFLAG = u | |
82 | !endif | |
83 | !if "$(WXUNIV)" == "1" | |
84 | WXUNIVNAME = univ | |
85 | !endif | |
86 | !if "$(SHARED)" == "1" | |
87 | WXDLLFLAG = dll | |
88 | !endif | |
89 | !if "$(SHARED)" == "0" | |
90 | LIBTYPE_SUFFIX = lib | |
91 | !endif | |
92 | !if "$(SHARED)" == "1" | |
93 | LIBTYPE_SUFFIX = dll | |
94 | !endif | |
95 | !if "$(MONOLITHIC)" == "0" | |
96 | EXTRALIBS_FOR_BASE = | |
97 | !endif | |
98 | !if "$(MONOLITHIC)" == "1" | |
99 | EXTRALIBS_FOR_BASE = | |
100 | !endif | |
101 | !if "$(BUILD)" == "debug" | |
102 | __OPTIMIZEFLAG_2 = -Od | |
103 | !endif | |
104 | !if "$(BUILD)" == "release" | |
105 | __OPTIMIZEFLAG_2 = -O2 | |
106 | !endif | |
107 | !if "$(USE_THREADS)" == "0" | |
108 | __THREADSFLAG_5 = | |
109 | !endif | |
110 | !if "$(USE_THREADS)" == "1" | |
111 | __THREADSFLAG_5 = mt | |
112 | !endif | |
113 | !if "$(USE_THREADS)" == "0" | |
114 | __THREADSFLAG_6 = | |
115 | !endif | |
116 | !if "$(USE_THREADS)" == "1" | |
117 | __THREADSFLAG_6 = -tWM | |
118 | !endif | |
119 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
120 | __RUNTIME_LIBS_7 = -tWR | |
121 | !endif | |
122 | !if "$(RUNTIME_LIBS)" == "static" | |
123 | __RUNTIME_LIBS_7 = | |
124 | !endif | |
125 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
126 | __RUNTIME_LIBS_8 = i | |
127 | !endif | |
128 | !if "$(RUNTIME_LIBS)" == "static" | |
129 | __RUNTIME_LIBS_8 = | |
130 | !endif | |
131 | !if "$(WXUNIV)" == "1" | |
132 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
133 | !endif | |
134 | !if "$(WXUNIV)" == "1" | |
135 | __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__ | |
136 | !endif | |
137 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
138 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
139 | !endif | |
140 | !if "$(DEBUG_FLAG)" == "1" | |
141 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
142 | !endif | |
143 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
144 | __DEBUG_DEFINE_p_1 = -d__WXDEBUG__ | |
145 | !endif | |
146 | !if "$(DEBUG_FLAG)" == "1" | |
147 | __DEBUG_DEFINE_p_1 = -d__WXDEBUG__ | |
148 | !endif | |
149 | !if "$(USE_EXCEPTIONS)" == "0" | |
150 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
151 | !endif | |
152 | !if "$(USE_EXCEPTIONS)" == "0" | |
153 | __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS | |
154 | !endif | |
155 | !if "$(USE_RTTI)" == "0" | |
156 | __RTTI_DEFINE_p = -DwxNO_RTTI | |
157 | !endif | |
158 | !if "$(USE_RTTI)" == "0" | |
159 | __RTTI_DEFINE_p_1 = -dwxNO_RTTI | |
160 | !endif | |
161 | !if "$(USE_THREADS)" == "0" | |
162 | __THREAD_DEFINE_p = -DwxNO_THREADS | |
163 | !endif | |
164 | !if "$(USE_THREADS)" == "0" | |
165 | __THREAD_DEFINE_p_1 = -dwxNO_THREADS | |
166 | !endif | |
167 | !if "$(UNICODE)" == "0" | |
168 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0 | |
169 | !endif | |
170 | !if "$(UNICODE)" == "1" | |
171 | __UNICODE_DEFINE_p = -D_UNICODE | |
172 | !endif | |
173 | !if "$(UNICODE)" == "0" | |
174 | __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0 | |
175 | !endif | |
176 | !if "$(UNICODE)" == "1" | |
177 | __UNICODE_DEFINE_p_1 = -d_UNICODE | |
178 | !endif | |
179 | !if "$(MSLU)" == "1" | |
180 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 | |
181 | !endif | |
182 | !if "$(MSLU)" == "1" | |
183 | __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1 | |
184 | !endif | |
185 | !if "$(USE_GDIPLUS)" == "1" | |
186 | __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1 | |
187 | !endif | |
188 | !if "$(USE_GDIPLUS)" == "1" | |
189 | __GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1 | |
190 | !endif | |
191 | !if "$(SHARED)" == "1" | |
192 | __DLLFLAG_p = -DWXUSINGDLL | |
193 | !endif | |
194 | !if "$(SHARED)" == "1" | |
195 | __DLLFLAG_p_1 = -dWXUSINGDLL | |
196 | !endif | |
197 | !if "$(MONOLITHIC)" == "0" | |
198 | __WXLIB_XML_p = \ | |
199 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib | |
200 | !endif | |
201 | !if "$(MONOLITHIC)" == "0" | |
202 | __WXLIB_ADV_p = \ | |
203 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib | |
204 | !endif | |
205 | !if "$(MONOLITHIC)" == "0" | |
206 | __WXLIB_HTML_p = \ | |
207 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib | |
208 | !endif | |
209 | !if "$(MONOLITHIC)" == "0" | |
210 | __WXLIB_CORE_p = \ | |
211 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib | |
212 | !endif | |
213 | !if "$(MONOLITHIC)" == "0" | |
214 | __WXLIB_BASE_p = \ | |
215 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
216 | !endif | |
217 | !if "$(MONOLITHIC)" == "1" | |
218 | __WXLIB_MONO_p = \ | |
219 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
220 | !endif | |
221 | !if "$(USE_GUI)" == "1" | |
222 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
223 | !endif | |
224 | !if "$(USE_GUI)" == "1" | |
225 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
226 | !endif | |
227 | !if "$(USE_GUI)" == "1" | |
228 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
229 | !endif | |
230 | !if "$(MSLU)" == "1" | |
231 | __UNICOWS_LIB_p = unicows.lib | |
232 | !endif | |
233 | !if "$(USE_GDIPLUS)" == "1" | |
234 | __GDIPLUS_LIB_p = gdiplus.lib | |
235 | !endif | |
236 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
237 | __DEBUGINFO = -v | |
238 | !endif | |
239 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
240 | __DEBUGINFO = -v- | |
241 | !endif | |
242 | !if "$(DEBUG_INFO)" == "0" | |
243 | __DEBUGINFO = -v- | |
244 | !endif | |
245 | !if "$(DEBUG_INFO)" == "1" | |
246 | __DEBUGINFO = -v | |
247 | !endif | |
248 | ||
249 | ||
250 | all: $(OBJS) | |
251 | $(OBJS): | |
252 | -if not exist $(OBJS) mkdir $(OBJS) | |
253 | ||
254 | ### Targets: ### | |
255 | ||
256 | all: $(OBJS)\widgets.exe | |
257 | ||
258 | clean: | |
259 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
260 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
261 | -if exist $(OBJS)\*.csm del $(OBJS)\*.csm | |
262 | -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe | |
263 | -if exist $(OBJS)\widgets.tds del $(OBJS)\widgets.tds | |
264 | -if exist $(OBJS)\widgets.ilc del $(OBJS)\widgets.ilc | |
265 | -if exist $(OBJS)\widgets.ild del $(OBJS)\widgets.ild | |
266 | -if exist $(OBJS)\widgets.ilf del $(OBJS)\widgets.ilf | |
267 | -if exist $(OBJS)\widgets.ils del $(OBJS)\widgets.ils | |
268 | ||
269 | $(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_sample.res | |
270 | ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&| | |
271 | c0w32.obj $(WIDGETS_OBJECTS),$@,, $(__WXLIB_XML_p) $(__WXLIB_ADV_p) $(__WXLIB_HTML_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 | |
272 | | | |
273 | ||
274 | $(OBJS)\widgets_bmpcombobox.obj: .\bmpcombobox.cpp | |
275 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\bmpcombobox.cpp | |
276 | ||
277 | $(OBJS)\widgets_button.obj: .\button.cpp | |
278 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\button.cpp | |
279 | ||
280 | $(OBJS)\widgets_checkbox.obj: .\checkbox.cpp | |
281 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\checkbox.cpp | |
282 | ||
283 | $(OBJS)\widgets_choice.obj: .\choice.cpp | |
284 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\choice.cpp | |
285 | ||
286 | $(OBJS)\widgets_clrpicker.obj: .\clrpicker.cpp | |
287 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\clrpicker.cpp | |
288 | ||
289 | $(OBJS)\widgets_combobox.obj: .\combobox.cpp | |
290 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\combobox.cpp | |
291 | ||
292 | $(OBJS)\widgets_datepick.obj: .\datepick.cpp | |
293 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\datepick.cpp | |
294 | ||
295 | $(OBJS)\widgets_dirctrl.obj: .\dirctrl.cpp | |
296 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\dirctrl.cpp | |
297 | ||
298 | $(OBJS)\widgets_dirpicker.obj: .\dirpicker.cpp | |
299 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\dirpicker.cpp | |
300 | ||
301 | $(OBJS)\widgets_filectrl.obj: .\filectrl.cpp | |
302 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\filectrl.cpp | |
303 | ||
304 | $(OBJS)\widgets_filepicker.obj: .\filepicker.cpp | |
305 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\filepicker.cpp | |
306 | ||
307 | $(OBJS)\widgets_fontpicker.obj: .\fontpicker.cpp | |
308 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\fontpicker.cpp | |
309 | ||
310 | $(OBJS)\widgets_gauge.obj: .\gauge.cpp | |
311 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\gauge.cpp | |
312 | ||
313 | $(OBJS)\widgets_hyperlnk.obj: .\hyperlnk.cpp | |
314 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\hyperlnk.cpp | |
315 | ||
316 | $(OBJS)\widgets_itemcontainer.obj: .\itemcontainer.cpp | |
317 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\itemcontainer.cpp | |
318 | ||
319 | $(OBJS)\widgets_listbox.obj: .\listbox.cpp | |
320 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\listbox.cpp | |
321 | ||
322 | $(OBJS)\widgets_notebook.obj: .\notebook.cpp | |
323 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\notebook.cpp | |
324 | ||
325 | $(OBJS)\widgets_odcombobox.obj: .\odcombobox.cpp | |
326 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\odcombobox.cpp | |
327 | ||
328 | $(OBJS)\widgets_radiobox.obj: .\radiobox.cpp | |
329 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\radiobox.cpp | |
330 | ||
331 | $(OBJS)\widgets_searchctrl.obj: .\searchctrl.cpp | |
332 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\searchctrl.cpp | |
333 | ||
334 | $(OBJS)\widgets_slider.obj: .\slider.cpp | |
335 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\slider.cpp | |
336 | ||
337 | $(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp | |
338 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\spinbtn.cpp | |
339 | ||
340 | $(OBJS)\widgets_static.obj: .\static.cpp | |
341 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\static.cpp | |
342 | ||
343 | $(OBJS)\widgets_statbmp.obj: .\statbmp.cpp | |
344 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\statbmp.cpp | |
345 | ||
346 | $(OBJS)\widgets_textctrl.obj: .\textctrl.cpp | |
347 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\textctrl.cpp | |
348 | ||
349 | $(OBJS)\widgets_toggle.obj: .\toggle.cpp | |
350 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\toggle.cpp | |
351 | ||
352 | $(OBJS)\widgets_widgets.obj: .\widgets.cpp | |
353 | $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\widgets.cpp | |
354 | ||
355 | $(OBJS)\widgets_sample.res: .\..\sample.rc | |
356 | 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 | |
357 |