1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.8 (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)1
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 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
27 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
28 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
29 /I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /I. \
30 $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG) \
31 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
33 $(OBJS)\render_render.obj
35 $(OBJS)\render_sample.res
36 RENDDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_27)$(__DEBUGRUNTIME) /DWIN32 \
38 /Fd$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_vc.pdb \
39 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
40 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) \
41 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
42 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \
43 $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /DWXUSINGDLL $(__RTTIFLAG) \
44 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
46 $(OBJS)\renddll_renddll.obj
48 ### Conditionally set variables: ###
50 !if "$(USE_GUI)" == "0"
53 !if "$(USE_GUI)" == "1"
56 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
59 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
62 !if "$(UNICODE)" == "1"
65 !if "$(WXUNIV)" == "1"
68 !if "$(TARGET_CPU)" == "AMD64"
69 DIR_SUFFIX_CPU = _amd64
71 !if "$(TARGET_CPU)" == "IA64"
72 DIR_SUFFIX_CPU = _ia64
74 !if "$(TARGET_CPU)" == "amd64"
75 DIR_SUFFIX_CPU = _amd64
77 !if "$(TARGET_CPU)" == "ia64"
78 DIR_SUFFIX_CPU = _ia64
80 !if "$(SHARED)" == "1"
83 !if "$(SHARED)" == "0"
86 !if "$(SHARED)" == "1"
89 !if "$(TARGET_CPU)" == "AMD64"
90 LINK_TARGET_CPU = /MACHINE:X64
92 !if "$(TARGET_CPU)" == "IA64"
93 LINK_TARGET_CPU = /MACHINE:IA64
95 !if "$(TARGET_CPU)" == "amd64"
96 LINK_TARGET_CPU = /MACHINE:X64
98 !if "$(TARGET_CPU)" == "ia64"
99 LINK_TARGET_CPU = /MACHINE:IA64
101 !if "$(MONOLITHIC)" == "0"
104 !if "$(MONOLITHIC)" == "1"
107 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
108 __DEBUGINFO_2 = $(__DEBUGRUNTIME_0)
110 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
113 !if "$(DEBUG_INFO)" == "0"
116 !if "$(DEBUG_INFO)" == "1"
117 __DEBUGINFO_2 = $(__DEBUGRUNTIME_0)
119 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
120 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
122 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
123 ____DEBUGRUNTIME_3_p_1 =
125 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
126 ____DEBUGRUNTIME_3_p_1 =
128 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
129 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
131 !if "$(RUNTIME_LIBS)" == "dynamic"
132 __RUNTIME_LIBS_10 = D
134 !if "$(RUNTIME_LIBS)" == "static"
135 __RUNTIME_LIBS_10 = $(__THREADSFLAG)
137 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
138 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
140 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
141 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
143 !if "$(WXUNIV)" == "1"
144 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
146 !if "$(DEBUG_FLAG)" == "0"
147 __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0
149 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
150 __NDEBUG_DEFINE_p_1 = /d NDEBUG
152 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
153 __NDEBUG_DEFINE_p_1 = /d NDEBUG
155 !if "$(USE_EXCEPTIONS)" == "0"
156 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
158 !if "$(USE_RTTI)" == "0"
159 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
161 !if "$(USE_THREADS)" == "0"
162 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
164 !if "$(UNICODE)" == "0"
165 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0
167 !if "$(UNICODE)" == "1"
168 __UNICODE_DEFINE_p_1 = /d _UNICODE
171 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
173 !if "$(USE_CAIRO)" == "1"
174 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo
176 !if "$(SHARED)" == "1"
177 __DLLFLAG_p = /DWXUSINGDLL
179 !if "$(SHARED)" == "1"
180 __DLLFLAG_p_1 = /d WXUSINGDLL
182 !if "$(SHARED)" == "1"
183 __renddll___depname = \
184 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_vc.dll
186 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
187 __DEBUGINFO_19 = $(__DEBUGRUNTIME_0)
189 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
192 !if "$(DEBUG_INFO)" == "0"
195 !if "$(DEBUG_INFO)" == "1"
196 __DEBUGINFO_19 = $(__DEBUGRUNTIME_0)
198 !if "$(RUNTIME_LIBS)" == "dynamic"
199 __RUNTIME_LIBS_27 = D
201 !if "$(RUNTIME_LIBS)" == "static"
202 __RUNTIME_LIBS_27 = $(__THREADSFLAG)
204 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
207 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
210 !if "$(DEBUG_INFO)" == "0"
213 !if "$(DEBUG_INFO)" == "1"
216 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
217 __DEBUGINFO_1 = /DEBUG
219 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
222 !if "$(DEBUG_INFO)" == "0"
225 !if "$(DEBUG_INFO)" == "1"
226 __DEBUGINFO_1 = /DEBUG
228 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
229 ____DEBUGRUNTIME = /D_DEBUG
231 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
234 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
237 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
238 ____DEBUGRUNTIME = /D_DEBUG
240 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
243 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
246 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
249 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
252 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
255 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
256 __DEBUGRUNTIME_0 = /opt:ref /opt:icf
258 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
259 __DEBUGRUNTIME_0 = /opt:ref /opt:icf
261 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
264 !if "$(BUILD)" == "debug"
267 !if "$(BUILD)" == "release"
270 !if "$(USE_THREADS)" == "0"
273 !if "$(USE_THREADS)" == "1"
276 !if "$(USE_RTTI)" == "0"
279 !if "$(USE_RTTI)" == "1"
282 !if "$(USE_EXCEPTIONS)" == "0"
285 !if "$(USE_EXCEPTIONS)" == "1"
286 __EXCEPTIONSFLAG = /EHsc
288 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
289 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
291 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
292 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
294 !if "$(WXUNIV)" == "1"
295 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
297 !if "$(DEBUG_FLAG)" == "0"
298 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
300 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
301 __NDEBUG_DEFINE_p = /DNDEBUG
303 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
304 __NDEBUG_DEFINE_p = /DNDEBUG
306 !if "$(USE_EXCEPTIONS)" == "0"
307 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
309 !if "$(USE_RTTI)" == "0"
310 __RTTI_DEFINE_p = /DwxNO_RTTI
312 !if "$(USE_THREADS)" == "0"
313 __THREAD_DEFINE_p = /DwxNO_THREADS
315 !if "$(UNICODE)" == "0"
316 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
318 !if "$(UNICODE)" == "1"
319 __UNICODE_DEFINE_p = /D_UNICODE
322 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
324 !if "$(USE_CAIRO)" == "1"
325 ____CAIRO_INCLUDEDIR_FILENAMES = /I$(CAIRO_ROOT)\include\cairo
327 !if "$(MONOLITHIC)" == "0"
329 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
331 !if "$(MONOLITHIC)" == "0"
333 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
335 !if "$(MONOLITHIC)" == "1"
337 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
339 !if "$(USE_GUI)" == "1"
340 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
342 !if "$(USE_GUI)" == "1"
343 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
345 !if "$(USE_GUI)" == "1"
346 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
349 __UNICOWS_LIB_p = unicows.lib
351 !if "$(USE_CAIRO)" == "1"
352 __CAIRO_LIB_p = cairo.lib
354 !if "$(USE_CAIRO)" == "1"
355 ____CAIRO_LIBDIR_FILENAMES = /LIBPATH:$(CAIRO_ROOT)\lib
361 -if not exist $(OBJS) mkdir $(OBJS)
365 all: $(OBJS)\render.exe $(__renddll___depname)
368 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
369 -if exist $(OBJS)\*.res del $(OBJS)\*.res
370 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
371 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
372 -if exist $(OBJS)\render.ilk del $(OBJS)\render.ilk
373 -if exist $(OBJS)\render.pdb del $(OBJS)\render.pdb
374 -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
375 -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
376 -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
378 $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res
379 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\render.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
380 $(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
383 !if "$(SHARED)" == "1"
384 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)_vc.dll: $(RENDDLL_OBJECTS)
385 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) @<<
386 $(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
390 $(OBJS)\render_sample.res: .\..\..\samples\sample.rc
391 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_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
393 $(OBJS)\render_render.obj: .\render.cpp
394 $(CXX) /c /nologo /TP /Fo$@ $(RENDER_CXXFLAGS) .\render.cpp
396 $(OBJS)\renddll_renddll.obj: .\renddll.cpp
397 $(CXX) /c /nologo /TP /Fo$@ $(RENDDLL_CXXFLAGS) .\renddll.cpp