]>
Commit | Line | Data |
---|---|---|
aa113d87 FM |
1 | # =========================================================================\r |
2 | # This makefile was generated by\r | |
3 | # Bakefile 0.2.6 (http://www.bakefile.org)\r | |
4 | # Do not modify, all changes will be overwritten!\r | |
5 | # =========================================================================\r | |
6 | \r | |
7 | !include <../../build/msw/config.vc>\r | |
8 | \r | |
9 | # -------------------------------------------------------------------------\r | |
10 | # Do not modify the rest of this file!\r | |
11 | # -------------------------------------------------------------------------\r | |
12 | \r | |
13 | ### Variables: ###\r | |
14 | \r | |
15 | WX_RELEASE_NODOT = 29\r | |
16 | COMPILER_PREFIX = vc\r | |
17 | OBJS = \\r | |
18 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)\r | |
19 | LIBDIRNAME = \\r | |
20 | .\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)\r | |
21 | SETUPHDIR = \\r | |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r | |
23 | EXECMON_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME_3) /DWIN32 \\r | |
24 | $(__DEBUGINFO_0) /Fd$(OBJS)\execmon.pdb $(____DEBUGRUNTIME_2_p) \\r | |
25 | $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r | |
26 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r | |
27 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r | |
28 | $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) \\r | |
29 | /D_CONSOLE /DwxUSE_GUI=0 $(__RTTIFLAG_9) $(__EXCEPTIONSFLAG_10) $(CPPFLAGS) \\r | |
30 | $(CXXFLAGS)\r | |
31 | EXECMON_OBJECTS = \\r | |
32 | $(OBJS)\execmon_execmon.obj\r | |
33 | \r | |
34 | ### Conditionally set variables: ###\r | |
35 | \r | |
36 | !if "$(USE_GUI)" == "0"\r | |
37 | PORTNAME = base\r | |
38 | !endif\r | |
39 | !if "$(USE_GUI)" == "1"\r | |
40 | PORTNAME = msw\r | |
41 | !endif\r | |
42 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"\r | |
43 | WXDEBUGFLAG = d\r | |
44 | !endif\r | |
45 | !if "$(DEBUG_FLAG)" == "1"\r | |
46 | WXDEBUGFLAG = d\r | |
47 | !endif\r | |
48 | !if "$(UNICODE)" == "1"\r | |
49 | WXUNICODEFLAG = u\r | |
50 | !endif\r | |
51 | !if "$(WXUNIV)" == "1"\r | |
52 | WXUNIVNAME = univ\r | |
53 | !endif\r | |
54 | !if "$(TARGET_CPU)" == "AMD64"\r | |
55 | DIR_SUFFIX_CPU = _amd64\r | |
56 | !endif\r | |
57 | !if "$(TARGET_CPU)" == "IA64"\r | |
58 | DIR_SUFFIX_CPU = _ia64\r | |
59 | !endif\r | |
60 | !if "$(TARGET_CPU)" == "amd64"\r | |
61 | DIR_SUFFIX_CPU = _amd64\r | |
62 | !endif\r | |
63 | !if "$(TARGET_CPU)" == "ia64"\r | |
64 | DIR_SUFFIX_CPU = _ia64\r | |
65 | !endif\r | |
66 | !if "$(SHARED)" == "1"\r | |
67 | WXDLLFLAG = dll\r | |
68 | !endif\r | |
69 | !if "$(SHARED)" == "0"\r | |
70 | LIBTYPE_SUFFIX = lib\r | |
71 | !endif\r | |
72 | !if "$(SHARED)" == "1"\r | |
73 | LIBTYPE_SUFFIX = dll\r | |
74 | !endif\r | |
75 | !if "$(TARGET_CPU)" == "AMD64"\r | |
76 | LINK_TARGET_CPU = /MACHINE:AMD64\r | |
77 | !endif\r | |
78 | !if "$(TARGET_CPU)" == "IA64"\r | |
79 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
80 | !endif\r | |
81 | !if "$(TARGET_CPU)" == "amd64"\r | |
82 | LINK_TARGET_CPU = /MACHINE:AMD64\r | |
83 | !endif\r | |
84 | !if "$(TARGET_CPU)" == "ia64"\r | |
85 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
86 | !endif\r | |
87 | !if "$(MONOLITHIC)" == "0"\r | |
88 | EXTRALIBS_FOR_BASE = \r | |
89 | !endif\r | |
90 | !if "$(MONOLITHIC)" == "1"\r | |
91 | EXTRALIBS_FOR_BASE = \r | |
92 | !endif\r | |
93 | !if "$(USE_XRC)" == "1"\r | |
94 | __execmon___depname = $(OBJS)\execmon.exe\r | |
95 | !endif\r | |
96 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
97 | __DEBUGINFO_0 = /Zi\r | |
98 | !endif\r | |
99 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
100 | __DEBUGINFO_0 = \r | |
101 | !endif\r | |
102 | !if "$(DEBUG_INFO)" == "0"\r | |
103 | __DEBUGINFO_0 = \r | |
104 | !endif\r | |
105 | !if "$(DEBUG_INFO)" == "1"\r | |
106 | __DEBUGINFO_0 = /Zi\r | |
107 | !endif\r | |
108 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
109 | __DEBUGINFO_1 = /DEBUG\r | |
110 | !endif\r | |
111 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
112 | __DEBUGINFO_1 = \r | |
113 | !endif\r | |
114 | !if "$(DEBUG_INFO)" == "0"\r | |
115 | __DEBUGINFO_1 = \r | |
116 | !endif\r | |
117 | !if "$(DEBUG_INFO)" == "1"\r | |
118 | __DEBUGINFO_1 = /DEBUG\r | |
119 | !endif\r | |
120 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
121 | ____DEBUGRUNTIME_2_p = /D_DEBUG\r | |
122 | !endif\r | |
123 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
124 | ____DEBUGRUNTIME_2_p = \r | |
125 | !endif\r | |
126 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
127 | ____DEBUGRUNTIME_2_p = \r | |
128 | !endif\r | |
129 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
130 | ____DEBUGRUNTIME_2_p = /D_DEBUG\r | |
131 | !endif\r | |
132 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
133 | __DEBUGRUNTIME_3 = d\r | |
134 | !endif\r | |
135 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
136 | __DEBUGRUNTIME_3 = \r | |
137 | !endif\r | |
138 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
139 | __DEBUGRUNTIME_3 = \r | |
140 | !endif\r | |
141 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
142 | __DEBUGRUNTIME_3 = d\r | |
143 | !endif\r | |
144 | !if "$(BUILD)" == "debug"\r | |
145 | __OPTIMIZEFLAG_4 = /Od\r | |
146 | !endif\r | |
147 | !if "$(BUILD)" == "release"\r | |
148 | __OPTIMIZEFLAG_4 = /O2\r | |
149 | !endif\r | |
150 | !if "$(USE_THREADS)" == "0"\r | |
151 | __THREADSFLAG_7 = L\r | |
152 | !endif\r | |
153 | !if "$(USE_THREADS)" == "1"\r | |
154 | __THREADSFLAG_7 = T\r | |
155 | !endif\r | |
156 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
157 | __RUNTIME_LIBS_8 = D\r | |
158 | !endif\r | |
159 | !if "$(RUNTIME_LIBS)" == "static"\r | |
160 | __RUNTIME_LIBS_8 = $(__THREADSFLAG_7)\r | |
161 | !endif\r | |
162 | !if "$(USE_RTTI)" == "0"\r | |
163 | __RTTIFLAG_9 = \r | |
164 | !endif\r | |
165 | !if "$(USE_RTTI)" == "1"\r | |
166 | __RTTIFLAG_9 = /GR\r | |
167 | !endif\r | |
168 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
169 | __EXCEPTIONSFLAG_10 = \r | |
170 | !endif\r | |
171 | !if "$(USE_EXCEPTIONS)" == "1"\r | |
172 | __EXCEPTIONSFLAG_10 = /EHsc\r | |
173 | !endif\r | |
174 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
175 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
176 | !endif\r | |
177 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
178 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
179 | !endif\r | |
180 | !if "$(WXUNIV)" == "1"\r | |
181 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r | |
182 | !endif\r | |
183 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"\r | |
184 | __DEBUG_DEFINE_p = /D__WXDEBUG__\r | |
185 | !endif\r | |
186 | !if "$(DEBUG_FLAG)" == "1"\r | |
187 | __DEBUG_DEFINE_p = /D__WXDEBUG__\r | |
188 | !endif\r | |
189 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
190 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r | |
191 | !endif\r | |
192 | !if "$(USE_RTTI)" == "0"\r | |
193 | __RTTI_DEFINE_p = /DwxNO_RTTI\r | |
194 | !endif\r | |
195 | !if "$(USE_THREADS)" == "0"\r | |
196 | __THREAD_DEFINE_p = /DwxNO_THREADS\r | |
197 | !endif\r | |
198 | !if "$(UNICODE)" == "0"\r | |
199 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r | |
200 | !endif\r | |
201 | !if "$(UNICODE)" == "1"\r | |
202 | __UNICODE_DEFINE_p = /D_UNICODE\r | |
203 | !endif\r | |
204 | !if "$(MSLU)" == "1"\r | |
205 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r | |
206 | !endif\r | |
207 | !if "$(USE_GDIPLUS)" == "1"\r | |
208 | __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1\r | |
209 | !endif\r | |
210 | !if "$(SHARED)" == "1"\r | |
211 | __DLLFLAG_p = /DWXUSINGDLL\r | |
212 | !endif\r | |
213 | !if "$(MONOLITHIC)" == "0"\r | |
214 | __WXLIB_BASE_p = \\r | |
215 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
216 | !endif\r | |
217 | !if "$(MONOLITHIC)" == "1"\r | |
218 | __WXLIB_MONO_p = \\r | |
219 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
220 | !endif\r | |
221 | !if "$(MSLU)" == "1"\r | |
222 | __UNICOWS_LIB_p = unicows.lib\r | |
223 | !endif\r | |
224 | !if "$(USE_GDIPLUS)" == "1"\r | |
225 | __GDIPLUS_LIB_p = gdiplus.lib\r | |
226 | !endif\r | |
227 | \r | |
228 | \r | |
229 | all: $(OBJS)\r | |
230 | $(OBJS):\r | |
231 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
232 | \r | |
233 | ### Targets: ###\r | |
234 | \r | |
235 | all: $(__execmon___depname)\r | |
236 | \r | |
237 | clean: \r | |
238 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r | |
239 | -if exist $(OBJS)\*.res del $(OBJS)\*.res\r | |
240 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r | |
241 | -if exist $(OBJS)\execmon.exe del $(OBJS)\execmon.exe\r | |
242 | -if exist $(OBJS)\execmon.ilk del $(OBJS)\execmon.ilk\r | |
243 | -if exist $(OBJS)\execmon.pdb del $(OBJS)\execmon.pdb\r | |
244 | \r | |
245 | !if "$(USE_XRC)" == "1"\r | |
246 | $(OBJS)\execmon.exe: $(EXECMON_OBJECTS)\r | |
247 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\execmon.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(LDFLAGS) @<<\r | |
248 | $(EXECMON_OBJECTS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_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\r | |
249 | <<\r | |
250 | !endif\r | |
251 | \r | |
252 | $(OBJS)\execmon_execmon.obj: .\execmon.cpp\r | |
253 | $(CXX) /c /nologo /TP /Fo$@ $(EXECMON_CXXFLAGS) .\execmon.cpp\r | |
254 | \r |