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__WX$(TOOLKIT)__ \
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__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
44 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
45 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
46 $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \
47 $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /DWXUSINGDLL $(__RTTIFLAG) \
48 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
50 $(OBJS)\renddll_renddll.obj
52 ### Conditionally set variables: ###
54 !if "$(TOOLKIT)" == "GTK"
55 WIN32_TOOLKIT_LOWERCASE = gtk
57 !if "$(TOOLKIT)" == "MSW"
58 WIN32_TOOLKIT_LOWERCASE = msw
60 !if "$(TARGET_CPU)" == "AMD64"
63 !if "$(TARGET_CPU)" == "IA64"
66 !if "$(TARGET_CPU)" == "X64"
69 !if "$(TARGET_CPU)" == "amd64"
72 !if "$(TARGET_CPU)" == "ia64"
75 !if "$(TARGET_CPU)" == "x64"
78 !if "$(USE_GUI)" == "0"
81 !if "$(USE_GUI)" == "1"
82 PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
84 !if "$(TOOLKIT)" == "MAC"
87 !if "$(OFFICIAL_BUILD)" == "1"
88 COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
90 !if "$(OFFICIAL_BUILD)" == "0"
93 !if "$(OFFICIAL_BUILD)" == "1"
94 WXCOMPILER = _vc$(COMPILER_VERSION)$(ARCH_SUFFIX)
96 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
99 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
102 !if "$(UNICODE)" == "1"
105 !if "$(WXUNIV)" == "1"
108 !if "$(SHARED)" == "1"
111 !if "$(SHARED)" == "0"
114 !if "$(SHARED)" == "1"
117 !if "$(TARGET_CPU)" == "AMD64"
118 LINK_TARGET_CPU = /MACHINE:X64
120 !if "$(TARGET_CPU)" == "IA64"
121 LINK_TARGET_CPU = /MACHINE:IA64
123 !if "$(TARGET_CPU)" == "X64"
124 LINK_TARGET_CPU = /MACHINE:X64
126 !if "$(TARGET_CPU)" == "amd64"
127 LINK_TARGET_CPU = /MACHINE:X64
129 !if "$(TARGET_CPU)" == "ia64"
130 LINK_TARGET_CPU = /MACHINE:IA64
132 !if "$(TARGET_CPU)" == "x64"
133 LINK_TARGET_CPU = /MACHINE:X64
135 !if "$(MONOLITHIC)" == "0"
138 !if "$(MONOLITHIC)" == "1"
141 !if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2"
142 LIB_GTK = gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib \
143 gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib \
146 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
147 __DEBUGINFO_2 = $(__DEBUGRUNTIME_0)
149 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
152 !if "$(DEBUG_INFO)" == "0"
155 !if "$(DEBUG_INFO)" == "1"
156 __DEBUGINFO_2 = $(__DEBUGRUNTIME_0)
158 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
159 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
161 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
162 ____DEBUGRUNTIME_3_p_1 =
164 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
165 ____DEBUGRUNTIME_3_p_1 =
167 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
168 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
170 !if "$(RUNTIME_LIBS)" == "dynamic"
171 __RUNTIME_LIBS_10 = D
173 !if "$(RUNTIME_LIBS)" == "static"
174 __RUNTIME_LIBS_10 = $(__THREADSFLAG)
176 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
177 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
179 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
180 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
182 !if "$(WXUNIV)" == "1"
183 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
185 !if "$(DEBUG_FLAG)" == "0"
186 __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0
188 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
189 __NDEBUG_DEFINE_p_1 = /d NDEBUG
191 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
192 __NDEBUG_DEFINE_p_1 = /d NDEBUG
194 !if "$(USE_EXCEPTIONS)" == "0"
195 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
197 !if "$(USE_RTTI)" == "0"
198 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
200 !if "$(USE_THREADS)" == "0"
201 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
203 !if "$(UNICODE)" == "0"
204 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0
206 !if "$(UNICODE)" == "1"
207 __UNICODE_DEFINE_p_1 = /d _UNICODE
210 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
212 !if "$(USE_CAIRO)" == "1"
213 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo
215 !if "$(SHARED)" == "1"
216 __DLLFLAG_p = /DWXUSINGDLL
218 !if "$(SHARED)" == "1"
219 __DLLFLAG_p_1 = /d WXUSINGDLL
221 !if "$(SHARED)" == "1"
222 __renddll___depname = \
223 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).dll
225 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
226 __DEBUGINFO_19 = $(__DEBUGRUNTIME_0)
228 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
231 !if "$(DEBUG_INFO)" == "0"
234 !if "$(DEBUG_INFO)" == "1"
235 __DEBUGINFO_19 = $(__DEBUGRUNTIME_0)
237 !if "$(RUNTIME_LIBS)" == "dynamic"
238 __RUNTIME_LIBS_27 = D
240 !if "$(RUNTIME_LIBS)" == "static"
241 __RUNTIME_LIBS_27 = $(__THREADSFLAG)
243 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
246 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
249 !if "$(DEBUG_INFO)" == "0"
252 !if "$(DEBUG_INFO)" == "1"
255 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
256 __DEBUGINFO_1 = /DEBUG
258 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
261 !if "$(DEBUG_INFO)" == "0"
264 !if "$(DEBUG_INFO)" == "1"
265 __DEBUGINFO_1 = /DEBUG
267 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
268 ____DEBUGRUNTIME = /D_DEBUG
270 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
273 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
276 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
277 ____DEBUGRUNTIME = /D_DEBUG
279 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
282 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
285 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
288 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
291 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
294 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
295 __DEBUGRUNTIME_0 = /opt:ref /opt:icf
297 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
298 __DEBUGRUNTIME_0 = /opt:ref /opt:icf
300 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
303 !if "$(BUILD)" == "debug"
306 !if "$(BUILD)" == "release"
309 !if "$(USE_THREADS)" == "0"
312 !if "$(USE_THREADS)" == "1"
315 !if "$(USE_RTTI)" == "0"
318 !if "$(USE_RTTI)" == "1"
321 !if "$(USE_EXCEPTIONS)" == "0"
324 !if "$(USE_EXCEPTIONS)" == "1"
325 __EXCEPTIONSFLAG = /EHsc
327 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
328 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
330 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
331 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
333 !if "$(WXUNIV)" == "1"
334 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
336 !if "$(DEBUG_FLAG)" == "0"
337 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
339 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
340 __NDEBUG_DEFINE_p = /DNDEBUG
342 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
343 __NDEBUG_DEFINE_p = /DNDEBUG
345 !if "$(USE_EXCEPTIONS)" == "0"
346 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
348 !if "$(USE_RTTI)" == "0"
349 __RTTI_DEFINE_p = /DwxNO_RTTI
351 !if "$(USE_THREADS)" == "0"
352 __THREAD_DEFINE_p = /DwxNO_THREADS
354 !if "$(UNICODE)" == "0"
355 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
357 !if "$(UNICODE)" == "1"
358 __UNICODE_DEFINE_p = /D_UNICODE
361 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
363 !if "$(USE_CAIRO)" == "1"
364 ____CAIRO_INCLUDEDIR_FILENAMES = /I$(CAIRO_ROOT)\include\cairo
366 !if "$(MONOLITHIC)" == "0"
368 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
370 !if "$(MONOLITHIC)" == "0"
372 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
374 !if "$(MONOLITHIC)" == "1"
376 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
378 !if "$(USE_GUI)" == "1"
379 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
381 !if "$(USE_GUI)" == "1"
382 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
384 !if "$(USE_GUI)" == "1"
385 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
388 __UNICOWS_LIB_p = unicows.lib
390 !if "$(USE_CAIRO)" == "1"
391 __CAIRO_LIB_p = cairo.lib
393 !if "$(USE_CAIRO)" == "1"
394 ____CAIRO_LIBDIR_FILENAMES = /LIBPATH:$(CAIRO_ROOT)\lib
400 -if not exist $(OBJS) mkdir $(OBJS)
404 all: $(OBJS)\render.exe $(__renddll___depname)
407 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
408 -if exist $(OBJS)\*.res del $(OBJS)\*.res
409 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
410 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
411 -if exist $(OBJS)\render.ilk del $(OBJS)\render.ilk
412 -if exist $(OBJS)\render.pdb del $(OBJS)\render.pdb
413 -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
414 -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
415 -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
417 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
418 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\render.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
419 $(RENDER_OBJECTS) $(RENDER_RESOURCES) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(LIB_GTK) 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
422 !if "$(SHARED)" == "1"
423 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).dll: $(RENDDLL_OBJECTS)
424 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) @<<
425 $(RENDDLL_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(LIB_GTK) 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
429 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
430 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 __WX$(TOOLKIT)__ $(__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
432 $(OBJS)\render_render.obj: .\render.cpp
433 $(CXX) /c /nologo /TP /Fo$@ $(RENDER_CXXFLAGS) .\render.cpp
435 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
436 $(CXX) /c /nologo /TP /Fo$@ $(RENDDLL_CXXFLAGS) .\renddll.cpp