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)4
19 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
21 .\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(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)_vc.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 "$(USE_GUI)" == "0"
56 !if "$(USE_GUI)" == "1"
59 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
62 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
65 !if "$(UNICODE)" == "1"
68 !if "$(WXUNIV)" == "1"
71 !if "$(TARGET_CPU)" == "AMD64"
72 DIR_SUFFIX_CPU = _amd64
74 !if "$(TARGET_CPU)" == "IA64"
75 DIR_SUFFIX_CPU = _ia64
77 !if "$(TARGET_CPU)" == "amd64"
78 DIR_SUFFIX_CPU = _amd64
80 !if "$(TARGET_CPU)" == "ia64"
81 DIR_SUFFIX_CPU = _ia64
83 !if "$(SHARED)" == "1"
86 !if "$(SHARED)" == "0"
89 !if "$(SHARED)" == "1"
92 !if "$(TARGET_CPU)" == "AMD64"
93 LINK_TARGET_CPU = /MACHINE:X64
95 !if "$(TARGET_CPU)" == "IA64"
96 LINK_TARGET_CPU = /MACHINE:IA64
98 !if "$(TARGET_CPU)" == "amd64"
99 LINK_TARGET_CPU = /MACHINE:X64
101 !if "$(TARGET_CPU)" == "ia64"
102 LINK_TARGET_CPU = /MACHINE:IA64
104 !if "$(MONOLITHIC)" == "0"
107 !if "$(MONOLITHIC)" == "1"
110 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
111 __DEBUGINFO_2 = $(__DEBUGRUNTIME_0)
113 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
116 !if "$(DEBUG_INFO)" == "0"
119 !if "$(DEBUG_INFO)" == "1"
120 __DEBUGINFO_2 = $(__DEBUGRUNTIME_0)
122 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
123 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
125 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
126 ____DEBUGRUNTIME_3_p_1 =
128 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
129 ____DEBUGRUNTIME_3_p_1 =
131 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
132 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
134 !if "$(RUNTIME_LIBS)" == "dynamic"
135 __RUNTIME_LIBS_10 = D
137 !if "$(RUNTIME_LIBS)" == "static"
138 __RUNTIME_LIBS_10 = $(__THREADSFLAG)
140 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
141 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
143 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
144 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
146 !if "$(WXUNIV)" == "1"
147 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
149 !if "$(DEBUG_FLAG)" == "0"
150 __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0
152 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
153 __NDEBUG_DEFINE_p_1 = /d NDEBUG
155 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
156 __NDEBUG_DEFINE_p_1 = /d NDEBUG
158 !if "$(USE_EXCEPTIONS)" == "0"
159 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
161 !if "$(USE_RTTI)" == "0"
162 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
164 !if "$(USE_THREADS)" == "0"
165 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
167 !if "$(UNICODE)" == "0"
168 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0
170 !if "$(UNICODE)" == "1"
171 __UNICODE_DEFINE_p_1 = /d _UNICODE
174 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
176 !if "$(USE_CAIRO)" == "1"
177 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo
179 !if "$(SHARED)" == "1"
180 __DLLFLAG_p = /DWXUSINGDLL
182 !if "$(SHARED)" == "1"
183 __DLLFLAG_p_1 = /d WXUSINGDLL
185 !if "$(SHARED)" == "1"
186 __renddll___depname = \
187 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_vc.dll
189 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
190 __DEBUGINFO_19 = $(__DEBUGRUNTIME_0)
192 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
195 !if "$(DEBUG_INFO)" == "0"
198 !if "$(DEBUG_INFO)" == "1"
199 __DEBUGINFO_19 = $(__DEBUGRUNTIME_0)
201 !if "$(RUNTIME_LIBS)" == "dynamic"
202 __RUNTIME_LIBS_27 = D
204 !if "$(RUNTIME_LIBS)" == "static"
205 __RUNTIME_LIBS_27 = $(__THREADSFLAG)
207 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
210 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
213 !if "$(DEBUG_INFO)" == "0"
216 !if "$(DEBUG_INFO)" == "1"
219 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
220 __DEBUGINFO_1 = /DEBUG
222 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
225 !if "$(DEBUG_INFO)" == "0"
228 !if "$(DEBUG_INFO)" == "1"
229 __DEBUGINFO_1 = /DEBUG
231 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
232 ____DEBUGRUNTIME = /D_DEBUG
234 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
237 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
240 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
241 ____DEBUGRUNTIME = /D_DEBUG
243 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
246 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
249 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
252 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
255 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
258 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
259 __DEBUGRUNTIME_0 = /opt:ref /opt:icf
261 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
262 __DEBUGRUNTIME_0 = /opt:ref /opt:icf
264 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
267 !if "$(BUILD)" == "debug"
270 !if "$(BUILD)" == "release"
273 !if "$(USE_THREADS)" == "0"
276 !if "$(USE_THREADS)" == "1"
279 !if "$(USE_RTTI)" == "0"
282 !if "$(USE_RTTI)" == "1"
285 !if "$(USE_EXCEPTIONS)" == "0"
288 !if "$(USE_EXCEPTIONS)" == "1"
289 __EXCEPTIONSFLAG = /EHsc
291 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
292 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
294 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
295 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
297 !if "$(WXUNIV)" == "1"
298 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
300 !if "$(DEBUG_FLAG)" == "0"
301 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
303 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
304 __NDEBUG_DEFINE_p = /DNDEBUG
306 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
307 __NDEBUG_DEFINE_p = /DNDEBUG
309 !if "$(USE_EXCEPTIONS)" == "0"
310 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
312 !if "$(USE_RTTI)" == "0"
313 __RTTI_DEFINE_p = /DwxNO_RTTI
315 !if "$(USE_THREADS)" == "0"
316 __THREAD_DEFINE_p = /DwxNO_THREADS
318 !if "$(UNICODE)" == "0"
319 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
321 !if "$(UNICODE)" == "1"
322 __UNICODE_DEFINE_p = /D_UNICODE
325 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
327 !if "$(USE_CAIRO)" == "1"
328 ____CAIRO_INCLUDEDIR_FILENAMES = /I$(CAIRO_ROOT)\include\cairo
330 !if "$(MONOLITHIC)" == "0"
332 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
334 !if "$(MONOLITHIC)" == "0"
336 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
338 !if "$(MONOLITHIC)" == "1"
340 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
342 !if "$(USE_GUI)" == "1"
343 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
345 !if "$(USE_GUI)" == "1"
346 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
348 !if "$(USE_GUI)" == "1"
349 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
352 __UNICOWS_LIB_p = unicows.lib
354 !if "$(USE_CAIRO)" == "1"
355 __CAIRO_LIB_p = cairo.lib
357 !if "$(USE_CAIRO)" == "1"
358 ____CAIRO_LIBDIR_FILENAMES = /LIBPATH:$(CAIRO_ROOT)\lib
364 -if not exist $(OBJS) mkdir $(OBJS)
368 all: $(OBJS)\render.exe $(__renddll___depname)
371 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
372 -if exist $(OBJS)\*.res del $(OBJS)\*.res
373 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
374 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
375 -if exist $(OBJS)\render.ilk del $(OBJS)\render.ilk
376 -if exist $(OBJS)\render.pdb del $(OBJS)\render.pdb
377 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_vc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_vc.dll
378 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_vc.ilk del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_vc.ilk
379 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_vc.pdb del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_vc.pdb
381 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
382 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\render.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
383 $(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
386 !if "$(SHARED)" == "1"
387 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_vc.dll: $(RENDDLL_OBJECTS)
388 link /DLL /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_vc.pdb" $(__DEBUGINFO_19) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
389 $(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
393 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
394 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
396 $(OBJS)\render_render.obj: .\render.cpp
397 $(CXX) /c /nologo /TP /Fo$@ $(RENDER_CXXFLAGS) .\render.cpp
399 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
400 $(CXX) /c /nologo /TP /Fo$@ $(RENDDLL_CXXFLAGS) .\renddll.cpp