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 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)5
19 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX)
21 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG)
23 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
24 RENDER_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME) /DWIN32 \
25 $(__DEBUGINFO) /Fd$(OBJS)\render.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \
26 /D_CRT_SECURE_NO_DEPRECATE=1 /D_CRT_NON_CONFORMING_SWPRINTFS=1 \
27 /D_SCL_SECURE_NO_WARNINGS=1 $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
28 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) \
29 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
30 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \
31 $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \
32 /I.\..\..\samples /DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) \
35 $(OBJS)\render_render.obj
37 $(OBJS)\render_sample.res
38 RENDDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_27)$(__DEBUGRUNTIME) /DWIN32 \
40 /Fd$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).pdb \
41 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) /D_CRT_SECURE_NO_DEPRECATE=1 \
42 /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \
43 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
44 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
45 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
46 /I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 \
47 /DWXUSINGDLL $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
49 $(OBJS)\renddll_renddll.obj
51 ### Conditionally set variables: ###
53 !if "$(TARGET_CPU)" == "AMD64"
56 !if "$(TARGET_CPU)" == "IA64"
59 !if "$(TARGET_CPU)" == "X64"
62 !if "$(TARGET_CPU)" == "amd64"
65 !if "$(TARGET_CPU)" == "ia64"
68 !if "$(TARGET_CPU)" == "x64"
71 !if "$(USE_GUI)" == "0"
74 !if "$(USE_GUI)" == "1"
77 !if "$(OFFICIAL_BUILD)" == "1"
78 COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
80 !if "$(OFFICIAL_BUILD)" == "0"
83 !if "$(OFFICIAL_BUILD)" == "1"
84 WXCOMPILER = _vc$(COMPILER_VERSION)$(ARCH_SUFFIX)
86 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
89 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
92 !if "$(UNICODE)" == "1"
95 !if "$(WXUNIV)" == "1"
98 !if "$(SHARED)" == "1"
101 !if "$(SHARED)" == "0"
104 !if "$(SHARED)" == "1"
107 !if "$(TARGET_CPU)" == "AMD64"
108 LINK_TARGET_CPU = /MACHINE:X64
110 !if "$(TARGET_CPU)" == "IA64"
111 LINK_TARGET_CPU = /MACHINE:IA64
113 !if "$(TARGET_CPU)" == "X64"
114 LINK_TARGET_CPU = /MACHINE:X64
116 !if "$(TARGET_CPU)" == "amd64"
117 LINK_TARGET_CPU = /MACHINE:X64
119 !if "$(TARGET_CPU)" == "ia64"
120 LINK_TARGET_CPU = /MACHINE:IA64
122 !if "$(TARGET_CPU)" == "x64"
123 LINK_TARGET_CPU = /MACHINE:X64
125 !if "$(MONOLITHIC)" == "0"
128 !if "$(MONOLITHIC)" == "1"
131 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
132 __DEBUGINFO_2 = $(__DEBUGRUNTIME_0)
134 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
137 !if "$(DEBUG_INFO)" == "0"
140 !if "$(DEBUG_INFO)" == "1"
141 __DEBUGINFO_2 = $(__DEBUGRUNTIME_0)
143 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
144 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
146 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
147 ____DEBUGRUNTIME_3_p_1 =
149 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
150 ____DEBUGRUNTIME_3_p_1 =
152 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
153 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
155 !if "$(RUNTIME_LIBS)" == "dynamic"
156 __RUNTIME_LIBS_10 = D
158 !if "$(RUNTIME_LIBS)" == "static"
159 __RUNTIME_LIBS_10 = $(__THREADSFLAG)
161 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
162 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
164 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
165 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
167 !if "$(WXUNIV)" == "1"
168 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
170 !if "$(DEBUG_FLAG)" == "0"
171 __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0
173 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
174 __NDEBUG_DEFINE_p_1 = /d NDEBUG
176 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
177 __NDEBUG_DEFINE_p_1 = /d NDEBUG
179 !if "$(USE_EXCEPTIONS)" == "0"
180 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
182 !if "$(USE_RTTI)" == "0"
183 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
185 !if "$(USE_THREADS)" == "0"
186 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
188 !if "$(UNICODE)" == "0"
189 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0
191 !if "$(UNICODE)" == "1"
192 __UNICODE_DEFINE_p_1 = /d _UNICODE
195 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
197 !if "$(USE_CAIRO)" == "1"
198 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo
200 !if "$(SHARED)" == "1"
201 __DLLFLAG_p = /DWXUSINGDLL
203 !if "$(SHARED)" == "1"
204 __DLLFLAG_p_1 = /d WXUSINGDLL
206 !if "$(SHARED)" == "1"
207 __renddll___depname = \
208 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).dll
210 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
211 __DEBUGINFO_19 = $(__DEBUGRUNTIME_0)
213 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
216 !if "$(DEBUG_INFO)" == "0"
219 !if "$(DEBUG_INFO)" == "1"
220 __DEBUGINFO_19 = $(__DEBUGRUNTIME_0)
222 !if "$(RUNTIME_LIBS)" == "dynamic"
223 __RUNTIME_LIBS_27 = D
225 !if "$(RUNTIME_LIBS)" == "static"
226 __RUNTIME_LIBS_27 = $(__THREADSFLAG)
228 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
231 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
234 !if "$(DEBUG_INFO)" == "0"
237 !if "$(DEBUG_INFO)" == "1"
240 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
241 __DEBUGINFO_1 = /DEBUG
243 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
246 !if "$(DEBUG_INFO)" == "0"
249 !if "$(DEBUG_INFO)" == "1"
250 __DEBUGINFO_1 = /DEBUG
252 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
253 ____DEBUGRUNTIME = /D_DEBUG
255 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
258 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
261 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
262 ____DEBUGRUNTIME = /D_DEBUG
264 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
267 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
270 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
273 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
276 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
279 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
280 __DEBUGRUNTIME_0 = /opt:ref /opt:icf
282 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
283 __DEBUGRUNTIME_0 = /opt:ref /opt:icf
285 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
288 !if "$(BUILD)" == "debug"
291 !if "$(BUILD)" == "release"
294 !if "$(USE_THREADS)" == "0"
297 !if "$(USE_THREADS)" == "1"
300 !if "$(USE_RTTI)" == "0"
303 !if "$(USE_RTTI)" == "1"
306 !if "$(USE_EXCEPTIONS)" == "0"
309 !if "$(USE_EXCEPTIONS)" == "1"
310 __EXCEPTIONSFLAG = /EHsc
312 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
313 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
315 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
316 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
318 !if "$(WXUNIV)" == "1"
319 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
321 !if "$(DEBUG_FLAG)" == "0"
322 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
324 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
325 __NDEBUG_DEFINE_p = /DNDEBUG
327 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
328 __NDEBUG_DEFINE_p = /DNDEBUG
330 !if "$(USE_EXCEPTIONS)" == "0"
331 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
333 !if "$(USE_RTTI)" == "0"
334 __RTTI_DEFINE_p = /DwxNO_RTTI
336 !if "$(USE_THREADS)" == "0"
337 __THREAD_DEFINE_p = /DwxNO_THREADS
339 !if "$(UNICODE)" == "0"
340 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
342 !if "$(UNICODE)" == "1"
343 __UNICODE_DEFINE_p = /D_UNICODE
346 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
348 !if "$(USE_CAIRO)" == "1"
349 ____CAIRO_INCLUDEDIR_FILENAMES = /I$(CAIRO_ROOT)\include\cairo
351 !if "$(MONOLITHIC)" == "0"
353 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
355 !if "$(MONOLITHIC)" == "0"
357 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
359 !if "$(MONOLITHIC)" == "1"
361 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
363 !if "$(USE_GUI)" == "1"
364 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
366 !if "$(USE_GUI)" == "1"
367 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
369 !if "$(USE_GUI)" == "1"
370 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
373 __UNICOWS_LIB_p = unicows.lib
375 !if "$(USE_CAIRO)" == "1"
376 __CAIRO_LIB_p = cairo.lib
378 !if "$(USE_CAIRO)" == "1"
379 ____CAIRO_LIBDIR_FILENAMES = /LIBPATH:$(CAIRO_ROOT)\lib
385 -if not exist $(OBJS) mkdir $(OBJS)
389 all: $(OBJS)\render.exe $(__renddll___depname)
392 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
393 -if exist $(OBJS)\*.res del $(OBJS)\*.res
394 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
395 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
396 -if exist $(OBJS)\render.ilk del $(OBJS)\render.ilk
397 -if exist $(OBJS)\render.pdb del $(OBJS)\render.pdb
398 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).dll
399 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).ilk del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).ilk
400 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).pdb del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).pdb
402 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
403 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\render.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
404 $(RENDER_OBJECTS) $(RENDER_RESOURCES) $(__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) $(__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
407 !if "$(SHARED)" == "1"
408 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).dll: $(RENDDLL_OBJECTS)
409 link /DLL /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).pdb" $(__DEBUGINFO_19) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
410 $(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) $(__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
414 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
415 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
417 $(OBJS)\render_render.obj: .\render.cpp
418 $(CXX) /c /nologo /TP /Fo$@ $(RENDER_CXXFLAGS) .\render.cpp
420 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
421 $(CXX) /c /nologo /TP /Fo$@ $(RENDDLL_CXXFLAGS) .\renddll.cpp