]> git.saurik.com Git - wxWidgets.git/blob - samples/xti/makefile.vc
Applied patch #15286: documentation and col/rowspan demo by dghart
[wxWidgets.git] / samples / xti / makefile.vc
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 # =========================================================================
6
7 !include <../../build/msw/config.vc>
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 WX_RELEASE_NODOT = 29
16 COMPILER_PREFIX = vc
17 OBJS = \
18 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX)
19 LIBDIRNAME = \
20 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG)
21 SETUPHDIR = \
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__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
28 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
29 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
30 $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \
31 $(____CAIRO_INCLUDEDIR_FILENAMES_p) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \
32 /I.\..\..\samples /DNOPCH $(__RTTIFLAG_11) $(__EXCEPTIONSFLAG_12) \
33 $(CPPFLAGS) $(CXXFLAGS)
34 XTI_OBJECTS = \
35 $(OBJS)\xti_xti.obj \
36 $(OBJS)\xti_classlist.obj \
37 $(OBJS)\xti_codereadercallback.obj
38 XTI_RESOURCES = \
39 $(OBJS)\xti_sample.res
40
41 ### Conditionally set variables: ###
42
43 !if "$(TOOLKIT)" == "GTK"
44 WIN32_TOOLKIT_LOWERCASE = gtk
45 !endif
46 !if "$(TOOLKIT)" == "MSW"
47 WIN32_TOOLKIT_LOWERCASE = msw
48 !endif
49 !if "$(TARGET_CPU)" == "AMD64"
50 ARCH_SUFFIX = _x64
51 !endif
52 !if "$(TARGET_CPU)" == "IA64"
53 ARCH_SUFFIX = _ia64
54 !endif
55 !if "$(TARGET_CPU)" == "X64"
56 ARCH_SUFFIX = _x64
57 !endif
58 !if "$(TARGET_CPU)" == "amd64"
59 ARCH_SUFFIX = _x64
60 !endif
61 !if "$(TARGET_CPU)" == "ia64"
62 ARCH_SUFFIX = _ia64
63 !endif
64 !if "$(TARGET_CPU)" == "x64"
65 ARCH_SUFFIX = _x64
66 !endif
67 !if "$(USE_GUI)" == "0"
68 PORTNAME = base
69 !endif
70 !if "$(USE_GUI)" == "1"
71 PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
72 !endif
73 !if "$(TOOLKIT)" == "MAC"
74 WXBASEPORT = _carbon
75 !endif
76 !if "$(OFFICIAL_BUILD)" == "1"
77 COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
78 !endif
79 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
80 WXDEBUGFLAG = d
81 !endif
82 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
83 WXDEBUGFLAG = d
84 !endif
85 !if "$(UNICODE)" == "1"
86 WXUNICODEFLAG = u
87 !endif
88 !if "$(WXUNIV)" == "1"
89 WXUNIVNAME = univ
90 !endif
91 !if "$(SHARED)" == "1"
92 WXDLLFLAG = dll
93 !endif
94 !if "$(SHARED)" == "0"
95 LIBTYPE_SUFFIX = lib
96 !endif
97 !if "$(SHARED)" == "1"
98 LIBTYPE_SUFFIX = dll
99 !endif
100 !if "$(TARGET_CPU)" == "AMD64"
101 LINK_TARGET_CPU = /MACHINE:X64
102 !endif
103 !if "$(TARGET_CPU)" == "IA64"
104 LINK_TARGET_CPU = /MACHINE:IA64
105 !endif
106 !if "$(TARGET_CPU)" == "X64"
107 LINK_TARGET_CPU = /MACHINE:X64
108 !endif
109 !if "$(TARGET_CPU)" == "amd64"
110 LINK_TARGET_CPU = /MACHINE:X64
111 !endif
112 !if "$(TARGET_CPU)" == "ia64"
113 LINK_TARGET_CPU = /MACHINE:IA64
114 !endif
115 !if "$(TARGET_CPU)" == "x64"
116 LINK_TARGET_CPU = /MACHINE:X64
117 !endif
118 !if "$(MONOLITHIC)" == "0"
119 EXTRALIBS_FOR_BASE =
120 !endif
121 !if "$(MONOLITHIC)" == "1"
122 EXTRALIBS_FOR_BASE =
123 !endif
124 !if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2"
125 LIB_GTK = gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib \
126 gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib \
127 glib-2.0.lib
128 !endif
129 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
130 __DEBUGINFO_0 = /Zi
131 !endif
132 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
133 __DEBUGINFO_0 =
134 !endif
135 !if "$(DEBUG_INFO)" == "0"
136 __DEBUGINFO_0 =
137 !endif
138 !if "$(DEBUG_INFO)" == "1"
139 __DEBUGINFO_0 = /Zi
140 !endif
141 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
142 __DEBUGINFO_1 = /DEBUG
143 !endif
144 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
145 __DEBUGINFO_1 =
146 !endif
147 !if "$(DEBUG_INFO)" == "0"
148 __DEBUGINFO_1 =
149 !endif
150 !if "$(DEBUG_INFO)" == "1"
151 __DEBUGINFO_1 = /DEBUG
152 !endif
153 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
154 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
155 !endif
156 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
157 __DEBUGINFO_2 =
158 !endif
159 !if "$(DEBUG_INFO)" == "0"
160 __DEBUGINFO_2 =
161 !endif
162 !if "$(DEBUG_INFO)" == "1"
163 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
164 !endif
165 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
166 ____DEBUGRUNTIME_3_p = /D_DEBUG
167 !endif
168 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
169 ____DEBUGRUNTIME_3_p =
170 !endif
171 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
172 ____DEBUGRUNTIME_3_p =
173 !endif
174 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
175 ____DEBUGRUNTIME_3_p = /D_DEBUG
176 !endif
177 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
178 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
179 !endif
180 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
181 ____DEBUGRUNTIME_3_p_1 =
182 !endif
183 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
184 ____DEBUGRUNTIME_3_p_1 =
185 !endif
186 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
187 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
188 !endif
189 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
190 __DEBUGRUNTIME_4 = d
191 !endif
192 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
193 __DEBUGRUNTIME_4 =
194 !endif
195 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
196 __DEBUGRUNTIME_4 =
197 !endif
198 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
199 __DEBUGRUNTIME_4 = d
200 !endif
201 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
202 __DEBUGRUNTIME_5 =
203 !endif
204 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
205 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
206 !endif
207 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
208 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
209 !endif
210 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
211 __DEBUGRUNTIME_5 =
212 !endif
213 !if "$(BUILD)" == "debug"
214 __OPTIMIZEFLAG_6 = /Od
215 !endif
216 !if "$(BUILD)" == "release"
217 __OPTIMIZEFLAG_6 = /O2
218 !endif
219 !if "$(USE_THREADS)" == "0"
220 __THREADSFLAG_9 = L
221 !endif
222 !if "$(USE_THREADS)" == "1"
223 __THREADSFLAG_9 = T
224 !endif
225 !if "$(RUNTIME_LIBS)" == "dynamic"
226 __RUNTIME_LIBS_10 = D
227 !endif
228 !if "$(RUNTIME_LIBS)" == "static"
229 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
230 !endif
231 !if "$(USE_RTTI)" == "0"
232 __RTTIFLAG_11 =
233 !endif
234 !if "$(USE_RTTI)" == "1"
235 __RTTIFLAG_11 = /GR
236 !endif
237 !if "$(USE_EXCEPTIONS)" == "0"
238 __EXCEPTIONSFLAG_12 =
239 !endif
240 !if "$(USE_EXCEPTIONS)" == "1"
241 __EXCEPTIONSFLAG_12 = /EHsc
242 !endif
243 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
244 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
245 !endif
246 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
247 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
248 !endif
249 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
250 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
251 !endif
252 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
253 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
254 !endif
255 !if "$(WXUNIV)" == "1"
256 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
257 !endif
258 !if "$(WXUNIV)" == "1"
259 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
260 !endif
261 !if "$(DEBUG_FLAG)" == "0"
262 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
263 !endif
264 !if "$(DEBUG_FLAG)" == "0"
265 __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0
266 !endif
267 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
268 __NDEBUG_DEFINE_p = /DNDEBUG
269 !endif
270 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
271 __NDEBUG_DEFINE_p = /DNDEBUG
272 !endif
273 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
274 __NDEBUG_DEFINE_p_1 = /d NDEBUG
275 !endif
276 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
277 __NDEBUG_DEFINE_p_1 = /d NDEBUG
278 !endif
279 !if "$(USE_EXCEPTIONS)" == "0"
280 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
281 !endif
282 !if "$(USE_EXCEPTIONS)" == "0"
283 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
284 !endif
285 !if "$(USE_RTTI)" == "0"
286 __RTTI_DEFINE_p = /DwxNO_RTTI
287 !endif
288 !if "$(USE_RTTI)" == "0"
289 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
290 !endif
291 !if "$(USE_THREADS)" == "0"
292 __THREAD_DEFINE_p = /DwxNO_THREADS
293 !endif
294 !if "$(USE_THREADS)" == "0"
295 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
296 !endif
297 !if "$(UNICODE)" == "0"
298 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
299 !endif
300 !if "$(UNICODE)" == "1"
301 __UNICODE_DEFINE_p = /D_UNICODE
302 !endif
303 !if "$(UNICODE)" == "0"
304 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0
305 !endif
306 !if "$(UNICODE)" == "1"
307 __UNICODE_DEFINE_p_1 = /d _UNICODE
308 !endif
309 !if "$(MSLU)" == "1"
310 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
311 !endif
312 !if "$(MSLU)" == "1"
313 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
314 !endif
315 !if "$(USE_CAIRO)" == "1"
316 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
317 !endif
318 !if "$(USE_CAIRO)" == "1"
319 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo
320 !endif
321 !if "$(SHARED)" == "1"
322 __DLLFLAG_p = /DWXUSINGDLL
323 !endif
324 !if "$(SHARED)" == "1"
325 __DLLFLAG_p_1 = /d WXUSINGDLL
326 !endif
327 !if "$(MONOLITHIC)" == "0"
328 __WXLIB_CORE_p = \
329 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
330 !endif
331 !if "$(MONOLITHIC)" == "0"
332 __WXLIB_XML_p = \
333 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
334 !endif
335 !if "$(MONOLITHIC)" == "0"
336 __WXLIB_BASE_p = \
337 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
338 !endif
339 !if "$(MONOLITHIC)" == "1"
340 __WXLIB_MONO_p = \
341 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
342 !endif
343 !if "$(USE_GUI)" == "1"
344 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
345 !endif
346 !if "$(USE_GUI)" == "1"
347 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
348 !endif
349 !if "$(USE_GUI)" == "1"
350 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
351 !endif
352 !if "$(MSLU)" == "1"
353 __UNICOWS_LIB_p = unicows.lib
354 !endif
355 !if "$(USE_CAIRO)" == "1"
356 __CAIRO_LIB_p = cairo.lib
357 !endif
358 !if "$(USE_CAIRO)" == "1"
359 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
360 !endif
361
362
363 all: $(OBJS)
364 $(OBJS):
365 -if not exist $(OBJS) mkdir $(OBJS)
366
367 ### Targets: ###
368
369 all: $(OBJS)\xti.exe
370
371 clean:
372 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
373 -if exist $(OBJS)\*.res del $(OBJS)\*.res
374 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
375 -if exist $(OBJS)\xti.exe del $(OBJS)\xti.exe
376 -if exist $(OBJS)\xti.ilk del $(OBJS)\xti.ilk
377 -if exist $(OBJS)\xti.pdb del $(OBJS)\xti.pdb
378
379 $(OBJS)\xti.exe: $(XTI_OBJECTS) $(OBJS)\xti_sample.res
380 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\xti.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
381 $(XTI_OBJECTS) $(XTI_RESOURCES) $(__WXLIB_CORE_p) $(__WXLIB_XML_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
382 <<
383
384 $(OBJS)\xti_sample.res: .\..\..\samples\sample.rc
385 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
386
387 $(OBJS)\xti_xti.obj: .\xti.cpp
388 $(CXX) /c /nologo /TP /Fo$@ $(XTI_CXXFLAGS) .\xti.cpp
389
390 $(OBJS)\xti_classlist.obj: .\classlist.cpp
391 $(CXX) /c /nologo /TP /Fo$@ $(XTI_CXXFLAGS) .\classlist.cpp
392
393 $(OBJS)\xti_codereadercallback.obj: .\codereadercallback.cpp
394 $(CXX) /c /nologo /TP /Fo$@ $(XTI_CXXFLAGS) .\codereadercallback.cpp
395