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 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
19 LIBDIRNAME = .\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 RENDER_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME) /DWIN32 \
23 $(__DEBUGINFO) /Fd$(OBJS)\render.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \
24 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
25 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
26 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \
27 /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG) \
28 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
30 $(OBJS)\render_sample.res \
31 $(OBJS)\render_render.obj
32 RENDDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_23)$(__DEBUGRUNTIME) /DWIN32 \
34 /Fd$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.pdb \
35 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
36 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
37 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
38 $(__MSLU_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) /W4 /DWXUSINGDLL \
39 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
41 $(OBJS)\renddll_renddll.obj
43 ### Conditionally set variables: ###
45 !if "$(USE_GUI)" == "0"
48 !if "$(USE_GUI)" == "1"
51 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
54 !if "$(DEBUG_FLAG)" == "1"
57 !if "$(UNICODE)" == "1"
60 !if "$(WXUNIV)" == "1"
63 !if "$(TARGET_CPU)" == "AMD64"
64 DIR_SUFFIX_CPU = _amd64
66 !if "$(TARGET_CPU)" == "IA64"
67 DIR_SUFFIX_CPU = _ia64
69 !if "$(SHARED)" == "1"
72 !if "$(SHARED)" == "0"
75 !if "$(SHARED)" == "1"
78 !if "$(TARGET_CPU)" == "AMD64"
79 LINK_TARGET_CPU = /MACHINE:AMD64
81 !if "$(TARGET_CPU)" == "IA64"
82 LINK_TARGET_CPU = /MACHINE:IA64
84 !if "$(MONOLITHIC)" == "0"
87 !if "$(MONOLITHIC)" == "1"
90 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0"
93 !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1"
96 !if "$(BUILD)" == "release" && "$(UNICODE)" == "0"
99 !if "$(BUILD)" == "release" && "$(UNICODE)" == "1"
102 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
103 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
105 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
106 ____DEBUGRUNTIME_2_p_1 =
108 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
109 ____DEBUGRUNTIME_2_p_1 =
111 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
112 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
114 !if "$(RUNTIME_LIBS)" == "dynamic"
117 !if "$(RUNTIME_LIBS)" == "static"
118 __RUNTIME_LIBS_8 = $(__THREADSFLAG)
120 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
121 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
123 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
124 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
126 !if "$(TARGET_CPU)" == "AMD64"
127 __RES_TARGET_CPU_p = /d WX_CPU_AMD64
129 !if "$(TARGET_CPU)" == "IA64"
130 __RES_TARGET_CPU_p = /d WX_CPU_IA64
132 !if "$(WXUNIV)" == "1"
133 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
135 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
136 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
138 !if "$(DEBUG_FLAG)" == "1"
139 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
141 !if "$(USE_EXCEPTIONS)" == "0"
142 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
144 !if "$(USE_RTTI)" == "0"
145 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
147 !if "$(USE_THREADS)" == "0"
148 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
150 !if "$(UNICODE)" == "1"
151 __UNICODE_DEFINE_p_1 = /d _UNICODE
154 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
156 !if "$(SHARED)" == "1"
157 __DLLFLAG_p = /DWXUSINGDLL
159 !if "$(SHARED)" == "1"
160 __DLLFLAG_p_1 = /d WXUSINGDLL
162 !if "$(SHARED)" == "1"
163 __renddll___depname = \
164 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.dll
166 !if "$(RUNTIME_LIBS)" == "dynamic"
167 __RUNTIME_LIBS_23 = D
169 !if "$(RUNTIME_LIBS)" == "static"
170 __RUNTIME_LIBS_23 = $(__THREADSFLAG)
172 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
175 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
178 !if "$(DEBUG_INFO)" == "0"
181 !if "$(DEBUG_INFO)" == "1"
184 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
185 __DEBUGINFO_1 = /DEBUG
187 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
190 !if "$(DEBUG_INFO)" == "0"
193 !if "$(DEBUG_INFO)" == "1"
194 __DEBUGINFO_1 = /DEBUG
196 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
197 ____DEBUGRUNTIME = /D_DEBUG
199 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
202 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
205 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
206 ____DEBUGRUNTIME = /D_DEBUG
208 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
211 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
214 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
217 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
220 !if "$(BUILD)" == "debug"
223 !if "$(BUILD)" == "release"
226 !if "$(USE_THREADS)" == "0"
229 !if "$(USE_THREADS)" == "1"
232 !if "$(USE_RTTI)" == "0"
235 !if "$(USE_RTTI)" == "1"
238 !if "$(USE_EXCEPTIONS)" == "0"
241 !if "$(USE_EXCEPTIONS)" == "1"
242 __EXCEPTIONSFLAG = /EHsc
244 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
245 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
247 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
248 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
250 !if "$(WXUNIV)" == "1"
251 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
253 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
254 __DEBUG_DEFINE_p = /D__WXDEBUG__
256 !if "$(DEBUG_FLAG)" == "1"
257 __DEBUG_DEFINE_p = /D__WXDEBUG__
259 !if "$(USE_EXCEPTIONS)" == "0"
260 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
262 !if "$(USE_RTTI)" == "0"
263 __RTTI_DEFINE_p = /DwxNO_RTTI
265 !if "$(USE_THREADS)" == "0"
266 __THREAD_DEFINE_p = /DwxNO_THREADS
268 !if "$(UNICODE)" == "1"
269 __UNICODE_DEFINE_p = /D_UNICODE
272 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
274 !if "$(MONOLITHIC)" == "0"
276 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
278 !if "$(MONOLITHIC)" == "0"
280 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
282 !if "$(MONOLITHIC)" == "1"
284 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
286 !if "$(USE_GUI)" == "1"
287 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
289 !if "$(USE_GUI)" == "1"
290 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
292 !if "$(USE_GUI)" == "1"
293 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
296 __UNICOWS_LIB_p = unicows.lib
302 -if not exist $(OBJS) mkdir $(OBJS)
306 all: $(OBJS)\render.exe $(__renddll___depname)
309 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
310 -if exist $(OBJS)\*.res del $(OBJS)\*.res
311 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
312 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
313 -if exist $(OBJS)\render.ilk del $(OBJS)\render.ilk
314 -if exist $(OBJS)\render.pdb del $(OBJS)\render.pdb
315 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.dll
316 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.ilk del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.ilk
317 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.pdb del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.pdb
319 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
320 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
321 $(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
324 !if "$(SHARED)" == "1"
325 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.dll: $(RENDDLL_OBJECTS)
326 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
327 $(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
331 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
332 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) $(__RES_TARGET_CPU_p) /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 $**
334 $(OBJS)\render_render.obj: .\render.cpp
335 $(CXX) /c /nologo /TP /Fo$@ $(RENDER_CXXFLAGS) $**
337 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
338 $(CXX) /c /nologo /TP /Fo$@ $(RENDDLL_CXXFLAGS) $**