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 # =========================================================================
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) /I.\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) \
26 /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
27 $(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 /I.\..\..\include /I$(SETUPHDIR) /W4 /DWXUSINGDLL $(__RTTIFLAG) \
38 $(__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
134 !if "$(SHARED)" == "1"
135 __DLLFLAG_p = /DWXUSINGDLL
137 !if "$(SHARED)" == "1"
138 __DLLFLAG_p_1 = /d WXUSINGDLL
140 !if "$(SHARED)" == "1"
141 __renddll___depname = \
142 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.dll
144 !if "$(RUNTIME_LIBS)" == "dynamic"
145 __RUNTIME_LIBS_23 = D
147 !if "$(RUNTIME_LIBS)" == "static"
148 __RUNTIME_LIBS_23 = $(__THREADSFLAG)
150 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
153 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
156 !if "$(DEBUG_INFO)" == "0"
159 !if "$(DEBUG_INFO)" == "1"
162 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
163 __DEBUGINFO_1 = /DEBUG
165 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
168 !if "$(DEBUG_INFO)" == "0"
171 !if "$(DEBUG_INFO)" == "1"
172 __DEBUGINFO_1 = /DEBUG
174 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
175 ____DEBUGRUNTIME = /D_DEBUG
177 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
180 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
183 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
184 ____DEBUGRUNTIME = /D_DEBUG
186 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
189 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
192 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
195 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
198 !if "$(BUILD)" == "debug"
201 !if "$(BUILD)" == "release"
204 !if "$(USE_THREADS)" == "0"
207 !if "$(USE_THREADS)" == "1"
210 !if "$(USE_RTTI)" == "0"
213 !if "$(USE_RTTI)" == "1"
216 !if "$(USE_EXCEPTIONS)" == "0"
219 !if "$(USE_EXCEPTIONS)" == "1"
220 __EXCEPTIONSFLAG = /EHsc
222 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
223 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
225 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
226 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
228 !if "$(WXUNIV)" == "1"
229 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
231 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
232 __DEBUG_DEFINE_p = /D__WXDEBUG__
234 !if "$(DEBUG_FLAG)" == "1"
235 __DEBUG_DEFINE_p = /D__WXDEBUG__
237 !if "$(USE_EXCEPTIONS)" == "0"
238 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
240 !if "$(USE_RTTI)" == "0"
241 __RTTI_DEFINE_p = /DwxNO_RTTI
243 !if "$(USE_THREADS)" == "0"
244 __THREAD_DEFINE_p = /DwxNO_THREADS
246 !if "$(UNICODE)" == "1"
247 __UNICODE_DEFINE_p = /D_UNICODE
249 !if "$(MONOLITHIC)" == "0"
251 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
253 !if "$(MONOLITHIC)" == "0"
255 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
257 !if "$(MONOLITHIC)" == "1"
259 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
261 !if "$(USE_GUI)" == "1"
262 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
264 !if "$(USE_GUI)" == "1"
265 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
267 !if "$(USE_GUI)" == "1"
268 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
271 __UNICOWS_LIB_p = unicows.lib
277 -if not exist $(OBJS) mkdir $(OBJS)
281 all: $(OBJS)\render.exe $(__renddll___depname)
284 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
285 -if exist $(OBJS)\*.res del $(OBJS)\*.res
286 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
287 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
288 -if exist $(OBJS)\render.ilk del $(OBJS)\render.ilk
289 -if exist $(OBJS)\render.pdb del $(OBJS)\render.pdb
290 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.dll
291 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.ilk del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.ilk
292 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.pdb del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.pdb
294 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
295 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
296 $(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
299 !if "$(SHARED)" == "1"
300 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_RELEASE_NODOT)_vc.dll: $(RENDDLL_OBJECTS)
301 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
302 $(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
306 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
307 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) /i .\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples $**
309 $(OBJS)\render_render.obj: .\render.cpp
310 $(CXX) /c /nologo /TP /Fo$@ $(RENDER_CXXFLAGS) $**
312 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(RENDDLL_CXXFLAGS) $**