]> git.saurik.com Git - wxWidgets.git/blob - samples/console/makefile.vc
Use symbolic constants instead of magic numbers in wxDataViewCtrl code.
[wxWidgets.git] / samples / console / 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 CONSOLE_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \
24 $(__DEBUGINFO_0) /Fd$(OBJS)\console.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_CONSOLE \
32 /DwxUSE_GUI=0 $(__RTTIFLAG_11) $(__EXCEPTIONSFLAG_12) $(CPPFLAGS) \
33 $(CXXFLAGS)
34 CONSOLE_OBJECTS = \
35 $(OBJS)\console_console.obj
36
37 ### Conditionally set variables: ###
38
39 !if "$(TOOLKIT)" == "GTK"
40 WIN32_TOOLKIT_LOWERCASE = gtk
41 !endif
42 !if "$(TOOLKIT)" == "MSW"
43 WIN32_TOOLKIT_LOWERCASE = msw
44 !endif
45 !if "$(TARGET_CPU)" == "AMD64"
46 ARCH_SUFFIX = _x64
47 !endif
48 !if "$(TARGET_CPU)" == "IA64"
49 ARCH_SUFFIX = _ia64
50 !endif
51 !if "$(TARGET_CPU)" == "X64"
52 ARCH_SUFFIX = _x64
53 !endif
54 !if "$(TARGET_CPU)" == "amd64"
55 ARCH_SUFFIX = _x64
56 !endif
57 !if "$(TARGET_CPU)" == "ia64"
58 ARCH_SUFFIX = _ia64
59 !endif
60 !if "$(TARGET_CPU)" == "x64"
61 ARCH_SUFFIX = _x64
62 !endif
63 !if "$(USE_GUI)" == "0"
64 PORTNAME = base
65 !endif
66 !if "$(USE_GUI)" == "1"
67 PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
68 !endif
69 !if "$(TOOLKIT)" == "MAC"
70 WXBASEPORT = _carbon
71 !endif
72 !if "$(OFFICIAL_BUILD)" == "1"
73 COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
74 !endif
75 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
76 WXDEBUGFLAG = d
77 !endif
78 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
79 WXDEBUGFLAG = d
80 !endif
81 !if "$(UNICODE)" == "1"
82 WXUNICODEFLAG = u
83 !endif
84 !if "$(WXUNIV)" == "1"
85 WXUNIVNAME = univ
86 !endif
87 !if "$(SHARED)" == "1"
88 WXDLLFLAG = dll
89 !endif
90 !if "$(SHARED)" == "0"
91 LIBTYPE_SUFFIX = lib
92 !endif
93 !if "$(SHARED)" == "1"
94 LIBTYPE_SUFFIX = dll
95 !endif
96 !if "$(TARGET_CPU)" == "AMD64"
97 LINK_TARGET_CPU = /MACHINE:X64
98 !endif
99 !if "$(TARGET_CPU)" == "IA64"
100 LINK_TARGET_CPU = /MACHINE:IA64
101 !endif
102 !if "$(TARGET_CPU)" == "X64"
103 LINK_TARGET_CPU = /MACHINE:X64
104 !endif
105 !if "$(TARGET_CPU)" == "amd64"
106 LINK_TARGET_CPU = /MACHINE:X64
107 !endif
108 !if "$(TARGET_CPU)" == "ia64"
109 LINK_TARGET_CPU = /MACHINE:IA64
110 !endif
111 !if "$(TARGET_CPU)" == "x64"
112 LINK_TARGET_CPU = /MACHINE:X64
113 !endif
114 !if "$(MONOLITHIC)" == "0"
115 EXTRALIBS_FOR_BASE =
116 !endif
117 !if "$(MONOLITHIC)" == "1"
118 EXTRALIBS_FOR_BASE =
119 !endif
120 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
121 __DEBUGINFO_0 = /Zi
122 !endif
123 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
124 __DEBUGINFO_0 =
125 !endif
126 !if "$(DEBUG_INFO)" == "0"
127 __DEBUGINFO_0 =
128 !endif
129 !if "$(DEBUG_INFO)" == "1"
130 __DEBUGINFO_0 = /Zi
131 !endif
132 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
133 __DEBUGINFO_1 = /DEBUG
134 !endif
135 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
136 __DEBUGINFO_1 =
137 !endif
138 !if "$(DEBUG_INFO)" == "0"
139 __DEBUGINFO_1 =
140 !endif
141 !if "$(DEBUG_INFO)" == "1"
142 __DEBUGINFO_1 = /DEBUG
143 !endif
144 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
145 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
146 !endif
147 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
148 __DEBUGINFO_2 =
149 !endif
150 !if "$(DEBUG_INFO)" == "0"
151 __DEBUGINFO_2 =
152 !endif
153 !if "$(DEBUG_INFO)" == "1"
154 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
155 !endif
156 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
157 ____DEBUGRUNTIME_3_p = /D_DEBUG
158 !endif
159 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
160 ____DEBUGRUNTIME_3_p =
161 !endif
162 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
163 ____DEBUGRUNTIME_3_p =
164 !endif
165 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
166 ____DEBUGRUNTIME_3_p = /D_DEBUG
167 !endif
168 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
169 __DEBUGRUNTIME_4 = d
170 !endif
171 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
172 __DEBUGRUNTIME_4 =
173 !endif
174 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
175 __DEBUGRUNTIME_4 =
176 !endif
177 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
178 __DEBUGRUNTIME_4 = d
179 !endif
180 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
181 __DEBUGRUNTIME_5 =
182 !endif
183 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
184 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
185 !endif
186 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
187 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
188 !endif
189 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
190 __DEBUGRUNTIME_5 =
191 !endif
192 !if "$(BUILD)" == "debug"
193 __OPTIMIZEFLAG_6 = /Od
194 !endif
195 !if "$(BUILD)" == "release"
196 __OPTIMIZEFLAG_6 = /O2
197 !endif
198 !if "$(USE_THREADS)" == "0"
199 __THREADSFLAG_9 = L
200 !endif
201 !if "$(USE_THREADS)" == "1"
202 __THREADSFLAG_9 = T
203 !endif
204 !if "$(RUNTIME_LIBS)" == "dynamic"
205 __RUNTIME_LIBS_10 = D
206 !endif
207 !if "$(RUNTIME_LIBS)" == "static"
208 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
209 !endif
210 !if "$(USE_RTTI)" == "0"
211 __RTTIFLAG_11 =
212 !endif
213 !if "$(USE_RTTI)" == "1"
214 __RTTIFLAG_11 = /GR
215 !endif
216 !if "$(USE_EXCEPTIONS)" == "0"
217 __EXCEPTIONSFLAG_12 =
218 !endif
219 !if "$(USE_EXCEPTIONS)" == "1"
220 __EXCEPTIONSFLAG_12 = /EHsc
221 !endif
222 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
223 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
224 !endif
225 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
226 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
227 !endif
228 !if "$(WXUNIV)" == "1"
229 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
230 !endif
231 !if "$(DEBUG_FLAG)" == "0"
232 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
233 !endif
234 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
235 __NDEBUG_DEFINE_p = /DNDEBUG
236 !endif
237 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
238 __NDEBUG_DEFINE_p = /DNDEBUG
239 !endif
240 !if "$(USE_EXCEPTIONS)" == "0"
241 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
242 !endif
243 !if "$(USE_RTTI)" == "0"
244 __RTTI_DEFINE_p = /DwxNO_RTTI
245 !endif
246 !if "$(USE_THREADS)" == "0"
247 __THREAD_DEFINE_p = /DwxNO_THREADS
248 !endif
249 !if "$(UNICODE)" == "0"
250 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
251 !endif
252 !if "$(UNICODE)" == "1"
253 __UNICODE_DEFINE_p = /D_UNICODE
254 !endif
255 !if "$(MSLU)" == "1"
256 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
257 !endif
258 !if "$(USE_CAIRO)" == "1"
259 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
260 !endif
261 !if "$(SHARED)" == "1"
262 __DLLFLAG_p = /DWXUSINGDLL
263 !endif
264 !if "$(MONOLITHIC)" == "0"
265 __WXLIB_NET_p = \
266 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
267 !endif
268 !if "$(MONOLITHIC)" == "0"
269 __WXLIB_BASE_p = \
270 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
271 !endif
272 !if "$(MONOLITHIC)" == "1"
273 __WXLIB_MONO_p = \
274 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
275 !endif
276 !if "$(MONOLITHIC)" == "1"
277 __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)
278 !endif
279 !if "$(USE_GUI)" == "1"
280 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
281 !endif
282 !if "$(MSLU)" == "1"
283 __UNICOWS_LIB_p = unicows.lib
284 !endif
285 !if "$(USE_CAIRO)" == "1"
286 __CAIRO_LIB_p = cairo.lib
287 !endif
288 !if "$(USE_CAIRO)" == "1"
289 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
290 !endif
291
292
293 all: $(OBJS)
294 $(OBJS):
295 -if not exist $(OBJS) mkdir $(OBJS)
296
297 ### Targets: ###
298
299 all: $(OBJS)\console.exe
300
301 clean:
302 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
303 -if exist $(OBJS)\*.res del $(OBJS)\*.res
304 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
305 -if exist $(OBJS)\console.exe del $(OBJS)\console.exe
306 -if exist $(OBJS)\console.ilk del $(OBJS)\console.ilk
307 -if exist $(OBJS)\console.pdb del $(OBJS)\console.pdb
308
309 $(OBJS)\console.exe: $(CONSOLE_OBJECTS)
310 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\console.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
311 $(CONSOLE_OBJECTS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_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
312 <<
313
314 $(OBJS)\console_console.obj: .\console.cpp
315 $(CXX) /c /nologo /TP /Fo$@ $(CONSOLE_CXXFLAGS) .\console.cpp
316