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 # =========================================================================
7 !include <../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = .\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 RENDER_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME) /DWIN32 \
22 $(__DEBUGINFO) /Fd$(OBJS)\render.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \
23 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
24 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
25 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \
26 /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG) \
27 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
29 $(OBJS)\render_sample.res \
30 $(OBJS)\render_render.obj
31 RENDDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_23)$(__DEBUGRUNTIME) /DWIN32 \
33 /Fd$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.pdb \
34 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
35 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
36 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
37 $(__MSLU_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) /W4 /DWXUSINGDLL \
38 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
40 $(OBJS)\renddll_renddll.obj
42 ### Conditionally set variables: ###
44 !if "$(USE_GUI)" == "0"
47 !if "$(USE_GUI)" == "1"
50 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
53 !if "$(DEBUG_FLAG)" == "1"
56 !if "$(UNICODE)" == "1"
59 !if "$(WXUNIV)" == "1"
62 !if "$(SHARED)" == "1"
65 !if "$(SHARED)" == "0"
68 !if "$(SHARED)" == "1"
71 !if "$(MONOLITHIC)" == "0"
74 !if "$(MONOLITHIC)" == "1"
77 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0"
80 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1"
83 !if "$(BUILD)" == "release" && "$(UNICODE)" == "0"
86 !if "$(BUILD)" == "release" && "$(UNICODE)" == "1"
89 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
90 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
92 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
93 ____DEBUGRUNTIME_2_p_1 =
95 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
96 ____DEBUGRUNTIME_2_p_1 =
98 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
99 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
101 !if "$(RUNTIME_LIBS)" == "dynamic"
104 !if "$(RUNTIME_LIBS)" == "static"
105 __RUNTIME_LIBS_8 = $(__THREADSFLAG)
107 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
108 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
110 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
111 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
113 !if "$(WXUNIV)" == "1"
114 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
116 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
117 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
119 !if "$(DEBUG_FLAG)" == "1"
120 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
122 !if "$(USE_EXCEPTIONS)" == "0"
123 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
125 !if "$(USE_RTTI)" == "0"
126 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
128 !if "$(USE_THREADS)" == "0"
129 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
131 !if "$(UNICODE)" == "1"
132 __UNICODE_DEFINE_p_1 = /d _UNICODE
135 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
137 !if "$(SHARED)" == "1"
138 __DLLFLAG_p = /DWXUSINGDLL
140 !if "$(SHARED)" == "1"
141 __DLLFLAG_p_1 = /d WXUSINGDLL
143 !if "$(SHARED)" == "1"
144 __renddll___depname = \
145 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.dll
147 !if "$(RUNTIME_LIBS)" == "dynamic"
148 __RUNTIME_LIBS_23 = D
150 !if "$(RUNTIME_LIBS)" == "static"
151 __RUNTIME_LIBS_23 = $(__THREADSFLAG)
153 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
156 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
159 !if "$(DEBUG_INFO)" == "0"
162 !if "$(DEBUG_INFO)" == "1"
165 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
166 __DEBUGINFO_1 = /DEBUG
168 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
171 !if "$(DEBUG_INFO)" == "0"
174 !if "$(DEBUG_INFO)" == "1"
175 __DEBUGINFO_1 = /DEBUG
177 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
178 ____DEBUGRUNTIME = /D_DEBUG
180 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
183 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
186 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
187 ____DEBUGRUNTIME = /D_DEBUG
189 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
192 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
195 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
198 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
201 !if "$(BUILD)" == "debug"
204 !if "$(BUILD)" == "release"
207 !if "$(USE_THREADS)" == "0"
210 !if "$(USE_THREADS)" == "1"
213 !if "$(USE_RTTI)" == "0"
216 !if "$(USE_RTTI)" == "1"
219 !if "$(USE_EXCEPTIONS)" == "0"
222 !if "$(USE_EXCEPTIONS)" == "1"
223 __EXCEPTIONSFLAG = /EHsc
225 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
226 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
228 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
229 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
231 !if "$(WXUNIV)" == "1"
232 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
234 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
235 __DEBUG_DEFINE_p = /D__WXDEBUG__
237 !if "$(DEBUG_FLAG)" == "1"
238 __DEBUG_DEFINE_p = /D__WXDEBUG__
240 !if "$(USE_EXCEPTIONS)" == "0"
241 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
243 !if "$(USE_RTTI)" == "0"
244 __RTTI_DEFINE_p = /DwxNO_RTTI
246 !if "$(USE_THREADS)" == "0"
247 __THREAD_DEFINE_p = /DwxNO_THREADS
249 !if "$(UNICODE)" == "1"
250 __UNICODE_DEFINE_p = /D_UNICODE
253 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
255 !if "$(MONOLITHIC)" == "0"
257 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
259 !if "$(MONOLITHIC)" == "0"
261 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
263 !if "$(MONOLITHIC)" == "1"
265 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
267 !if "$(USE_GUI)" == "1"
268 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
270 !if "$(USE_GUI)" == "1"
271 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
273 !if "$(USE_GUI)" == "1"
274 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
277 __UNICOWS_LIB_p = unicows.lib
283 -if not exist $(OBJS) mkdir $(OBJS)
287 all: $(OBJS)\render.exe $(__renddll___depname)
290 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
291 -if exist $(OBJS)\*.res del $(OBJS)\*.res
292 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
293 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
294 -if exist $(OBJS)\render.ilk del $(OBJS)\render.ilk
295 -if exist $(OBJS)\render.pdb del $(OBJS)\render.pdb
296 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.dll
297 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.ilk del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.ilk
298 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.pdb del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.pdb
300 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
301 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
302 $(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) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib
305 !if "$(SHARED)" == "1"
306 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.dll: $(RENDDLL_OBJECTS)
307 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
308 $(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) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib
312 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
313 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /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) /d _WINDOWS /i .\..\..\samples $**
315 $(OBJS)\render_render.obj: .\render.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(RENDER_CXXFLAGS) $**
318 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(RENDDLL_CXXFLAGS) $**