1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.8 (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)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
20 .\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
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) \
33 $(OBJS)\console_console.obj
35 ### Conditionally set variables: ###
37 !if "$(USE_GUI)" == "0"
40 !if "$(USE_GUI)" == "1"
43 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
46 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
49 !if "$(UNICODE)" == "1"
52 !if "$(WXUNIV)" == "1"
55 !if "$(TARGET_CPU)" == "AMD64"
56 DIR_SUFFIX_CPU = _amd64
58 !if "$(TARGET_CPU)" == "IA64"
59 DIR_SUFFIX_CPU = _ia64
61 !if "$(TARGET_CPU)" == "amd64"
62 DIR_SUFFIX_CPU = _amd64
64 !if "$(TARGET_CPU)" == "ia64"
65 DIR_SUFFIX_CPU = _ia64
67 !if "$(SHARED)" == "1"
70 !if "$(SHARED)" == "0"
73 !if "$(SHARED)" == "1"
76 !if "$(TARGET_CPU)" == "AMD64"
77 LINK_TARGET_CPU = /MACHINE:X64
79 !if "$(TARGET_CPU)" == "IA64"
80 LINK_TARGET_CPU = /MACHINE:IA64
82 !if "$(TARGET_CPU)" == "amd64"
83 LINK_TARGET_CPU = /MACHINE:X64
85 !if "$(TARGET_CPU)" == "ia64"
86 LINK_TARGET_CPU = /MACHINE:IA64
88 !if "$(MONOLITHIC)" == "0"
91 !if "$(MONOLITHIC)" == "1"
94 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
97 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
100 !if "$(DEBUG_INFO)" == "0"
103 !if "$(DEBUG_INFO)" == "1"
106 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
107 __DEBUGINFO_1 = /DEBUG
109 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
112 !if "$(DEBUG_INFO)" == "0"
115 !if "$(DEBUG_INFO)" == "1"
116 __DEBUGINFO_1 = /DEBUG
118 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
119 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
121 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
124 !if "$(DEBUG_INFO)" == "0"
127 !if "$(DEBUG_INFO)" == "1"
128 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
130 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
131 ____DEBUGRUNTIME_3_p = /D_DEBUG
133 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
134 ____DEBUGRUNTIME_3_p =
136 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
137 ____DEBUGRUNTIME_3_p =
139 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
140 ____DEBUGRUNTIME_3_p = /D_DEBUG
142 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
145 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
148 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
151 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
154 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
157 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
158 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
160 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
161 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
163 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
166 !if "$(BUILD)" == "debug"
167 __OPTIMIZEFLAG_6 = /Od
169 !if "$(BUILD)" == "release"
170 __OPTIMIZEFLAG_6 = /O2
172 !if "$(USE_THREADS)" == "0"
175 !if "$(USE_THREADS)" == "1"
178 !if "$(RUNTIME_LIBS)" == "dynamic"
179 __RUNTIME_LIBS_10 = D
181 !if "$(RUNTIME_LIBS)" == "static"
182 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
184 !if "$(USE_RTTI)" == "0"
187 !if "$(USE_RTTI)" == "1"
190 !if "$(USE_EXCEPTIONS)" == "0"
191 __EXCEPTIONSFLAG_12 =
193 !if "$(USE_EXCEPTIONS)" == "1"
194 __EXCEPTIONSFLAG_12 = /EHsc
196 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
197 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
199 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
200 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
202 !if "$(WXUNIV)" == "1"
203 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
205 !if "$(DEBUG_FLAG)" == "0"
206 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
208 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
209 __NDEBUG_DEFINE_p = /DNDEBUG
211 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
212 __NDEBUG_DEFINE_p = /DNDEBUG
214 !if "$(USE_EXCEPTIONS)" == "0"
215 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
217 !if "$(USE_RTTI)" == "0"
218 __RTTI_DEFINE_p = /DwxNO_RTTI
220 !if "$(USE_THREADS)" == "0"
221 __THREAD_DEFINE_p = /DwxNO_THREADS
223 !if "$(UNICODE)" == "0"
224 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
226 !if "$(UNICODE)" == "1"
227 __UNICODE_DEFINE_p = /D_UNICODE
230 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
232 !if "$(USE_CAIRO)" == "1"
233 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
235 !if "$(SHARED)" == "1"
236 __DLLFLAG_p = /DWXUSINGDLL
238 !if "$(MONOLITHIC)" == "0"
240 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
242 !if "$(MONOLITHIC)" == "0"
244 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
246 !if "$(MONOLITHIC)" == "1"
248 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
251 __UNICOWS_LIB_p = unicows.lib
253 !if "$(USE_CAIRO)" == "1"
254 __CAIRO_LIB_p = cairo.lib
256 !if "$(USE_CAIRO)" == "1"
257 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
263 -if not exist $(OBJS) mkdir $(OBJS)
267 all: $(OBJS)\console.exe
270 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
271 -if exist $(OBJS)\*.res del $(OBJS)\*.res
272 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
273 -if exist $(OBJS)\console.exe del $(OBJS)\console.exe
274 -if exist $(OBJS)\console.ilk del $(OBJS)\console.ilk
275 -if exist $(OBJS)\console.pdb del $(OBJS)\console.pdb
277 $(OBJS)\console.exe: $(CONSOLE_OBJECTS)
278 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\console.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
279 $(CONSOLE_OBJECTS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_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
282 $(OBJS)\console_console.obj: .\console.cpp
283 $(CXX) /c /nologo /TP /Fo$@ $(CONSOLE_CXXFLAGS) .\console.cpp