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 # =========================================================================
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 EXECMON_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \
24 $(__DEBUGINFO_0) /Fd$(OBJS)\execmon.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)\execmon_execmon.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 "$(USE_XRC)" == "1"
95 __execmon___depname = $(OBJS)\execmon.exe
97 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
100 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
103 !if "$(DEBUG_INFO)" == "0"
106 !if "$(DEBUG_INFO)" == "1"
109 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
110 __DEBUGINFO_1 = /DEBUG
112 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
115 !if "$(DEBUG_INFO)" == "0"
118 !if "$(DEBUG_INFO)" == "1"
119 __DEBUGINFO_1 = /DEBUG
121 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
122 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
124 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
127 !if "$(DEBUG_INFO)" == "0"
130 !if "$(DEBUG_INFO)" == "1"
131 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
133 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
134 ____DEBUGRUNTIME_3_p = /D_DEBUG
136 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
137 ____DEBUGRUNTIME_3_p =
139 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
140 ____DEBUGRUNTIME_3_p =
142 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
143 ____DEBUGRUNTIME_3_p = /D_DEBUG
145 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
148 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
151 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
154 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
157 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
160 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
161 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
163 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
164 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
166 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
169 !if "$(BUILD)" == "debug"
170 __OPTIMIZEFLAG_6 = /Od
172 !if "$(BUILD)" == "release"
173 __OPTIMIZEFLAG_6 = /O2
175 !if "$(USE_THREADS)" == "0"
178 !if "$(USE_THREADS)" == "1"
181 !if "$(RUNTIME_LIBS)" == "dynamic"
182 __RUNTIME_LIBS_10 = D
184 !if "$(RUNTIME_LIBS)" == "static"
185 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
187 !if "$(USE_RTTI)" == "0"
190 !if "$(USE_RTTI)" == "1"
193 !if "$(USE_EXCEPTIONS)" == "0"
194 __EXCEPTIONSFLAG_12 =
196 !if "$(USE_EXCEPTIONS)" == "1"
197 __EXCEPTIONSFLAG_12 = /EHsc
199 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
200 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
202 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
203 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
205 !if "$(WXUNIV)" == "1"
206 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
208 !if "$(DEBUG_FLAG)" == "0"
209 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
211 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
212 __NDEBUG_DEFINE_p = /DNDEBUG
214 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
215 __NDEBUG_DEFINE_p = /DNDEBUG
217 !if "$(USE_EXCEPTIONS)" == "0"
218 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
220 !if "$(USE_RTTI)" == "0"
221 __RTTI_DEFINE_p = /DwxNO_RTTI
223 !if "$(USE_THREADS)" == "0"
224 __THREAD_DEFINE_p = /DwxNO_THREADS
226 !if "$(UNICODE)" == "0"
227 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
229 !if "$(UNICODE)" == "1"
230 __UNICODE_DEFINE_p = /D_UNICODE
233 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
235 !if "$(USE_CAIRO)" == "1"
236 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
238 !if "$(SHARED)" == "1"
239 __DLLFLAG_p = /DWXUSINGDLL
241 !if "$(MONOLITHIC)" == "0"
243 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
245 !if "$(MONOLITHIC)" == "1"
247 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
249 !if "$(MONOLITHIC)" == "1"
250 __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)
252 !if "$(USE_GUI)" == "1"
253 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
256 __UNICOWS_LIB_p = unicows.lib
258 !if "$(USE_CAIRO)" == "1"
259 __CAIRO_LIB_p = cairo.lib
261 !if "$(USE_CAIRO)" == "1"
262 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
268 -if not exist $(OBJS) mkdir $(OBJS)
272 all: $(__execmon___depname)
275 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
276 -if exist $(OBJS)\*.res del $(OBJS)\*.res
277 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
278 -if exist $(OBJS)\execmon.exe del $(OBJS)\execmon.exe
279 -if exist $(OBJS)\execmon.ilk del $(OBJS)\execmon.ilk
280 -if exist $(OBJS)\execmon.pdb del $(OBJS)\execmon.pdb
282 !if "$(USE_XRC)" == "1"
283 $(OBJS)\execmon.exe: $(EXECMON_OBJECTS)
284 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\execmon.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
285 $(EXECMON_OBJECTS) $(__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
289 $(OBJS)\execmon_execmon.obj: .\execmon.cpp
290 $(CXX) /c /nologo /TP /Fo$@ $(EXECMON_CXXFLAGS) .\execmon.cpp