1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (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) -I.\..\..\include -I$(SETUPHDIR) \
34 -I. $(__DLLFLAG_p) -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
36 $(OBJS)\render_render.obj
37 RENDDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
38 $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
39 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
40 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) \
41 -DWXUSINGDLL $(CPPFLAGS) $(CXXFLAGS)
43 $(OBJS)\renddll_renddll.obj
45 ### Conditionally set variables: ###
47 !if "$(USE_GUI)" == "0"
50 !if "$(USE_GUI)" == "1"
53 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
56 !if "$(DEBUG_FLAG)" == "1"
59 !if "$(UNICODE)" == "1"
62 !if "$(WXUNIV)" == "1"
65 !if "$(SHARED)" == "1"
68 !if "$(SHARED)" == "0"
71 !if "$(SHARED)" == "1"
74 !if "$(MONOLITHIC)" == "0"
77 !if "$(MONOLITHIC)" == "1"
80 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0"
83 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1"
86 !if "$(BUILD)" == "release" && "$(UNICODE)" == "0"
89 !if "$(BUILD)" == "release" && "$(UNICODE)" == "1"
92 !if "$(WXUNIV)" == "1"
93 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
95 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
96 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
98 !if "$(DEBUG_FLAG)" == "1"
99 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
101 !if "$(USE_EXCEPTIONS)" == "0"
102 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
104 !if "$(USE_RTTI)" == "0"
105 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
107 !if "$(USE_THREADS)" == "0"
108 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
110 !if "$(UNICODE)" == "1"
111 __UNICODE_DEFINE_p_1 = -d_UNICODE
113 !if "$(SHARED)" == "1"
114 __DLLFLAG_p = -DWXUSINGDLL
116 !if "$(SHARED)" == "1"
117 __DLLFLAG_p_1 = -dWXUSINGDLL
119 !if "$(SHARED)" == "1"
120 __renddll___depname = \
121 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.dll
123 !if "$(BUILD)" == "debug"
126 !if "$(BUILD)" == "release"
129 !if "$(USE_THREADS)" == "0"
132 !if "$(USE_THREADS)" == "1"
135 !if "$(USE_THREADS)" == "0"
138 !if "$(USE_THREADS)" == "1"
139 __THREADSFLAG_0 = -tWM
141 !if "$(RUNTIME_LIBS)" == "dynamic"
142 __RUNTIME_LIBS = -tWR
144 !if "$(RUNTIME_LIBS)" == "static"
147 !if "$(RUNTIME_LIBS)" == "dynamic"
150 !if "$(RUNTIME_LIBS)" == "static"
153 !if "$(WXUNIV)" == "1"
154 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
156 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
157 __DEBUG_DEFINE_p = -D__WXDEBUG__
159 !if "$(DEBUG_FLAG)" == "1"
160 __DEBUG_DEFINE_p = -D__WXDEBUG__
162 !if "$(USE_EXCEPTIONS)" == "0"
163 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
165 !if "$(USE_RTTI)" == "0"
166 __RTTI_DEFINE_p = -DwxNO_RTTI
168 !if "$(USE_THREADS)" == "0"
169 __THREAD_DEFINE_p = -DwxNO_THREADS
171 !if "$(UNICODE)" == "1"
172 __UNICODE_DEFINE_p = -D_UNICODE
174 !if "$(MONOLITHIC)" == "0"
176 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
178 !if "$(MONOLITHIC)" == "0"
180 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
182 !if "$(MONOLITHIC)" == "1"
184 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
186 !if "$(USE_GUI)" == "1"
187 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
189 !if "$(USE_GUI)" == "1"
190 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
192 !if "$(USE_GUI)" == "1"
193 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
196 __UNICOWS_LIB_p = unicows.lib
198 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
201 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
204 !if "$(DEBUG_INFO)" == "0"
207 !if "$(DEBUG_INFO)" == "1"
214 -if not exist $(OBJS) mkdir $(OBJS)
218 all: $(OBJS)\render.exe $(__renddll___depname)
221 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
222 -if exist $(OBJS)\*.res del $(OBJS)\*.res
223 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
224 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
225 -if exist $(OBJS)\render.tds del $(OBJS)\render.tds
226 -if exist $(OBJS)\render.ilc del $(OBJS)\render.ilc
227 -if exist $(OBJS)\render.ild del $(OBJS)\render.ild
228 -if exist $(OBJS)\render.ilf del $(OBJS)\render.ilf
229 -if exist $(OBJS)\render.ils del $(OBJS)\render.ils
230 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.dll
231 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.tds del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.tds
232 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ilc del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ilc
233 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ild del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ild
234 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ilf del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ilf
235 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ils del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.ils
237 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
238 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
239 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
242 !if "$(SHARED)" == "1"
243 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_bcc.dll: $(RENDDLL_OBJECTS)
244 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
245 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,,
249 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
250 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) -i.\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_1) -i.\..\..\samples $**
252 $(OBJS)\render_render.obj: .\render.cpp
253 $(CXX) -q -c -P -o$@ $(RENDER_CXXFLAGS) $**
255 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
256 $(CXX) -q -c -P -o$@ $(RENDDLL_CXXFLAGS) $**