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 # =========================================================================
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 # -------------------------------------------------------------------------
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 LIBDIRNAME = .\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
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)
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)
44 $(OBJS)\renddll_renddll.obj
46 ### Conditionally set variables: ###
48 !if "$(USE_GUI)" == "0"
51 !if "$(USE_GUI)" == "1"
54 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
57 !if "$(DEBUG_FLAG)" == "1"
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 "$(BUILD)" == "debug" && "$(UNICODE)" == "0"
84 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1"
87 !if "$(BUILD)" == "release" && "$(UNICODE)" == "0"
90 !if "$(BUILD)" == "release" && "$(UNICODE)" == "1"
93 !if "$(WXUNIV)" == "1"
94 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
96 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
97 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
99 !if "$(DEBUG_FLAG)" == "1"
100 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
102 !if "$(USE_EXCEPTIONS)" == "0"
103 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
105 !if "$(USE_RTTI)" == "0"
106 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
108 !if "$(USE_THREADS)" == "0"
109 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
111 !if "$(UNICODE)" == "1"
112 __UNICODE_DEFINE_p_1 = -d_UNICODE
115 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
117 !if "$(SHARED)" == "1"
118 __DLLFLAG_p = -DWXUSINGDLL
120 !if "$(SHARED)" == "1"
121 __DLLFLAG_p_1 = -dWXUSINGDLL
123 !if "$(SHARED)" == "1"
124 __renddll___depname = \
125 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.dll
127 !if "$(BUILD)" == "debug"
130 !if "$(BUILD)" == "release"
133 !if "$(USE_THREADS)" == "0"
136 !if "$(USE_THREADS)" == "1"
139 !if "$(USE_THREADS)" == "0"
142 !if "$(USE_THREADS)" == "1"
143 __THREADSFLAG_0 = -tWM
145 !if "$(RUNTIME_LIBS)" == "dynamic"
146 __RUNTIME_LIBS = -tWR
148 !if "$(RUNTIME_LIBS)" == "static"
151 !if "$(RUNTIME_LIBS)" == "dynamic"
154 !if "$(RUNTIME_LIBS)" == "static"
157 !if "$(WXUNIV)" == "1"
158 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
160 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
161 __DEBUG_DEFINE_p = -D__WXDEBUG__
163 !if "$(DEBUG_FLAG)" == "1"
164 __DEBUG_DEFINE_p = -D__WXDEBUG__
166 !if "$(USE_EXCEPTIONS)" == "0"
167 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
169 !if "$(USE_RTTI)" == "0"
170 __RTTI_DEFINE_p = -DwxNO_RTTI
172 !if "$(USE_THREADS)" == "0"
173 __THREAD_DEFINE_p = -DwxNO_THREADS
175 !if "$(UNICODE)" == "1"
176 __UNICODE_DEFINE_p = -D_UNICODE
179 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
181 !if "$(MONOLITHIC)" == "0"
183 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
185 !if "$(MONOLITHIC)" == "0"
187 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
189 !if "$(MONOLITHIC)" == "1"
191 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
193 !if "$(USE_GUI)" == "1"
194 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
196 !if "$(USE_GUI)" == "1"
197 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
199 !if "$(USE_GUI)" == "1"
200 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
203 __UNICOWS_LIB_p = unicows.lib
205 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
208 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
211 !if "$(DEBUG_INFO)" == "0"
214 !if "$(DEBUG_INFO)" == "1"
221 -if not exist $(OBJS) mkdir $(OBJS)
225 all: $(OBJS)\render.exe $(__renddll___depname)
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
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
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,,
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 $**
259 $(OBJS)\render_render.obj: .\render.cpp
260 $(CXX) -q -c -P -o$@ $(RENDER_CXXFLAGS) $**
262 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
263 $(CXX) -q -c -P -o$@ $(RENDDLL_CXXFLAGS) $**