1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.9 (http://www.bakefile.org)
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 # -------------------------------------------------------------------------
18 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX)
20 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG)
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 RENDER_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME) /DWIN32 \
24 $(__DEBUGINFO) /Fd$(OBJS)\render.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \
25 /D_CRT_SECURE_NO_DEPRECATE=1 /D_CRT_NON_CONFORMING_SWPRINTFS=1 \
26 /D_SCL_SECURE_NO_WARNINGS=1 $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
27 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) \
28 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
29 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \
30 $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \
31 /I.\..\..\samples /DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) \
34 $(OBJS)\render_render.obj
36 $(OBJS)\render_sample.res
37 RENDDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_27)$(__DEBUGRUNTIME) /DWIN32 \
39 /Fd$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).pdb \
40 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) /D_CRT_SECURE_NO_DEPRECATE=1 \
41 /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \
42 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
43 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
44 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
45 /I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 \
46 /DWXUSINGDLL $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
48 $(OBJS)\renddll_renddll.obj
50 ### Conditionally set variables: ###
52 !if "$(TARGET_CPU)" == "AMD64"
55 !if "$(TARGET_CPU)" == "IA64"
58 !if "$(TARGET_CPU)" == "X64"
61 !if "$(TARGET_CPU)" == "amd64"
64 !if "$(TARGET_CPU)" == "ia64"
67 !if "$(TARGET_CPU)" == "x64"
70 !if "$(USE_GUI)" == "0"
73 !if "$(USE_GUI)" == "1"
74 PORTNAME = msw$(TOOLKIT_VERSION)
76 !if "$(OFFICIAL_BUILD)" == "1"
77 COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
79 !if "$(OFFICIAL_BUILD)" == "0"
82 !if "$(OFFICIAL_BUILD)" == "1"
83 WXCOMPILER = _vc$(COMPILER_VERSION)$(ARCH_SUFFIX)
85 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
88 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
91 !if "$(UNICODE)" == "1"
94 !if "$(WXUNIV)" == "1"
97 !if "$(SHARED)" == "1"
100 !if "$(SHARED)" == "0"
103 !if "$(SHARED)" == "1"
106 !if "$(TARGET_CPU)" == "AMD64"
107 LINK_TARGET_CPU = /MACHINE:X64
109 !if "$(TARGET_CPU)" == "IA64"
110 LINK_TARGET_CPU = /MACHINE:IA64
112 !if "$(TARGET_CPU)" == "X64"
113 LINK_TARGET_CPU = /MACHINE:X64
115 !if "$(TARGET_CPU)" == "amd64"
116 LINK_TARGET_CPU = /MACHINE:X64
118 !if "$(TARGET_CPU)" == "ia64"
119 LINK_TARGET_CPU = /MACHINE:IA64
121 !if "$(TARGET_CPU)" == "x64"
122 LINK_TARGET_CPU = /MACHINE:X64
124 !if "$(MONOLITHIC)" == "0"
127 !if "$(MONOLITHIC)" == "1"
130 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
131 __DEBUGINFO_2 = $(__DEBUGRUNTIME_0)
133 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
136 !if "$(DEBUG_INFO)" == "0"
139 !if "$(DEBUG_INFO)" == "1"
140 __DEBUGINFO_2 = $(__DEBUGRUNTIME_0)
142 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
143 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
145 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
146 ____DEBUGRUNTIME_3_p_1 =
148 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
149 ____DEBUGRUNTIME_3_p_1 =
151 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
152 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
154 !if "$(RUNTIME_LIBS)" == "dynamic"
155 __RUNTIME_LIBS_10 = D
157 !if "$(RUNTIME_LIBS)" == "static"
158 __RUNTIME_LIBS_10 = $(__THREADSFLAG)
160 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
161 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
163 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
164 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
166 !if "$(WXUNIV)" == "1"
167 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
169 !if "$(DEBUG_FLAG)" == "0"
170 __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0
172 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
173 __NDEBUG_DEFINE_p_1 = /d NDEBUG
175 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
176 __NDEBUG_DEFINE_p_1 = /d NDEBUG
178 !if "$(USE_EXCEPTIONS)" == "0"
179 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
181 !if "$(USE_RTTI)" == "0"
182 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
184 !if "$(USE_THREADS)" == "0"
185 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
187 !if "$(UNICODE)" == "0"
188 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0
190 !if "$(UNICODE)" == "1"
191 __UNICODE_DEFINE_p_1 = /d _UNICODE
194 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
196 !if "$(USE_CAIRO)" == "1"
197 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo
199 !if "$(SHARED)" == "1"
200 __DLLFLAG_p = /DWXUSINGDLL
202 !if "$(SHARED)" == "1"
203 __DLLFLAG_p_1 = /d WXUSINGDLL
205 !if "$(SHARED)" == "1"
206 __renddll___depname = \
207 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).dll
209 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
210 __DEBUGINFO_19 = $(__DEBUGRUNTIME_0)
212 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
215 !if "$(DEBUG_INFO)" == "0"
218 !if "$(DEBUG_INFO)" == "1"
219 __DEBUGINFO_19 = $(__DEBUGRUNTIME_0)
221 !if "$(RUNTIME_LIBS)" == "dynamic"
222 __RUNTIME_LIBS_27 = D
224 !if "$(RUNTIME_LIBS)" == "static"
225 __RUNTIME_LIBS_27 = $(__THREADSFLAG)
227 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
230 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
233 !if "$(DEBUG_INFO)" == "0"
236 !if "$(DEBUG_INFO)" == "1"
239 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
240 __DEBUGINFO_1 = /DEBUG
242 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
245 !if "$(DEBUG_INFO)" == "0"
248 !if "$(DEBUG_INFO)" == "1"
249 __DEBUGINFO_1 = /DEBUG
251 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
252 ____DEBUGRUNTIME = /D_DEBUG
254 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
257 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
260 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
261 ____DEBUGRUNTIME = /D_DEBUG
263 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
266 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
269 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
272 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
275 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
278 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
279 __DEBUGRUNTIME_0 = /opt:ref /opt:icf
281 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
282 __DEBUGRUNTIME_0 = /opt:ref /opt:icf
284 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
287 !if "$(BUILD)" == "debug"
290 !if "$(BUILD)" == "release"
293 !if "$(USE_THREADS)" == "0"
296 !if "$(USE_THREADS)" == "1"
299 !if "$(USE_RTTI)" == "0"
302 !if "$(USE_RTTI)" == "1"
305 !if "$(USE_EXCEPTIONS)" == "0"
308 !if "$(USE_EXCEPTIONS)" == "1"
309 __EXCEPTIONSFLAG = /EHsc
311 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
312 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
314 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
315 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
317 !if "$(WXUNIV)" == "1"
318 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
320 !if "$(DEBUG_FLAG)" == "0"
321 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
323 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
324 __NDEBUG_DEFINE_p = /DNDEBUG
326 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
327 __NDEBUG_DEFINE_p = /DNDEBUG
329 !if "$(USE_EXCEPTIONS)" == "0"
330 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
332 !if "$(USE_RTTI)" == "0"
333 __RTTI_DEFINE_p = /DwxNO_RTTI
335 !if "$(USE_THREADS)" == "0"
336 __THREAD_DEFINE_p = /DwxNO_THREADS
338 !if "$(UNICODE)" == "0"
339 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
341 !if "$(UNICODE)" == "1"
342 __UNICODE_DEFINE_p = /D_UNICODE
345 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
347 !if "$(USE_CAIRO)" == "1"
348 ____CAIRO_INCLUDEDIR_FILENAMES = /I$(CAIRO_ROOT)\include\cairo
350 !if "$(MONOLITHIC)" == "0"
352 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
354 !if "$(MONOLITHIC)" == "0"
356 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
358 !if "$(MONOLITHIC)" == "1"
360 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
362 !if "$(MONOLITHIC)" == "1" && "$(USE_STC)" == "1"
363 __LIB_SCINTILLA_IF_MONO_p = wxscintilla$(WXDEBUGFLAG).lib
365 !if "$(USE_GUI)" == "1"
366 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
368 !if "$(USE_GUI)" == "1"
369 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
371 !if "$(USE_GUI)" == "1"
372 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
375 __UNICOWS_LIB_p = unicows.lib
377 !if "$(USE_CAIRO)" == "1"
378 __CAIRO_LIB_p = cairo.lib
380 !if "$(USE_CAIRO)" == "1"
381 ____CAIRO_LIBDIR_FILENAMES = /LIBPATH:$(CAIRO_ROOT)\lib
387 -if not exist $(OBJS) mkdir $(OBJS)
391 all: $(OBJS)\render.exe $(__renddll___depname)
394 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
395 -if exist $(OBJS)\*.res del $(OBJS)\*.res
396 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
397 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
398 -if exist $(OBJS)\render.ilk del $(OBJS)\render.ilk
399 -if exist $(OBJS)\render.pdb del $(OBJS)\render.pdb
400 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).dll
401 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).ilk del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).ilk
402 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).pdb del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).pdb
404 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
405 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\render.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
406 $(RENDER_OBJECTS) $(RENDER_RESOURCES) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_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) $(__CAIRO_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 wininet.lib
409 !if "$(SHARED)" == "1"
410 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).dll: $(RENDDLL_OBJECTS)
411 link /DLL /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(WXCOMPILER).pdb" $(__DEBUGINFO_19) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
412 $(RENDDLL_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_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) $(__CAIRO_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 wininet.lib
416 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
417 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) /d _CRT_SECURE_NO_DEPRECATE=1 /d _CRT_NON_CONFORMING_SWPRINTFS=1 /d _SCL_SECURE_NO_WARNINGS=1 $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) /i $(SETUPHDIR) /i .\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH .\..\..\samples\sample.rc
419 $(OBJS)\render_render.obj: .\render.cpp
420 $(CXX) /c /nologo /TP /Fo$@ $(RENDER_CXXFLAGS) .\render.cpp
422 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
423 $(CXX) /c /nologo /TP /Fo$@ $(RENDDLL_CXXFLAGS) .\renddll.cpp