1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.9 (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)2
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) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
35 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
36 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \
37 $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -I.\..\..\samples \
38 -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
40 $(OBJS)\render_render.obj
41 RENDDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
42 $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
43 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
44 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
45 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \
46 $(____CAIRO_INCLUDEDIR_FILENAMES) -DWXUSINGDLL $(CPPFLAGS) $(CXXFLAGS)
48 $(OBJS)\renddll_renddll.obj
50 ### Conditionally set variables: ###
52 !if "$(USE_GUI)" == "0"
55 !if "$(USE_GUI)" == "1"
58 !if "$(BUILD)" == "debug"
61 !if "$(UNICODE)" == "1"
64 !if "$(WXUNIV)" == "1"
67 !if "$(SHARED)" == "1"
70 !if "$(SHARED)" == "0"
73 !if "$(SHARED)" == "1"
76 !if "$(MONOLITHIC)" == "0"
79 !if "$(MONOLITHIC)" == "1"
82 !if "$(WXUNIV)" == "1"
83 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
85 !if "$(DEBUG_FLAG)" == "0"
86 __DEBUG_DEFINE_p_1 = -dwxDEBUG_LEVEL=0
88 !if "$(BUILD)" == "release"
89 __NDEBUG_DEFINE_p_1 = -dNDEBUG
91 !if "$(USE_EXCEPTIONS)" == "0"
92 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
94 !if "$(USE_RTTI)" == "0"
95 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
97 !if "$(USE_THREADS)" == "0"
98 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
100 !if "$(UNICODE)" == "0"
101 __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0
103 !if "$(UNICODE)" == "1"
104 __UNICODE_DEFINE_p_1 = -d_UNICODE
107 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
109 !if "$(USE_CAIRO)" == "1"
110 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = -i$(CAIRO_ROOT)\include\cairo
112 !if "$(SHARED)" == "1"
113 __DLLFLAG_p = -DWXUSINGDLL
115 !if "$(SHARED)" == "1"
116 __DLLFLAG_p_1 = -dWXUSINGDLL
118 !if "$(SHARED)" == "1"
119 __renddll___depname = \
120 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.dll
122 !if "$(BUILD)" == "debug"
125 !if "$(BUILD)" == "release"
128 !if "$(USE_THREADS)" == "0"
131 !if "$(USE_THREADS)" == "1"
134 !if "$(USE_THREADS)" == "0"
137 !if "$(USE_THREADS)" == "1"
138 __THREADSFLAG_0 = -tWM
140 !if "$(RUNTIME_LIBS)" == "dynamic"
141 __RUNTIME_LIBS = -tWR
143 !if "$(RUNTIME_LIBS)" == "static"
146 !if "$(RUNTIME_LIBS)" == "dynamic"
149 !if "$(RUNTIME_LIBS)" == "static"
152 !if "$(WXUNIV)" == "1"
153 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
155 !if "$(DEBUG_FLAG)" == "0"
156 __DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
158 !if "$(BUILD)" == "release"
159 __NDEBUG_DEFINE_p = -DNDEBUG
161 !if "$(USE_EXCEPTIONS)" == "0"
162 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
164 !if "$(USE_RTTI)" == "0"
165 __RTTI_DEFINE_p = -DwxNO_RTTI
167 !if "$(USE_THREADS)" == "0"
168 __THREAD_DEFINE_p = -DwxNO_THREADS
170 !if "$(UNICODE)" == "0"
171 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
173 !if "$(UNICODE)" == "1"
174 __UNICODE_DEFINE_p = -D_UNICODE
177 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
179 !if "$(USE_CAIRO)" == "1"
180 ____CAIRO_INCLUDEDIR_FILENAMES = -I$(CAIRO_ROOT)\include\cairo
182 !if "$(MONOLITHIC)" == "0"
184 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
186 !if "$(MONOLITHIC)" == "0"
188 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
190 !if "$(MONOLITHIC)" == "1"
192 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
194 !if "$(USE_GUI)" == "1"
195 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
197 !if "$(USE_GUI)" == "1"
198 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
200 !if "$(USE_GUI)" == "1"
201 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
204 __UNICOWS_LIB_p = unicows.lib
206 !if "$(USE_CAIRO)" == "1"
207 __CAIRO_LIB_p = cairo.lib
209 !if "$(USE_CAIRO)" == "1"
210 ____CAIRO_LIBDIR_FILENAMES = -L$(CAIRO_ROOT)\lib
212 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
215 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
218 !if "$(DEBUG_INFO)" == "0"
221 !if "$(DEBUG_INFO)" == "1"
228 -if not exist $(OBJS) mkdir $(OBJS)
232 all: $(OBJS)\render.exe $(__renddll___depname)
235 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
236 -if exist $(OBJS)\*.res del $(OBJS)\*.res
237 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
238 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
239 -if exist $(OBJS)\render.tds del $(OBJS)\render.tds
240 -if exist $(OBJS)\render.ilc del $(OBJS)\render.ilc
241 -if exist $(OBJS)\render.ild del $(OBJS)\render.ild
242 -if exist $(OBJS)\render.ilf del $(OBJS)\render.ilf
243 -if exist $(OBJS)\render.ils del $(OBJS)\render.ils
244 -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
245 -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
246 -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
247 -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
248 -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
249 -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
251 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
252 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|
253 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) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, $(OBJS)\render_sample.res
256 !if "$(SHARED)" == "1"
257 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_bcc.dll: $(RENDDLL_OBJECTS)
258 ilink32 -Tpd -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|
259 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) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,,
263 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
264 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
266 $(OBJS)\render_render.obj: .\render.cpp
267 $(CXX) -q -c -P -o$@ $(RENDER_CXXFLAGS) .\render.cpp
269 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
270 $(CXX) -q -c -P -o$@ $(RENDDLL_CXXFLAGS) .\renddll.cpp