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)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX)
20 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(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) /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) \
35 $(OBJS)\execmon_execmon.obj
37 ### Conditionally set variables: ###
39 !if "$(TOOLKIT)" == "GTK"
40 WIN32_TOOLKIT_LOWERCASE = gtk
42 !if "$(TOOLKIT)" == "MSW"
43 WIN32_TOOLKIT_LOWERCASE = msw
45 !if "$(TARGET_CPU)" == "AMD64"
48 !if "$(TARGET_CPU)" == "IA64"
51 !if "$(TARGET_CPU)" == "X64"
54 !if "$(TARGET_CPU)" == "amd64"
57 !if "$(TARGET_CPU)" == "ia64"
60 !if "$(TARGET_CPU)" == "x64"
63 !if "$(USE_GUI)" == "0"
66 !if "$(USE_GUI)" == "1"
67 PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
69 !if "$(TOOLKIT)" == "MAC"
72 !if "$(OFFICIAL_BUILD)" == "1"
73 COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
75 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
78 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
81 !if "$(UNICODE)" == "1"
84 !if "$(WXUNIV)" == "1"
87 !if "$(SHARED)" == "1"
90 !if "$(SHARED)" == "0"
93 !if "$(SHARED)" == "1"
96 !if "$(TARGET_CPU)" == "AMD64"
97 LINK_TARGET_CPU = /MACHINE:X64
99 !if "$(TARGET_CPU)" == "IA64"
100 LINK_TARGET_CPU = /MACHINE:IA64
102 !if "$(TARGET_CPU)" == "X64"
103 LINK_TARGET_CPU = /MACHINE:X64
105 !if "$(TARGET_CPU)" == "amd64"
106 LINK_TARGET_CPU = /MACHINE:X64
108 !if "$(TARGET_CPU)" == "ia64"
109 LINK_TARGET_CPU = /MACHINE:IA64
111 !if "$(TARGET_CPU)" == "x64"
112 LINK_TARGET_CPU = /MACHINE:X64
114 !if "$(MONOLITHIC)" == "0"
117 !if "$(MONOLITHIC)" == "1"
120 !if "$(USE_XRC)" == "1"
121 __execmon___depname = $(OBJS)\execmon.exe
123 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
126 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
129 !if "$(DEBUG_INFO)" == "0"
132 !if "$(DEBUG_INFO)" == "1"
135 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
136 __DEBUGINFO_1 = /DEBUG
138 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
141 !if "$(DEBUG_INFO)" == "0"
144 !if "$(DEBUG_INFO)" == "1"
145 __DEBUGINFO_1 = /DEBUG
147 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
148 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
150 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
153 !if "$(DEBUG_INFO)" == "0"
156 !if "$(DEBUG_INFO)" == "1"
157 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
159 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
160 ____DEBUGRUNTIME_3_p = /D_DEBUG
162 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
163 ____DEBUGRUNTIME_3_p =
165 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
166 ____DEBUGRUNTIME_3_p =
168 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
169 ____DEBUGRUNTIME_3_p = /D_DEBUG
171 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
174 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
177 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
180 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
183 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
186 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
187 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
189 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
190 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
192 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
195 !if "$(BUILD)" == "debug"
196 __OPTIMIZEFLAG_6 = /Od
198 !if "$(BUILD)" == "release"
199 __OPTIMIZEFLAG_6 = /O2
201 !if "$(USE_THREADS)" == "0"
204 !if "$(USE_THREADS)" == "1"
207 !if "$(RUNTIME_LIBS)" == "dynamic"
208 __RUNTIME_LIBS_10 = D
210 !if "$(RUNTIME_LIBS)" == "static"
211 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
213 !if "$(USE_RTTI)" == "0"
216 !if "$(USE_RTTI)" == "1"
219 !if "$(USE_EXCEPTIONS)" == "0"
220 __EXCEPTIONSFLAG_12 =
222 !if "$(USE_EXCEPTIONS)" == "1"
223 __EXCEPTIONSFLAG_12 = /EHsc
225 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
226 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
228 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
229 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
231 !if "$(WXUNIV)" == "1"
232 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
234 !if "$(DEBUG_FLAG)" == "0"
235 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
237 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
238 __NDEBUG_DEFINE_p = /DNDEBUG
240 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
241 __NDEBUG_DEFINE_p = /DNDEBUG
243 !if "$(USE_EXCEPTIONS)" == "0"
244 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
246 !if "$(USE_RTTI)" == "0"
247 __RTTI_DEFINE_p = /DwxNO_RTTI
249 !if "$(USE_THREADS)" == "0"
250 __THREAD_DEFINE_p = /DwxNO_THREADS
252 !if "$(UNICODE)" == "0"
253 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
255 !if "$(UNICODE)" == "1"
256 __UNICODE_DEFINE_p = /D_UNICODE
259 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
261 !if "$(USE_CAIRO)" == "1"
262 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
264 !if "$(SHARED)" == "1"
265 __DLLFLAG_p = /DWXUSINGDLL
267 !if "$(MONOLITHIC)" == "0"
269 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
271 !if "$(MONOLITHIC)" == "1"
273 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
275 !if "$(MONOLITHIC)" == "1"
276 __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)
278 !if "$(USE_GUI)" == "1"
279 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
282 __UNICOWS_LIB_p = unicows.lib
284 !if "$(USE_CAIRO)" == "1"
285 __CAIRO_LIB_p = cairo.lib
287 !if "$(USE_CAIRO)" == "1"
288 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
294 -if not exist $(OBJS) mkdir $(OBJS)
298 all: $(__execmon___depname)
301 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
302 -if exist $(OBJS)\*.res del $(OBJS)\*.res
303 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
304 -if exist $(OBJS)\execmon.exe del $(OBJS)\execmon.exe
305 -if exist $(OBJS)\execmon.ilk del $(OBJS)\execmon.ilk
306 -if exist $(OBJS)\execmon.pdb del $(OBJS)\execmon.pdb
308 !if "$(USE_XRC)" == "1"
309 $(OBJS)\execmon.exe: $(EXECMON_OBJECTS)
310 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\execmon.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
311 $(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
315 $(OBJS)\execmon_execmon.obj: .\execmon.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(EXECMON_CXXFLAGS) .\execmon.cpp