]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/render/makefile.bcc
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / samples / render / makefile.bcc
... / ...
CommitLineData
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
13BCCDIR = $(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
24WX_RELEASE_NODOT = 30\r
25COMPILER_PREFIX = bcc\r
26OBJS = \\r
27 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\r
28LIBDIRNAME = \\r
29 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(LIBTYPE_SUFFIX)$(CFG)\r
30SETUPHDIR = \\r
31 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
32RENDER_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) -I.\..\..\samples \\r
38 -DNOPCH $(CPPFLAGS) $(CXXFLAGS)\r
39RENDER_OBJECTS = \\r
40 $(OBJS)\render_render.obj\r
41RENDDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \\r
42 $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
43 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
44 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
45 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
46 $(____CAIRO_INCLUDEDIR_FILENAMES) -DWXUSINGDLL $(CPPFLAGS) $(CXXFLAGS)\r
47RENDDLL_OBJECTS = \\r
48 $(OBJS)\renddll_renddll.obj\r
49\r
50### Conditionally set variables: ###\r
51\r
52!if "$(USE_GUI)" == "0"\r
53PORTNAME = base\r
54!endif\r
55!if "$(USE_GUI)" == "1"\r
56PORTNAME = msw$(TOOLKIT_VERSION)\r
57!endif\r
58!if "$(OFFICIAL_BUILD)" == "1"\r
59COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD\r
60!endif\r
61!if "$(OFFICIAL_BUILD)" == "0"\r
62WXCOMPILER = _bcc\r
63!endif\r
64!if "$(OFFICIAL_BUILD)" == "1"\r
65WXCOMPILER = _bcc$(COMPILER_VERSION)\r
66!endif\r
67!if "$(BUILD)" == "debug"\r
68WXDEBUGFLAG = d\r
69!endif\r
70!if "$(UNICODE)" == "1"\r
71WXUNICODEFLAG = u\r
72!endif\r
73!if "$(WXUNIV)" == "1"\r
74WXUNIVNAME = univ\r
75!endif\r
76!if "$(SHARED)" == "1"\r
77WXDLLFLAG = dll\r
78!endif\r
79!if "$(SHARED)" == "0"\r
80LIBTYPE_SUFFIX = lib\r
81!endif\r
82!if "$(SHARED)" == "1"\r
83LIBTYPE_SUFFIX = dll\r
84!endif\r
85!if "$(MONOLITHIC)" == "0"\r
86EXTRALIBS_FOR_BASE = \r
87!endif\r
88!if "$(MONOLITHIC)" == "1"\r
89EXTRALIBS_FOR_BASE = \r
90!endif\r
91!if "$(WXUNIV)" == "1"\r
92__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__\r
93!endif\r
94!if "$(DEBUG_FLAG)" == "0"\r
95__DEBUG_DEFINE_p_1 = -dwxDEBUG_LEVEL=0\r
96!endif\r
97!if "$(BUILD)" == "release"\r
98__NDEBUG_DEFINE_p_1 = -dNDEBUG\r
99!endif\r
100!if "$(USE_EXCEPTIONS)" == "0"\r
101__EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS\r
102!endif\r
103!if "$(USE_RTTI)" == "0"\r
104__RTTI_DEFINE_p_1 = -dwxNO_RTTI\r
105!endif\r
106!if "$(USE_THREADS)" == "0"\r
107__THREAD_DEFINE_p_1 = -dwxNO_THREADS\r
108!endif\r
109!if "$(UNICODE)" == "0"\r
110__UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0\r
111!endif\r
112!if "$(UNICODE)" == "1"\r
113__UNICODE_DEFINE_p_1 = -d_UNICODE\r
114!endif\r
115!if "$(MSLU)" == "1"\r
116__MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1\r
117!endif\r
118!if "$(USE_CAIRO)" == "1"\r
119____CAIRO_INCLUDEDIR_FILENAMES_1_p = -i$(CAIRO_ROOT)\include\cairo\r
120!endif\r
121!if "$(SHARED)" == "1"\r
122__DLLFLAG_p = -DWXUSINGDLL\r
123!endif\r
124!if "$(SHARED)" == "1"\r
125__DLLFLAG_p_1 = -dWXUSINGDLL\r
126!endif\r
127!if "$(SHARED)" == "1"\r
128__renddll___depname = \\r
129 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).dll\r
130!endif\r
131!if "$(BUILD)" == "debug"\r
132__OPTIMIZEFLAG = -Od\r
133!endif\r
134!if "$(BUILD)" == "release"\r
135__OPTIMIZEFLAG = -O2\r
136!endif\r
137!if "$(USE_THREADS)" == "0"\r
138__THREADSFLAG = \r
139!endif\r
140!if "$(USE_THREADS)" == "1"\r
141__THREADSFLAG = mt\r
142!endif\r
143!if "$(USE_THREADS)" == "0"\r
144__THREADSFLAG_0 = \r
145!endif\r
146!if "$(USE_THREADS)" == "1"\r
147__THREADSFLAG_0 = -tWM\r
148!endif\r
149!if "$(RUNTIME_LIBS)" == "dynamic"\r
150__RUNTIME_LIBS = -tWR\r
151!endif\r
152!if "$(RUNTIME_LIBS)" == "static"\r
153__RUNTIME_LIBS = \r
154!endif\r
155!if "$(RUNTIME_LIBS)" == "dynamic"\r
156__RUNTIME_LIBS_0 = i\r
157!endif\r
158!if "$(RUNTIME_LIBS)" == "static"\r
159__RUNTIME_LIBS_0 = \r
160!endif\r
161!if "$(WXUNIV)" == "1"\r
162__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r
163!endif\r
164!if "$(DEBUG_FLAG)" == "0"\r
165__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r
166!endif\r
167!if "$(BUILD)" == "release"\r
168__NDEBUG_DEFINE_p = -DNDEBUG\r
169!endif\r
170!if "$(USE_EXCEPTIONS)" == "0"\r
171__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r
172!endif\r
173!if "$(USE_RTTI)" == "0"\r
174__RTTI_DEFINE_p = -DwxNO_RTTI\r
175!endif\r
176!if "$(USE_THREADS)" == "0"\r
177__THREAD_DEFINE_p = -DwxNO_THREADS\r
178!endif\r
179!if "$(UNICODE)" == "0"\r
180__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r
181!endif\r
182!if "$(UNICODE)" == "1"\r
183__UNICODE_DEFINE_p = -D_UNICODE\r
184!endif\r
185!if "$(MSLU)" == "1"\r
186__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r
187!endif\r
188!if "$(USE_CAIRO)" == "1"\r
189____CAIRO_INCLUDEDIR_FILENAMES = -I$(CAIRO_ROOT)\include\cairo\r
190!endif\r
191!if "$(MONOLITHIC)" == "0"\r
192__WXLIB_CORE_p = \\r
193 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r
194!endif\r
195!if "$(MONOLITHIC)" == "0"\r
196__WXLIB_BASE_p = \\r
197 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
198!endif\r
199!if "$(MONOLITHIC)" == "1"\r
200__WXLIB_MONO_p = \\r
201 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
202!endif\r
203!if "$(MONOLITHIC)" == "1" && "$(USE_STC)" == "1"\r
204__LIB_SCINTILLA_IF_MONO_p = wxscintilla$(WXDEBUGFLAG).lib\r
205!endif\r
206!if "$(USE_GUI)" == "1"\r
207__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r
208!endif\r
209!if "$(USE_GUI)" == "1"\r
210__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r
211!endif\r
212!if "$(USE_GUI)" == "1"\r
213__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r
214!endif\r
215!if "$(MSLU)" == "1"\r
216__UNICOWS_LIB_p = unicows.lib\r
217!endif\r
218!if "$(USE_CAIRO)" == "1"\r
219__CAIRO_LIB_p = cairo.lib\r
220!endif\r
221!if "$(USE_CAIRO)" == "1"\r
222____CAIRO_LIBDIR_FILENAMES = -L$(CAIRO_ROOT)\lib\r
223!endif\r
224!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
225__DEBUGINFO = -v\r
226!endif\r
227!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
228__DEBUGINFO = -v-\r
229!endif\r
230!if "$(DEBUG_INFO)" == "0"\r
231__DEBUGINFO = -v-\r
232!endif\r
233!if "$(DEBUG_INFO)" == "1"\r
234__DEBUGINFO = -v\r
235!endif\r
236\r
237\r
238all: $(OBJS)\r
239$(OBJS):\r
240 -if not exist $(OBJS) mkdir $(OBJS)\r
241\r
242### Targets: ###\r
243\r
244all: $(OBJS)\render.exe $(__renddll___depname)\r
245\r
246clean: \r
247 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
248 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
249 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm\r
250 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe\r
251 -if exist $(OBJS)\render.tds del $(OBJS)\render.tds\r
252 -if exist $(OBJS)\render.ilc del $(OBJS)\render.ilc\r
253 -if exist $(OBJS)\render.ild del $(OBJS)\render.ild\r
254 -if exist $(OBJS)\render.ilf del $(OBJS)\render.ilf\r
255 -if exist $(OBJS)\render.ils del $(OBJS)\render.ils\r
256 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).dll\r
257 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).tds del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).tds\r
258 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).ilc del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).ilc\r
259 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).ild del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).ild\r
260 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).ilf del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).ilf\r
261 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).ils del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).ils\r
262\r
263$(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res\r
264 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r
265 c0w32.obj $(RENDER_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)\render_sample.res\r
266|\r
267\r
268!if "$(SHARED)" == "1"\r
269$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).dll: $(RENDDLL_OBJECTS)\r
270 ilink32 -Tpd -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r
271 c0d32.obj $(RENDDLL_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,,\r
272|\r
273!endif\r
274\r
275$(OBJS)\render_sample.res: .\..\..\samples\sample.rc\r
276 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\..\..\samples\sample.rc\r
277\r
278$(OBJS)\render_render.obj: .\render.cpp\r
279 $(CXX) -q -c -P -o$@ $(RENDER_CXXFLAGS) .\render.cpp\r
280\r
281$(OBJS)\renddll_renddll.obj: .\renddll.cpp\r
282 $(CXX) -q -c -P -o$@ $(RENDDLL_CXXFLAGS) .\renddll.cpp\r
283\r