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