1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (http://bakefile.sourceforge.net)
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 # -------------------------------------------------------------------------
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
20 EXEC_CXXFLAGS = /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \
21 $(__DEBUGINFO_0) /Fd$(OBJS)\exec.pdb $(____DEBUGRUNTIME_2_p) \
22 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
23 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \
24 /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH \
25 $(__EXCEPTIONSFLAG_8) $(__EXCEPTIONSFLAG_9) $(CPPFLAGS) $(CXXFLAGS)
27 $(OBJS)\exec_exec.obj \
30 ### Conditionally set variables: ###
32 !if "$(USE_GUI)" == "0"
35 !if "$(USE_GUI)" == "1"
38 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
41 !if "$(DEBUG_FLAG)" == "1"
44 !if "$(UNICODE)" == "1"
47 !if "$(WXUNIV)" == "1"
50 !if "$(SHARED)" == "1"
53 !if "$(MONOLITHIC)" == "0"
56 !if "$(MONOLITHIC)" == "1"
59 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
62 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
65 !if "$(DEBUG_INFO)" == "0"
68 !if "$(DEBUG_INFO)" == "1"
71 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
72 __DEBUGINFO_1 = /DEBUG
74 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
77 !if "$(DEBUG_INFO)" == "0"
80 !if "$(DEBUG_INFO)" == "1"
81 __DEBUGINFO_1 = /DEBUG
83 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
84 ____DEBUGRUNTIME_2_p =
86 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
87 ____DEBUGRUNTIME_2_p = /D_DEBUG
89 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
90 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
92 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
93 ____DEBUGINFO_2_p = /D_DEBUG
95 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
98 !if "$(DEBUG_INFO)" == "0"
101 !if "$(DEBUG_INFO)" == "1"
102 ____DEBUGINFO_2_p = /D_DEBUG
104 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
105 ____DEBUGRUNTIME_2_p_1 =
107 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
108 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
110 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
111 ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
113 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
114 ____DEBUGINFO_2_p_1 = /d _DEBUG
116 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
117 ____DEBUGINFO_2_p_1 =
119 !if "$(DEBUG_INFO)" == "0"
120 ____DEBUGINFO_2_p_1 =
122 !if "$(DEBUG_INFO)" == "1"
123 ____DEBUGINFO_2_p_1 = /d _DEBUG
125 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
128 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
131 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
132 __DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
134 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
137 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
140 !if "$(DEBUG_INFO)" == "0"
143 !if "$(DEBUG_INFO)" == "1"
146 !if "$(BUILD)" == "debug"
147 __OPTIMIZEFLAG_4 = /Od
149 !if "$(BUILD)" == "release"
150 __OPTIMIZEFLAG_4 = /O2
152 !if "$(RUNTIME_LIBS)" == "dynamic"
155 !if "$(RUNTIME_LIBS)" == "static"
158 !if "$(USE_EXCEPTIONS)" == "0"
161 !if "$(USE_EXCEPTIONS)" == "1"
162 __EXCEPTIONSFLAG_8 = /GR
164 !if "$(USE_EXCEPTIONS)" == "0"
167 !if "$(USE_EXCEPTIONS)" == "1"
168 __EXCEPTIONSFLAG_9 = /GX
170 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
171 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
173 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
174 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
176 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
177 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
179 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
180 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
182 !if "$(WXUNIV)" == "1"
183 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
185 !if "$(WXUNIV)" == "1"
186 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
188 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
189 __DEBUG_DEFINE_p = /D__WXDEBUG__
191 !if "$(DEBUG_FLAG)" == "1"
192 __DEBUG_DEFINE_p = /D__WXDEBUG__
194 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
195 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
197 !if "$(DEBUG_FLAG)" == "1"
198 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
200 !if "$(UNICODE)" == "1"
201 __UNICODE_DEFINE_p = /D_UNICODE
203 !if "$(UNICODE)" == "1"
204 __UNICODE_DEFINE_p_1 = /d _UNICODE
206 !if "$(SHARED)" == "1"
207 __DLLFLAG_p = /DWXUSINGDLL
209 !if "$(SHARED)" == "1"
210 __DLLFLAG_p_1 = /d WXUSINGDLL
212 !if "$(MONOLITHIC)" == "0"
214 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
216 !if "$(MONOLITHIC)" == "0"
218 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
220 !if "$(MONOLITHIC)" == "1"
222 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
224 !if "$(USE_GUI)" == "1"
225 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
227 !if "$(USE_GUI)" == "1"
228 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
230 !if "$(USE_GUI)" == "1"
231 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
234 __UNICOWS_LIB_p = unicows.lib
236 !if "$(SHARED)" == "0"
237 LIBDIRNAME = .\..\..\lib\vc_lib$(CFG)
239 !if "$(SHARED)" == "1"
240 LIBDIRNAME = .\..\..\lib\vc_dll$(CFG)
246 -if not exist $(OBJS) mkdir $(OBJS)
250 all: $(OBJS)\exec.exe
253 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
254 -if exist $(OBJS)\*.res del $(OBJS)\*.res
255 -if exist $(OBJS)\exec.exe del $(OBJS)\exec.exe
256 -if exist $(OBJS)\exec.ilk del $(OBJS)\exec.ilk
257 -if exist $(OBJS)\exec.pdb del $(OBJS)\exec.pdb
259 $(OBJS)\exec.exe: $(EXEC_OBJECTS) $(OBJS)\exec_exec.res
260 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
261 $(EXEC_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_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 oleacc.lib odbc32.lib
264 $(OBJS)\exec_exec.obj: .\exec.cpp
265 $(CXX) /c /nologo /TP /Fo$@ $(EXEC_CXXFLAGS) $**
267 $(OBJS)\exec_exec.res: .\exec.rc
268 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH $**