1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.2 (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 # -------------------------------------------------------------------------
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 RENDER_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
20 $(__DEBUGINFO) /Fd$(OBJS)\render.pdb $(____DEBUGRUNTIME_2_p) \
21 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
22 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \
23 /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples $(__EXCEPTIONSFLAG) \
24 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
26 $(OBJS)\render_sample.res \
27 $(OBJS)\render_render.obj
28 RENDDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
30 /Fd$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.pdb \
31 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
32 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
33 /I.\..\..\include /I$(SETUPHDIR) /W4 /DWXUSINGDLL $(__EXCEPTIONSFLAG) \
34 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
36 $(OBJS)\renddll_renddll.obj
38 ### Conditionally set variables: ###
40 !if "$(USE_GUI)" == "0"
43 !if "$(USE_GUI)" == "1"
46 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
49 !if "$(DEBUG_FLAG)" == "1"
52 !if "$(UNICODE)" == "1"
55 !if "$(WXUNIV)" == "1"
58 !if "$(SHARED)" == "1"
61 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0"
64 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1"
67 !if "$(BUILD)" == "release" && "$(UNICODE)" == "0"
70 !if "$(BUILD)" == "release" && "$(UNICODE)" == "1"
73 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
74 ____DEBUGRUNTIME_2_p =
76 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
77 ____DEBUGRUNTIME_2_p = /D_DEBUG
79 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
80 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
82 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
83 ____DEBUGRUNTIME_2_p_1 =
85 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
86 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
88 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
89 ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
91 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
92 ____DEBUGINFO_2_p_1 = /d _DEBUG
94 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
97 !if "$(DEBUG_INFO)" == "0"
100 !if "$(DEBUG_INFO)" == "1"
101 ____DEBUGINFO_2_p_1 = /d _DEBUG
103 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
106 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
109 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
110 __DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
112 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
113 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
115 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
116 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
118 !if "$(WXUNIV)" == "1"
119 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
121 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
122 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
124 !if "$(DEBUG_FLAG)" == "1"
125 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
127 !if "$(UNICODE)" == "1"
128 __UNICODE_DEFINE_p_1 = /d _UNICODE
130 !if "$(SHARED)" == "1"
131 __DLLFLAG_p = /DWXUSINGDLL
133 !if "$(SHARED)" == "1"
134 __DLLFLAG_p_1 = /d WXUSINGDLL
136 !if "$(SHARED)" == "1"
137 __renddll___depname = \
138 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.dll
140 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
141 ____DEBUGRUNTIME_15_p =
143 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
144 ____DEBUGRUNTIME_15_p = /D_DEBUG
146 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
147 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
149 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
152 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
153 __DEBUGRUNTIME_16 = d
155 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
156 __DEBUGRUNTIME_16 = $(__DEBUGINFO_2)
158 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
161 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
164 !if "$(DEBUG_INFO)" == "0"
167 !if "$(DEBUG_INFO)" == "1"
170 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
171 __DEBUGINFO_1 = /DEBUG
173 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
176 !if "$(DEBUG_INFO)" == "0"
179 !if "$(DEBUG_INFO)" == "1"
180 __DEBUGINFO_1 = /DEBUG
182 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
183 ____DEBUGINFO = /D_DEBUG
185 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
188 !if "$(DEBUG_INFO)" == "0"
191 !if "$(DEBUG_INFO)" == "1"
192 ____DEBUGINFO = /D_DEBUG
194 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
197 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
200 !if "$(DEBUG_INFO)" == "0"
203 !if "$(DEBUG_INFO)" == "1"
206 !if "$(BUILD)" == "debug"
209 !if "$(BUILD)" == "release"
212 !if "$(RUNTIME_LIBS)" == "dynamic"
215 !if "$(RUNTIME_LIBS)" == "static"
218 !if "$(USE_EXCEPTIONS)" == "0"
221 !if "$(USE_EXCEPTIONS)" == "1"
222 __EXCEPTIONSFLAG = /GR
224 !if "$(USE_EXCEPTIONS)" == "0"
227 !if "$(USE_EXCEPTIONS)" == "1"
228 __EXCEPTIONSFLAG_0 = /GX
230 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
231 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
233 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
234 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
236 !if "$(WXUNIV)" == "1"
237 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
239 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
240 __DEBUG_DEFINE_p = /D__WXDEBUG__
242 !if "$(DEBUG_FLAG)" == "1"
243 __DEBUG_DEFINE_p = /D__WXDEBUG__
245 !if "$(UNICODE)" == "1"
246 __UNICODE_DEFINE_p = /D_UNICODE
248 !if "$(SHARED)" == "0"
249 LIBDIRNAME = .\..\..\lib\vc_lib$(CFG)
251 !if "$(SHARED)" == "1"
252 LIBDIRNAME = .\..\..\lib\vc_dll$(CFG)
254 !if "$(MONOLITHIC)" == "0"
256 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
258 !if "$(MONOLITHIC)" == "0"
259 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
261 !if "$(MONOLITHIC)" == "1"
263 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
265 !if "$(USE_GUI)" == "1"
266 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
268 !if "$(USE_GUI)" == "1"
269 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
271 !if "$(USE_GUI)" == "1"
272 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
275 __UNICOWS_LIB_p = unicows.lib
281 -if not exist $(OBJS) mkdir $(OBJS)
285 all: $(OBJS)\render.exe $(__renddll___depname)
288 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
289 -if exist $(OBJS)\*.res del $(OBJS)\*.res
290 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
291 -if exist $(OBJS)\render.ilk del $(OBJS)\render.ilk
292 -if exist $(OBJS)\render.pdb del $(OBJS)\render.pdb
293 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.dll
294 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.ilk del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.ilk
295 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.pdb del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.pdb
297 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
298 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
299 $(RENDER_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__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
302 !if "$(SHARED)" == "1"
303 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.dll: $(RENDDLL_OBJECTS)
304 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
305 $(RENDDLL_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__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
309 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
310 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples $**
312 $(OBJS)\render_render.obj: .\render.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(RENDER_CXXFLAGS) $**
315 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(RENDDLL_CXXFLAGS) $**