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