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)1
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"
60 !if "$(UNICODE)" == "1"
63 !if "$(WXUNIV)" == "1"
66 !if "$(SHARED)" == "1"
69 !if "$(SHARED)" == "0"
72 !if "$(SHARED)" == "1"
75 !if "$(MONOLITHIC)" == "0"
78 !if "$(MONOLITHIC)" == "1"
81 !if "$(WXUNIV)" == "1"
82 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
84 !if "$(DEBUG_FLAG)" == "0"
85 __DEBUG_DEFINE_p_1 = -dwxDEBUG_LEVEL=0
87 !if "$(USE_EXCEPTIONS)" == "0"
88 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
90 !if "$(USE_RTTI)" == "0"
91 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
93 !if "$(USE_THREADS)" == "0"
94 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
96 !if "$(UNICODE)" == "0"
97 __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0
99 !if "$(UNICODE)" == "1"
100 __UNICODE_DEFINE_p_1 = -d_UNICODE
103 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
105 !if "$(USE_GDIPLUS)" == "1"
106 __GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1
108 !if "$(SHARED)" == "1"
109 __DLLFLAG_p = -DWXUSINGDLL
111 !if "$(SHARED)" == "1"
112 __DLLFLAG_p_1 = -dWXUSINGDLL
114 !if "$(SHARED)" == "1"
115 __renddll___depname = \
116 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.dll
118 !if "$(BUILD)" == "debug"
121 !if "$(BUILD)" == "release"
124 !if "$(USE_THREADS)" == "0"
127 !if "$(USE_THREADS)" == "1"
130 !if "$(USE_THREADS)" == "0"
133 !if "$(USE_THREADS)" == "1"
134 __THREADSFLAG_0 = -tWM
136 !if "$(RUNTIME_LIBS)" == "dynamic"
137 __RUNTIME_LIBS = -tWR
139 !if "$(RUNTIME_LIBS)" == "static"
142 !if "$(RUNTIME_LIBS)" == "dynamic"
145 !if "$(RUNTIME_LIBS)" == "static"
148 !if "$(WXUNIV)" == "1"
149 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
151 !if "$(DEBUG_FLAG)" == "0"
152 __DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
154 !if "$(USE_EXCEPTIONS)" == "0"
155 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
157 !if "$(USE_RTTI)" == "0"
158 __RTTI_DEFINE_p = -DwxNO_RTTI
160 !if "$(USE_THREADS)" == "0"
161 __THREAD_DEFINE_p = -DwxNO_THREADS
163 !if "$(UNICODE)" == "0"
164 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
166 !if "$(UNICODE)" == "1"
167 __UNICODE_DEFINE_p = -D_UNICODE
170 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
172 !if "$(USE_GDIPLUS)" == "1"
173 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
175 !if "$(MONOLITHIC)" == "0"
177 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
179 !if "$(MONOLITHIC)" == "0"
181 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
183 !if "$(MONOLITHIC)" == "1"
185 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
187 !if "$(USE_GUI)" == "1"
188 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
190 !if "$(USE_GUI)" == "1"
191 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
193 !if "$(USE_GUI)" == "1"
194 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
197 __UNICOWS_LIB_p = unicows.lib
199 !if "$(USE_GDIPLUS)" == "1"
200 __GDIPLUS_LIB_p = gdiplus.lib
202 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
205 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
208 !if "$(DEBUG_INFO)" == "0"
211 !if "$(DEBUG_INFO)" == "1"
218 -if not exist $(OBJS) mkdir $(OBJS)
222 all: $(OBJS)\render.exe $(__renddll___depname)
225 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
226 -if exist $(OBJS)\*.res del $(OBJS)\*.res
227 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
228 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
229 -if exist $(OBJS)\render.tds del $(OBJS)\render.tds
230 -if exist $(OBJS)\render.ilc del $(OBJS)\render.ilc
231 -if exist $(OBJS)\render.ild del $(OBJS)\render.ild
232 -if exist $(OBJS)\render.ilf del $(OBJS)\render.ilf
233 -if exist $(OBJS)\render.ils del $(OBJS)\render.ils
234 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.dll
235 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.tds del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.tds
236 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.ilc del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.ilc
237 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.ild del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.ild
238 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.ilf del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.ilf
239 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.ils del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.ils
241 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
242 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(LDFLAGS) @&&|
243 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
246 !if "$(SHARED)" == "1"
247 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.dll: $(RENDDLL_OBJECTS)
248 ilink32 -Tpd -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) $(LDFLAGS) @&&|
249 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,,
253 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
254 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
256 $(OBJS)\render_render.obj: .\render.cpp
257 $(CXX) -q -c -P -o$@ $(RENDER_CXXFLAGS) .\render.cpp
259 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
260 $(CXX) -q -c -P -o$@ $(RENDDLL_CXXFLAGS) .\renddll.cpp