]> git.saurik.com Git - wxWidgets.git/blob - samples/render/makefile.bcc
corrected logic in wxQTMediaEvtHandler::OnEraseBackground(): only erase it if there...
[wxWidgets.git] / samples / render / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (http://bakefile.sourceforge.net)
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 = 26
25 OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 LIBDIRNAME = .\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
28 SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 RENDER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
33 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
34 -I.\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -I.\..\..\samples -DNOPCH \
35 $(CPPFLAGS) $(CXXFLAGS)
36 RENDER_OBJECTS = \
37 $(OBJS)\render_render.obj
38 RENDDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
39 $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
40 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
41 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
42 -I.\..\..\include -I$(SETUPHDIR) -DWXUSINGDLL $(CPPFLAGS) $(CXXFLAGS)
43 RENDDLL_OBJECTS = \
44 $(OBJS)\renddll_renddll.obj
45
46 ### Conditionally set variables: ###
47
48 !if "$(USE_GUI)" == "0"
49 PORTNAME = base
50 !endif
51 !if "$(USE_GUI)" == "1"
52 PORTNAME = msw
53 !endif
54 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
55 WXDEBUGFLAG = d
56 !endif
57 !if "$(DEBUG_FLAG)" == "1"
58 WXDEBUGFLAG = d
59 !endif
60 !if "$(UNICODE)" == "1"
61 WXUNICODEFLAG = u
62 !endif
63 !if "$(WXUNIV)" == "1"
64 WXUNIVNAME = univ
65 !endif
66 !if "$(SHARED)" == "1"
67 WXDLLFLAG = dll
68 !endif
69 !if "$(SHARED)" == "0"
70 LIBTYPE_SUFFIX = lib
71 !endif
72 !if "$(SHARED)" == "1"
73 LIBTYPE_SUFFIX = dll
74 !endif
75 !if "$(MONOLITHIC)" == "0"
76 EXTRALIBS_FOR_BASE =
77 !endif
78 !if "$(MONOLITHIC)" == "1"
79 EXTRALIBS_FOR_BASE =
80 !endif
81 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0"
82 PLUGINSUFFIX = d
83 !endif
84 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1"
85 PLUGINSUFFIX = ud
86 !endif
87 !if "$(BUILD)" == "release" && "$(UNICODE)" == "0"
88 PLUGINSUFFIX =
89 !endif
90 !if "$(BUILD)" == "release" && "$(UNICODE)" == "1"
91 PLUGINSUFFIX = u
92 !endif
93 !if "$(WXUNIV)" == "1"
94 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
95 !endif
96 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
97 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
98 !endif
99 !if "$(DEBUG_FLAG)" == "1"
100 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
101 !endif
102 !if "$(USE_EXCEPTIONS)" == "0"
103 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
104 !endif
105 !if "$(USE_RTTI)" == "0"
106 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
107 !endif
108 !if "$(USE_THREADS)" == "0"
109 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
110 !endif
111 !if "$(UNICODE)" == "1"
112 __UNICODE_DEFINE_p_1 = -d_UNICODE
113 !endif
114 !if "$(MSLU)" == "1"
115 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
116 !endif
117 !if "$(SHARED)" == "1"
118 __DLLFLAG_p = -DWXUSINGDLL
119 !endif
120 !if "$(SHARED)" == "1"
121 __DLLFLAG_p_1 = -dWXUSINGDLL
122 !endif
123 !if "$(SHARED)" == "1"
124 __renddll___depname = \
125 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.dll
126 !endif
127 !if "$(BUILD)" == "debug"
128 __OPTIMIZEFLAG = -Od
129 !endif
130 !if "$(BUILD)" == "release"
131 __OPTIMIZEFLAG = -O2
132 !endif
133 !if "$(USE_THREADS)" == "0"
134 __THREADSFLAG =
135 !endif
136 !if "$(USE_THREADS)" == "1"
137 __THREADSFLAG = mt
138 !endif
139 !if "$(USE_THREADS)" == "0"
140 __THREADSFLAG_0 =
141 !endif
142 !if "$(USE_THREADS)" == "1"
143 __THREADSFLAG_0 = -tWM
144 !endif
145 !if "$(RUNTIME_LIBS)" == "dynamic"
146 __RUNTIME_LIBS = -tWR
147 !endif
148 !if "$(RUNTIME_LIBS)" == "static"
149 __RUNTIME_LIBS =
150 !endif
151 !if "$(RUNTIME_LIBS)" == "dynamic"
152 __RUNTIME_LIBS_0 = i
153 !endif
154 !if "$(RUNTIME_LIBS)" == "static"
155 __RUNTIME_LIBS_0 =
156 !endif
157 !if "$(WXUNIV)" == "1"
158 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
159 !endif
160 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
161 __DEBUG_DEFINE_p = -D__WXDEBUG__
162 !endif
163 !if "$(DEBUG_FLAG)" == "1"
164 __DEBUG_DEFINE_p = -D__WXDEBUG__
165 !endif
166 !if "$(USE_EXCEPTIONS)" == "0"
167 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
168 !endif
169 !if "$(USE_RTTI)" == "0"
170 __RTTI_DEFINE_p = -DwxNO_RTTI
171 !endif
172 !if "$(USE_THREADS)" == "0"
173 __THREAD_DEFINE_p = -DwxNO_THREADS
174 !endif
175 !if "$(UNICODE)" == "1"
176 __UNICODE_DEFINE_p = -D_UNICODE
177 !endif
178 !if "$(MSLU)" == "1"
179 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
180 !endif
181 !if "$(MONOLITHIC)" == "0"
182 __WXLIB_CORE_p = \
183 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
184 !endif
185 !if "$(MONOLITHIC)" == "0"
186 __WXLIB_BASE_p = \
187 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
188 !endif
189 !if "$(MONOLITHIC)" == "1"
190 __WXLIB_MONO_p = \
191 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
192 !endif
193 !if "$(USE_GUI)" == "1"
194 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
195 !endif
196 !if "$(USE_GUI)" == "1"
197 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
198 !endif
199 !if "$(USE_GUI)" == "1"
200 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
201 !endif
202 !if "$(MSLU)" == "1"
203 __UNICOWS_LIB_p = unicows.lib
204 !endif
205 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
206 __DEBUGINFO = -v
207 !endif
208 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
209 __DEBUGINFO = -v-
210 !endif
211 !if "$(DEBUG_INFO)" == "0"
212 __DEBUGINFO = -v-
213 !endif
214 !if "$(DEBUG_INFO)" == "1"
215 __DEBUGINFO = -v
216 !endif
217
218
219 all: $(OBJS)
220 $(OBJS):
221 -if not exist $(OBJS) mkdir $(OBJS)
222
223 ### Targets: ###
224
225 all: $(OBJS)\render.exe $(__renddll___depname)
226
227 clean:
228 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
229 -if exist $(OBJS)\*.res del $(OBJS)\*.res
230 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
231 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
232 -if exist $(OBJS)\render.tds del $(OBJS)\render.tds
233 -if exist $(OBJS)\render.ilc del $(OBJS)\render.ilc
234 -if exist $(OBJS)\render.ild del $(OBJS)\render.ild
235 -if exist $(OBJS)\render.ilf del $(OBJS)\render.ilf
236 -if exist $(OBJS)\render.ils del $(OBJS)\render.ils
237 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.dll
238 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.tds del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.tds
239 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ilc del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ilc
240 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ild del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ild
241 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ilf del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ilf
242 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ils del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ils
243
244 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
245 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
246 c0w32.obj $(RENDER_OBJECTS),$@,, $(__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) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, $(OBJS)\render_sample.res
247 |
248
249 !if "$(SHARED)" == "1"
250 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.dll: $(RENDDLL_OBJECTS)
251 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
252 c0d32.obj $(RENDDLL_OBJECTS),$@,, $(__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) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,,
253 |
254 !endif
255
256 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
257 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) -i.\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_1) -i.\..\..\samples $**
258
259 $(OBJS)\render_render.obj: .\render.cpp
260 $(CXX) -q -c -P -o$@ $(RENDER_CXXFLAGS) $**
261
262 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
263 $(CXX) -q -c -P -o$@ $(RENDDLL_CXXFLAGS) $**
264