1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.6 (http://www.bakefile.org)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
13 BCCDIR = $(MAKEDIR)\..
16 !include ../../build/msw/config.bcc
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
25 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
28 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
29 LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
31 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
32 RENDER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
33 $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
34 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
35 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
36 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -I. $(__DLLFLAG_p) \
37 -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
39 $(OBJS)\render_render.obj
40 RENDDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
41 $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
42 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
43 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
44 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -DWXUSINGDLL \
45 $(CPPFLAGS) $(CXXFLAGS)
47 $(OBJS)\renddll_renddll.obj
49 ### Conditionally set variables: ###
51 !if "$(USE_GUI)" == "0"
54 !if "$(USE_GUI)" == "1"
57 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
60 !if "$(DEBUG_FLAG)" == "1"
63 !if "$(UNICODE)" == "1"
66 !if "$(WXUNIV)" == "1"
69 !if "$(SHARED)" == "1"
72 !if "$(SHARED)" == "0"
75 !if "$(SHARED)" == "1"
78 !if "$(MONOLITHIC)" == "0"
81 !if "$(MONOLITHIC)" == "1"
84 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0"
87 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1"
90 !if "$(BUILD)" == "release" && "$(UNICODE)" == "0"
93 !if "$(BUILD)" == "release" && "$(UNICODE)" == "1"
96 !if "$(WXUNIV)" == "1"
97 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
99 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
100 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
102 !if "$(DEBUG_FLAG)" == "1"
103 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
105 !if "$(USE_EXCEPTIONS)" == "0"
106 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
108 !if "$(USE_RTTI)" == "0"
109 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
111 !if "$(USE_THREADS)" == "0"
112 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
114 !if "$(UNICODE)" == "0"
115 __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0
117 !if "$(UNICODE)" == "1"
118 __UNICODE_DEFINE_p_1 = -d_UNICODE
121 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
123 !if "$(USE_GDIPLUS)" == "1"
124 __GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1
126 !if "$(SHARED)" == "1"
127 __DLLFLAG_p = -DWXUSINGDLL
129 !if "$(SHARED)" == "1"
130 __DLLFLAG_p_1 = -dWXUSINGDLL
132 !if "$(SHARED)" == "1"
133 __renddll___depname = \
134 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.dll
136 !if "$(BUILD)" == "debug"
139 !if "$(BUILD)" == "release"
142 !if "$(USE_THREADS)" == "0"
145 !if "$(USE_THREADS)" == "1"
148 !if "$(USE_THREADS)" == "0"
151 !if "$(USE_THREADS)" == "1"
152 __THREADSFLAG_0 = -tWM
154 !if "$(RUNTIME_LIBS)" == "dynamic"
155 __RUNTIME_LIBS = -tWR
157 !if "$(RUNTIME_LIBS)" == "static"
160 !if "$(RUNTIME_LIBS)" == "dynamic"
163 !if "$(RUNTIME_LIBS)" == "static"
166 !if "$(WXUNIV)" == "1"
167 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
169 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
170 __DEBUG_DEFINE_p = -D__WXDEBUG__
172 !if "$(DEBUG_FLAG)" == "1"
173 __DEBUG_DEFINE_p = -D__WXDEBUG__
175 !if "$(USE_EXCEPTIONS)" == "0"
176 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
178 !if "$(USE_RTTI)" == "0"
179 __RTTI_DEFINE_p = -DwxNO_RTTI
181 !if "$(USE_THREADS)" == "0"
182 __THREAD_DEFINE_p = -DwxNO_THREADS
184 !if "$(UNICODE)" == "0"
185 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
187 !if "$(UNICODE)" == "1"
188 __UNICODE_DEFINE_p = -D_UNICODE
191 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
193 !if "$(USE_GDIPLUS)" == "1"
194 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
196 !if "$(MONOLITHIC)" == "0"
198 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
200 !if "$(MONOLITHIC)" == "0"
202 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
204 !if "$(MONOLITHIC)" == "1"
206 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
208 !if "$(USE_GUI)" == "1"
209 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
211 !if "$(USE_GUI)" == "1"
212 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
214 !if "$(USE_GUI)" == "1"
215 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
218 __UNICOWS_LIB_p = unicows.lib
220 !if "$(USE_GDIPLUS)" == "1"
221 __GDIPLUS_LIB_p = gdiplus.lib
223 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
226 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
229 !if "$(DEBUG_INFO)" == "0"
232 !if "$(DEBUG_INFO)" == "1"
239 -if not exist $(OBJS) mkdir $(OBJS)
243 all: $(OBJS)\render.exe $(__renddll___depname)
246 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
247 -if exist $(OBJS)\*.res del $(OBJS)\*.res
248 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
249 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
250 -if exist $(OBJS)\render.tds del $(OBJS)\render.tds
251 -if exist $(OBJS)\render.ilc del $(OBJS)\render.ilc
252 -if exist $(OBJS)\render.ild del $(OBJS)\render.ild
253 -if exist $(OBJS)\render.ilf del $(OBJS)\render.ilf
254 -if exist $(OBJS)\render.ils del $(OBJS)\render.ils
255 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.dll
256 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.tds del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.tds
257 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ilc del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ilc
258 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ild del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ild
259 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ilf del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ilf
260 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ils del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.ils
262 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
263 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(LDFLAGS) @&&|
264 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) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, $(OBJS)\render_sample.res
267 !if "$(SHARED)" == "1"
268 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_bcc.dll: $(RENDDLL_OBJECTS)
269 ilink32 -Tpd -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) $(LDFLAGS) @&&|
270 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) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,,
274 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
275 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 .\..\..\samples\sample.rc
277 $(OBJS)\render_render.obj: .\render.cpp
278 $(CXX) -q -c -P -o$@ $(RENDER_CXXFLAGS) .\render.cpp
280 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
281 $(CXX) -q -c -P -o$@ $(RENDDLL_CXXFLAGS) .\renddll.cpp