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 XTI_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \
24 $(__DEBUGINFO_0) /Fd$(OBJS)\xti.pdb $(____DEBUGRUNTIME_3_p) \
25 $(__OPTIMIZEFLAG_6) /D_CRT_SECURE_NO_DEPRECATE=1 \
26 /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \
27 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
28 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
29 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
30 /I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_p) /W4 /I. \
31 $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG_11) \
32 $(__EXCEPTIONSFLAG_12) $(CPPFLAGS) $(CXXFLAGS)
35 $(OBJS)\xti_classlist.obj \
36 $(OBJS)\xti_codereadercallback.obj
38 $(OBJS)\xti_sample.res
40 ### Conditionally set variables: ###
42 !if "$(TARGET_CPU)" == "AMD64"
45 !if "$(TARGET_CPU)" == "IA64"
48 !if "$(TARGET_CPU)" == "X64"
51 !if "$(TARGET_CPU)" == "amd64"
54 !if "$(TARGET_CPU)" == "ia64"
57 !if "$(TARGET_CPU)" == "x64"
60 !if "$(USE_GUI)" == "0"
63 !if "$(USE_GUI)" == "1"
64 PORTNAME = msw$(TOOLKIT_VERSION)
66 !if "$(OFFICIAL_BUILD)" == "1"
67 COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
69 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
72 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
75 !if "$(UNICODE)" == "1"
78 !if "$(WXUNIV)" == "1"
81 !if "$(SHARED)" == "1"
84 !if "$(SHARED)" == "0"
87 !if "$(SHARED)" == "1"
90 !if "$(TARGET_CPU)" == "AMD64"
91 LINK_TARGET_CPU = /MACHINE:X64
93 !if "$(TARGET_CPU)" == "IA64"
94 LINK_TARGET_CPU = /MACHINE:IA64
96 !if "$(TARGET_CPU)" == "X64"
97 LINK_TARGET_CPU = /MACHINE:X64
99 !if "$(TARGET_CPU)" == "amd64"
100 LINK_TARGET_CPU = /MACHINE:X64
102 !if "$(TARGET_CPU)" == "ia64"
103 LINK_TARGET_CPU = /MACHINE:IA64
105 !if "$(TARGET_CPU)" == "x64"
106 LINK_TARGET_CPU = /MACHINE:X64
108 !if "$(MONOLITHIC)" == "0"
111 !if "$(MONOLITHIC)" == "1"
114 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
117 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
120 !if "$(DEBUG_INFO)" == "0"
123 !if "$(DEBUG_INFO)" == "1"
126 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
127 __DEBUGINFO_1 = /DEBUG
129 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
132 !if "$(DEBUG_INFO)" == "0"
135 !if "$(DEBUG_INFO)" == "1"
136 __DEBUGINFO_1 = /DEBUG
138 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
139 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
141 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
144 !if "$(DEBUG_INFO)" == "0"
147 !if "$(DEBUG_INFO)" == "1"
148 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
150 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
151 ____DEBUGRUNTIME_3_p = /D_DEBUG
153 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
154 ____DEBUGRUNTIME_3_p =
156 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
157 ____DEBUGRUNTIME_3_p =
159 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
160 ____DEBUGRUNTIME_3_p = /D_DEBUG
162 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
163 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
165 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
166 ____DEBUGRUNTIME_3_p_1 =
168 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
169 ____DEBUGRUNTIME_3_p_1 =
171 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
172 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
174 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
177 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
180 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
183 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
186 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
189 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
190 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
192 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
193 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
195 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
198 !if "$(BUILD)" == "debug"
199 __OPTIMIZEFLAG_6 = /Od
201 !if "$(BUILD)" == "release"
202 __OPTIMIZEFLAG_6 = /O2
204 !if "$(USE_THREADS)" == "0"
207 !if "$(USE_THREADS)" == "1"
210 !if "$(RUNTIME_LIBS)" == "dynamic"
211 __RUNTIME_LIBS_10 = D
213 !if "$(RUNTIME_LIBS)" == "static"
214 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
216 !if "$(USE_RTTI)" == "0"
219 !if "$(USE_RTTI)" == "1"
222 !if "$(USE_EXCEPTIONS)" == "0"
223 __EXCEPTIONSFLAG_12 =
225 !if "$(USE_EXCEPTIONS)" == "1"
226 __EXCEPTIONSFLAG_12 = /EHsc
228 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
229 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
231 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
232 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
234 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
235 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
237 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
238 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
240 !if "$(WXUNIV)" == "1"
241 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
243 !if "$(WXUNIV)" == "1"
244 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
246 !if "$(DEBUG_FLAG)" == "0"
247 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
249 !if "$(DEBUG_FLAG)" == "0"
250 __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0
252 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
253 __NDEBUG_DEFINE_p = /DNDEBUG
255 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
256 __NDEBUG_DEFINE_p = /DNDEBUG
258 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
259 __NDEBUG_DEFINE_p_1 = /d NDEBUG
261 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
262 __NDEBUG_DEFINE_p_1 = /d NDEBUG
264 !if "$(USE_EXCEPTIONS)" == "0"
265 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
267 !if "$(USE_EXCEPTIONS)" == "0"
268 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
270 !if "$(USE_RTTI)" == "0"
271 __RTTI_DEFINE_p = /DwxNO_RTTI
273 !if "$(USE_RTTI)" == "0"
274 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
276 !if "$(USE_THREADS)" == "0"
277 __THREAD_DEFINE_p = /DwxNO_THREADS
279 !if "$(USE_THREADS)" == "0"
280 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
282 !if "$(UNICODE)" == "0"
283 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
285 !if "$(UNICODE)" == "1"
286 __UNICODE_DEFINE_p = /D_UNICODE
288 !if "$(UNICODE)" == "0"
289 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0
291 !if "$(UNICODE)" == "1"
292 __UNICODE_DEFINE_p_1 = /d _UNICODE
295 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
298 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
300 !if "$(USE_CAIRO)" == "1"
301 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
303 !if "$(USE_CAIRO)" == "1"
304 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo
306 !if "$(SHARED)" == "1"
307 __DLLFLAG_p = /DWXUSINGDLL
309 !if "$(SHARED)" == "1"
310 __DLLFLAG_p_1 = /d WXUSINGDLL
312 !if "$(MONOLITHIC)" == "0"
314 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
316 !if "$(MONOLITHIC)" == "0"
318 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
320 !if "$(MONOLITHIC)" == "0"
322 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
324 !if "$(MONOLITHIC)" == "1"
326 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
328 !if "$(MONOLITHIC)" == "1"
329 __LIB_SCINTILLA_IF_MONO_p = wxscintilla$(WXDEBUGFLAG).lib
331 !if "$(USE_GUI)" == "1"
332 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
334 !if "$(USE_GUI)" == "1"
335 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
337 !if "$(USE_GUI)" == "1"
338 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
341 __UNICOWS_LIB_p = unicows.lib
343 !if "$(USE_CAIRO)" == "1"
344 __CAIRO_LIB_p = cairo.lib
346 !if "$(USE_CAIRO)" == "1"
347 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
353 -if not exist $(OBJS) mkdir $(OBJS)
360 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
361 -if exist $(OBJS)\*.res del $(OBJS)\*.res
362 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
363 -if exist $(OBJS)\xti.exe del $(OBJS)\xti.exe
364 -if exist $(OBJS)\xti.ilk del $(OBJS)\xti.ilk
365 -if exist $(OBJS)\xti.pdb del $(OBJS)\xti.pdb
367 $(OBJS)\xti.exe: $(XTI_OBJECTS) $(OBJS)\xti_sample.res
368 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\xti.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
369 $(XTI_OBJECTS) $(XTI_RESOURCES) $(__WXLIB_CORE_p) $(__WXLIB_XML_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
372 $(OBJS)\xti_sample.res: .\..\..\samples\sample.rc
373 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
375 $(OBJS)\xti_xti.obj: .\xti.cpp
376 $(CXX) /c /nologo /TP /Fo$@ $(XTI_CXXFLAGS) .\xti.cpp
378 $(OBJS)\xti_classlist.obj: .\classlist.cpp
379 $(CXX) /c /nologo /TP /Fo$@ $(XTI_CXXFLAGS) .\classlist.cpp
381 $(OBJS)\xti_codereadercallback.obj: .\codereadercallback.cpp
382 $(CXX) /c /nologo /TP /Fo$@ $(XTI_CXXFLAGS) .\codereadercallback.cpp