]>
Commit | Line | Data |
---|---|---|
1 | # =========================================================================\r | |
2 | # This makefile was generated by\r | |
3 | # Bakefile 0.2.9 (http://www.bakefile.org)\r | |
4 | # Do not modify, all changes will be overwritten!\r | |
5 | # =========================================================================\r | |
6 | \r | |
7 | .autodepend\r | |
8 | \r | |
9 | !ifndef BCCDIR\r | |
10 | !ifndef MAKEDIR\r | |
11 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4\r | |
12 | !endif\r | |
13 | BCCDIR = $(MAKEDIR)\..\r | |
14 | !endif\r | |
15 | \r | |
16 | !include ../../build/msw/config.bcc\r | |
17 | \r | |
18 | # -------------------------------------------------------------------------\r | |
19 | # Do not modify the rest of this file!\r | |
20 | # -------------------------------------------------------------------------\r | |
21 | \r | |
22 | ### Variables: ###\r | |
23 | \r | |
24 | WX_RELEASE_NODOT = 30\r | |
25 | COMPILER_PREFIX = bcc\r | |
26 | OBJS = \\r | |
27 | $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\r | |
28 | LIBDIRNAME = \\r | |
29 | .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(LIBTYPE_SUFFIX)$(CFG)\r | |
30 | SETUPHDIR = \\r | |
31 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r | |
32 | BENCH_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \\r | |
33 | $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r | |
34 | $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r | |
35 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r | |
36 | $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r | |
37 | $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \\r | |
38 | $(CPPFLAGS) $(CXXFLAGS)\r | |
39 | BENCH_OBJECTS = \\r | |
40 | $(OBJS)\bench_bench.obj \\r | |
41 | $(OBJS)\bench_datetime.obj \\r | |
42 | $(OBJS)\bench_htmlpars.obj \\r | |
43 | $(OBJS)\bench_htmltag.obj \\r | |
44 | $(OBJS)\bench_ipcclient.obj \\r | |
45 | $(OBJS)\bench_log.obj \\r | |
46 | $(OBJS)\bench_mbconv.obj \\r | |
47 | $(OBJS)\bench_strings.obj \\r | |
48 | $(OBJS)\bench_tls.obj \\r | |
49 | $(OBJS)\bench_printfbench.obj\r | |
50 | BENCH_GUI_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \\r | |
51 | $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r | |
52 | $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r | |
53 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r | |
54 | $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r | |
55 | $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -I.\..\..\samples \\r | |
56 | -DNOPCH $(CPPFLAGS) $(CXXFLAGS)\r | |
57 | BENCH_GUI_OBJECTS = \\r | |
58 | $(OBJS)\bench_gui_bench.obj \\r | |
59 | $(OBJS)\bench_gui_image.obj\r | |
60 | \r | |
61 | ### Conditionally set variables: ###\r | |
62 | \r | |
63 | !if "$(USE_GUI)" == "0"\r | |
64 | PORTNAME = base\r | |
65 | !endif\r | |
66 | !if "$(USE_GUI)" == "1"\r | |
67 | PORTNAME = msw$(TOOLKIT_VERSION)\r | |
68 | !endif\r | |
69 | !if "$(OFFICIAL_BUILD)" == "1"\r | |
70 | COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD\r | |
71 | !endif\r | |
72 | !if "$(BUILD)" == "debug"\r | |
73 | WXDEBUGFLAG = d\r | |
74 | !endif\r | |
75 | !if "$(UNICODE)" == "1"\r | |
76 | WXUNICODEFLAG = u\r | |
77 | !endif\r | |
78 | !if "$(WXUNIV)" == "1"\r | |
79 | WXUNIVNAME = univ\r | |
80 | !endif\r | |
81 | !if "$(SHARED)" == "1"\r | |
82 | WXDLLFLAG = dll\r | |
83 | !endif\r | |
84 | !if "$(SHARED)" == "0"\r | |
85 | LIBTYPE_SUFFIX = lib\r | |
86 | !endif\r | |
87 | !if "$(SHARED)" == "1"\r | |
88 | LIBTYPE_SUFFIX = dll\r | |
89 | !endif\r | |
90 | !if "$(MONOLITHIC)" == "0"\r | |
91 | EXTRALIBS_FOR_BASE = \r | |
92 | !endif\r | |
93 | !if "$(MONOLITHIC)" == "1"\r | |
94 | EXTRALIBS_FOR_BASE = \r | |
95 | !endif\r | |
96 | !if "$(MONOLITHIC)" == "0"\r | |
97 | __WXLIB_NET_p = \\r | |
98 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib\r | |
99 | !endif\r | |
100 | !if "$(MONOLITHIC)" == "1"\r | |
101 | __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)\r | |
102 | !endif\r | |
103 | !if "$(USE_GUI)" == "1"\r | |
104 | __bench_gui___depname = $(OBJS)\bench_gui.exe\r | |
105 | !endif\r | |
106 | !if "$(WXUNIV)" == "1"\r | |
107 | __WXUNIV_DEFINE_p_3 = -d__WXUNIVERSAL__\r | |
108 | !endif\r | |
109 | !if "$(DEBUG_FLAG)" == "0"\r | |
110 | __DEBUG_DEFINE_p_3 = -dwxDEBUG_LEVEL=0\r | |
111 | !endif\r | |
112 | !if "$(BUILD)" == "release"\r | |
113 | __NDEBUG_DEFINE_p_3 = -dNDEBUG\r | |
114 | !endif\r | |
115 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
116 | __EXCEPTIONS_DEFINE_p_3 = -dwxNO_EXCEPTIONS\r | |
117 | !endif\r | |
118 | !if "$(USE_RTTI)" == "0"\r | |
119 | __RTTI_DEFINE_p_3 = -dwxNO_RTTI\r | |
120 | !endif\r | |
121 | !if "$(USE_THREADS)" == "0"\r | |
122 | __THREAD_DEFINE_p_3 = -dwxNO_THREADS\r | |
123 | !endif\r | |
124 | !if "$(UNICODE)" == "0"\r | |
125 | __UNICODE_DEFINE_p_3 = -dwxUSE_UNICODE=0\r | |
126 | !endif\r | |
127 | !if "$(UNICODE)" == "1"\r | |
128 | __UNICODE_DEFINE_p_3 = -d_UNICODE\r | |
129 | !endif\r | |
130 | !if "$(MSLU)" == "1"\r | |
131 | __MSLU_DEFINE_p_3 = -dwxUSE_UNICODE_MSLU=1\r | |
132 | !endif\r | |
133 | !if "$(USE_CAIRO)" == "1"\r | |
134 | ____CAIRO_INCLUDEDIR_FILENAMES_3_p = -i$(CAIRO_ROOT)\include\cairo\r | |
135 | !endif\r | |
136 | !if "$(SHARED)" == "1"\r | |
137 | __DLLFLAG_p_3 = -dWXUSINGDLL\r | |
138 | !endif\r | |
139 | !if "$(MONOLITHIC)" == "0"\r | |
140 | __WXLIB_CORE_p = \\r | |
141 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r | |
142 | !endif\r | |
143 | !if "$(MONOLITHIC)" == "1" && "$(USE_STC)" == "1"\r | |
144 | __LIB_SCINTILLA_IF_MONO_p = wxscintilla$(WXDEBUGFLAG).lib\r | |
145 | !endif\r | |
146 | !if "$(USE_GUI)" == "1"\r | |
147 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r | |
148 | !endif\r | |
149 | !if "$(USE_GUI)" == "1"\r | |
150 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r | |
151 | !endif\r | |
152 | !if "$(BUILD)" == "debug"\r | |
153 | __OPTIMIZEFLAG = -Od\r | |
154 | !endif\r | |
155 | !if "$(BUILD)" == "release"\r | |
156 | __OPTIMIZEFLAG = -O2\r | |
157 | !endif\r | |
158 | !if "$(USE_THREADS)" == "0"\r | |
159 | __THREADSFLAG = \r | |
160 | !endif\r | |
161 | !if "$(USE_THREADS)" == "1"\r | |
162 | __THREADSFLAG = mt\r | |
163 | !endif\r | |
164 | !if "$(USE_THREADS)" == "0"\r | |
165 | __THREADSFLAG_0 = \r | |
166 | !endif\r | |
167 | !if "$(USE_THREADS)" == "1"\r | |
168 | __THREADSFLAG_0 = -tWM\r | |
169 | !endif\r | |
170 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
171 | __RUNTIME_LIBS = -tWR\r | |
172 | !endif\r | |
173 | !if "$(RUNTIME_LIBS)" == "static"\r | |
174 | __RUNTIME_LIBS = \r | |
175 | !endif\r | |
176 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
177 | __RUNTIME_LIBS_0 = i\r | |
178 | !endif\r | |
179 | !if "$(RUNTIME_LIBS)" == "static"\r | |
180 | __RUNTIME_LIBS_0 = \r | |
181 | !endif\r | |
182 | !if "$(WXUNIV)" == "1"\r | |
183 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r | |
184 | !endif\r | |
185 | !if "$(DEBUG_FLAG)" == "0"\r | |
186 | __DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r | |
187 | !endif\r | |
188 | !if "$(BUILD)" == "release"\r | |
189 | __NDEBUG_DEFINE_p = -DNDEBUG\r | |
190 | !endif\r | |
191 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
192 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r | |
193 | !endif\r | |
194 | !if "$(USE_RTTI)" == "0"\r | |
195 | __RTTI_DEFINE_p = -DwxNO_RTTI\r | |
196 | !endif\r | |
197 | !if "$(USE_THREADS)" == "0"\r | |
198 | __THREAD_DEFINE_p = -DwxNO_THREADS\r | |
199 | !endif\r | |
200 | !if "$(UNICODE)" == "0"\r | |
201 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r | |
202 | !endif\r | |
203 | !if "$(UNICODE)" == "1"\r | |
204 | __UNICODE_DEFINE_p = -D_UNICODE\r | |
205 | !endif\r | |
206 | !if "$(MSLU)" == "1"\r | |
207 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r | |
208 | !endif\r | |
209 | !if "$(USE_CAIRO)" == "1"\r | |
210 | ____CAIRO_INCLUDEDIR_FILENAMES = -I$(CAIRO_ROOT)\include\cairo\r | |
211 | !endif\r | |
212 | !if "$(SHARED)" == "1"\r | |
213 | __DLLFLAG_p = -DWXUSINGDLL\r | |
214 | !endif\r | |
215 | !if "$(MONOLITHIC)" == "0"\r | |
216 | __WXLIB_BASE_p = \\r | |
217 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
218 | !endif\r | |
219 | !if "$(MONOLITHIC)" == "1"\r | |
220 | __WXLIB_MONO_p = \\r | |
221 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
222 | !endif\r | |
223 | !if "$(USE_GUI)" == "1"\r | |
224 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r | |
225 | !endif\r | |
226 | !if "$(MSLU)" == "1"\r | |
227 | __UNICOWS_LIB_p = unicows.lib\r | |
228 | !endif\r | |
229 | !if "$(USE_CAIRO)" == "1"\r | |
230 | __CAIRO_LIB_p = cairo.lib\r | |
231 | !endif\r | |
232 | !if "$(USE_CAIRO)" == "1"\r | |
233 | ____CAIRO_LIBDIR_FILENAMES = -L$(CAIRO_ROOT)\lib\r | |
234 | !endif\r | |
235 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
236 | __DEBUGINFO = -v\r | |
237 | !endif\r | |
238 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
239 | __DEBUGINFO = -v-\r | |
240 | !endif\r | |
241 | !if "$(DEBUG_INFO)" == "0"\r | |
242 | __DEBUGINFO = -v-\r | |
243 | !endif\r | |
244 | !if "$(DEBUG_INFO)" == "1"\r | |
245 | __DEBUGINFO = -v\r | |
246 | !endif\r | |
247 | \r | |
248 | \r | |
249 | all: $(OBJS)\r | |
250 | $(OBJS):\r | |
251 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
252 | \r | |
253 | ### Targets: ###\r | |
254 | \r | |
255 | all: $(OBJS)\bench.exe data $(__bench_gui___depname) data-image\r | |
256 | \r | |
257 | clean: \r | |
258 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r | |
259 | -if exist $(OBJS)\*.res del $(OBJS)\*.res\r | |
260 | -if exist $(OBJS)\*.csm del $(OBJS)\*.csm\r | |
261 | -if exist $(OBJS)\bench.exe del $(OBJS)\bench.exe\r | |
262 | -if exist $(OBJS)\bench.tds del $(OBJS)\bench.tds\r | |
263 | -if exist $(OBJS)\bench.ilc del $(OBJS)\bench.ilc\r | |
264 | -if exist $(OBJS)\bench.ild del $(OBJS)\bench.ild\r | |
265 | -if exist $(OBJS)\bench.ilf del $(OBJS)\bench.ilf\r | |
266 | -if exist $(OBJS)\bench.ils del $(OBJS)\bench.ils\r | |
267 | -if exist $(OBJS)\bench_gui.exe del $(OBJS)\bench_gui.exe\r | |
268 | -if exist $(OBJS)\bench_gui.tds del $(OBJS)\bench_gui.tds\r | |
269 | -if exist $(OBJS)\bench_gui.ilc del $(OBJS)\bench_gui.ilc\r | |
270 | -if exist $(OBJS)\bench_gui.ild del $(OBJS)\bench_gui.ild\r | |
271 | -if exist $(OBJS)\bench_gui.ilf del $(OBJS)\bench_gui.ilf\r | |
272 | -if exist $(OBJS)\bench_gui.ils del $(OBJS)\bench_gui.ils\r | |
273 | \r | |
274 | $(OBJS)\bench.exe: $(BENCH_OBJECTS)\r | |
275 | ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r | |
276 | c0x32.obj $(BENCH_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,,\r | |
277 | |\r | |
278 | \r | |
279 | data: \r | |
280 | if not exist $(OBJS) mkdir $(OBJS)\r | |
281 | for %f in (htmltest.html) do if not exist $(OBJS)\%f copy .\%f $(OBJS)\r | |
282 | \r | |
283 | !if "$(USE_GUI)" == "1"\r | |
284 | $(OBJS)\bench_gui.exe: $(BENCH_GUI_OBJECTS) $(OBJS)\bench_gui_sample.res\r | |
285 | ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r | |
286 | c0x32.obj $(BENCH_GUI_OBJECTS),$@,, $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_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) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, $(OBJS)\bench_gui_sample.res\r | |
287 | |\r | |
288 | !endif\r | |
289 | \r | |
290 | data-image: \r | |
291 | if not exist $(OBJS) mkdir $(OBJS)\r | |
292 | for %f in (../../samples/image/horse.bmp ../../samples/image/horse.jpg ../../samples/image/horse.png ../../samples/image/horse.tif) do if not exist $(OBJS)\%f copy .\%f $(OBJS)\r | |
293 | \r | |
294 | $(OBJS)\bench_bench.obj: .\bench.cpp\r | |
295 | $(CXX) -q -c -P -o$@ $(BENCH_CXXFLAGS) .\bench.cpp\r | |
296 | \r | |
297 | $(OBJS)\bench_datetime.obj: .\datetime.cpp\r | |
298 | $(CXX) -q -c -P -o$@ $(BENCH_CXXFLAGS) .\datetime.cpp\r | |
299 | \r | |
300 | $(OBJS)\bench_htmlpars.obj: .\htmlparser\htmlpars.cpp\r | |
301 | $(CXX) -q -c -P -o$@ $(BENCH_CXXFLAGS) .\htmlparser\htmlpars.cpp\r | |
302 | \r | |
303 | $(OBJS)\bench_htmltag.obj: .\htmlparser\htmltag.cpp\r | |
304 | $(CXX) -q -c -P -o$@ $(BENCH_CXXFLAGS) .\htmlparser\htmltag.cpp\r | |
305 | \r | |
306 | $(OBJS)\bench_ipcclient.obj: .\ipcclient.cpp\r | |
307 | $(CXX) -q -c -P -o$@ $(BENCH_CXXFLAGS) .\ipcclient.cpp\r | |
308 | \r | |
309 | $(OBJS)\bench_log.obj: .\log.cpp\r | |
310 | $(CXX) -q -c -P -o$@ $(BENCH_CXXFLAGS) .\log.cpp\r | |
311 | \r | |
312 | $(OBJS)\bench_mbconv.obj: .\mbconv.cpp\r | |
313 | $(CXX) -q -c -P -o$@ $(BENCH_CXXFLAGS) .\mbconv.cpp\r | |
314 | \r | |
315 | $(OBJS)\bench_strings.obj: .\strings.cpp\r | |
316 | $(CXX) -q -c -P -o$@ $(BENCH_CXXFLAGS) .\strings.cpp\r | |
317 | \r | |
318 | $(OBJS)\bench_tls.obj: .\tls.cpp\r | |
319 | $(CXX) -q -c -P -o$@ $(BENCH_CXXFLAGS) .\tls.cpp\r | |
320 | \r | |
321 | $(OBJS)\bench_printfbench.obj: .\printfbench.cpp\r | |
322 | $(CXX) -q -c -P -o$@ $(BENCH_CXXFLAGS) .\printfbench.cpp\r | |
323 | \r | |
324 | $(OBJS)\bench_gui_sample.res: .\..\..\samples\sample.rc\r | |
325 | brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__NDEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) $(__MSLU_DEFINE_p_3) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_3_p) -i. $(__DLLFLAG_p_3) -i.\..\..\samples -dNOPCH .\..\..\samples\sample.rc\r | |
326 | \r | |
327 | $(OBJS)\bench_gui_bench.obj: .\bench.cpp\r | |
328 | $(CXX) -q -c -P -o$@ $(BENCH_GUI_CXXFLAGS) .\bench.cpp\r | |
329 | \r | |
330 | $(OBJS)\bench_gui_image.obj: .\image.cpp\r | |
331 | $(CXX) -q -c -P -o$@ $(BENCH_GUI_CXXFLAGS) .\image.cpp\r | |
332 | \r |