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