]> git.saurik.com Git - wxWidgets.git/blob - utils/execmon/makefile.vc
Deprecate old style wxPanel ctor taking separate coordinates.
[wxWidgets.git] / utils / execmon / makefile.vc
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 # =========================================================================
6
7 !include <../../build/msw/config.vc>
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 WX_RELEASE_NODOT = 29
16 COMPILER_PREFIX = vc
17 OBJS = \
18 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
19 LIBDIRNAME = \
20 .\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
21 SETUPHDIR = \
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) \
31 $(CXXFLAGS)
32 EXECMON_OBJECTS = \
33 $(OBJS)\execmon_execmon.obj
34
35 ### Conditionally set variables: ###
36
37 !if "$(USE_GUI)" == "0"
38 PORTNAME = base
39 !endif
40 !if "$(USE_GUI)" == "1"
41 PORTNAME = msw
42 !endif
43 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
44 WXDEBUGFLAG = d
45 !endif
46 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
47 WXDEBUGFLAG = d
48 !endif
49 !if "$(UNICODE)" == "1"
50 WXUNICODEFLAG = u
51 !endif
52 !if "$(WXUNIV)" == "1"
53 WXUNIVNAME = univ
54 !endif
55 !if "$(TARGET_CPU)" == "AMD64"
56 DIR_SUFFIX_CPU = _amd64
57 !endif
58 !if "$(TARGET_CPU)" == "IA64"
59 DIR_SUFFIX_CPU = _ia64
60 !endif
61 !if "$(TARGET_CPU)" == "amd64"
62 DIR_SUFFIX_CPU = _amd64
63 !endif
64 !if "$(TARGET_CPU)" == "ia64"
65 DIR_SUFFIX_CPU = _ia64
66 !endif
67 !if "$(SHARED)" == "1"
68 WXDLLFLAG = dll
69 !endif
70 !if "$(SHARED)" == "0"
71 LIBTYPE_SUFFIX = lib
72 !endif
73 !if "$(SHARED)" == "1"
74 LIBTYPE_SUFFIX = dll
75 !endif
76 !if "$(TARGET_CPU)" == "AMD64"
77 LINK_TARGET_CPU = /MACHINE:X64
78 !endif
79 !if "$(TARGET_CPU)" == "IA64"
80 LINK_TARGET_CPU = /MACHINE:IA64
81 !endif
82 !if "$(TARGET_CPU)" == "amd64"
83 LINK_TARGET_CPU = /MACHINE:X64
84 !endif
85 !if "$(TARGET_CPU)" == "ia64"
86 LINK_TARGET_CPU = /MACHINE:IA64
87 !endif
88 !if "$(MONOLITHIC)" == "0"
89 EXTRALIBS_FOR_BASE =
90 !endif
91 !if "$(MONOLITHIC)" == "1"
92 EXTRALIBS_FOR_BASE =
93 !endif
94 !if "$(USE_XRC)" == "1"
95 __execmon___depname = $(OBJS)\execmon.exe
96 !endif
97 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
98 __DEBUGINFO_0 = /Zi
99 !endif
100 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
101 __DEBUGINFO_0 =
102 !endif
103 !if "$(DEBUG_INFO)" == "0"
104 __DEBUGINFO_0 =
105 !endif
106 !if "$(DEBUG_INFO)" == "1"
107 __DEBUGINFO_0 = /Zi
108 !endif
109 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
110 __DEBUGINFO_1 = /DEBUG
111 !endif
112 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
113 __DEBUGINFO_1 =
114 !endif
115 !if "$(DEBUG_INFO)" == "0"
116 __DEBUGINFO_1 =
117 !endif
118 !if "$(DEBUG_INFO)" == "1"
119 __DEBUGINFO_1 = /DEBUG
120 !endif
121 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
122 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
123 !endif
124 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
125 __DEBUGINFO_2 =
126 !endif
127 !if "$(DEBUG_INFO)" == "0"
128 __DEBUGINFO_2 =
129 !endif
130 !if "$(DEBUG_INFO)" == "1"
131 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
132 !endif
133 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
134 ____DEBUGRUNTIME_3_p = /D_DEBUG
135 !endif
136 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
137 ____DEBUGRUNTIME_3_p =
138 !endif
139 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
140 ____DEBUGRUNTIME_3_p =
141 !endif
142 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
143 ____DEBUGRUNTIME_3_p = /D_DEBUG
144 !endif
145 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
146 __DEBUGRUNTIME_4 = d
147 !endif
148 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
149 __DEBUGRUNTIME_4 =
150 !endif
151 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
152 __DEBUGRUNTIME_4 =
153 !endif
154 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
155 __DEBUGRUNTIME_4 = d
156 !endif
157 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
158 __DEBUGRUNTIME_5 =
159 !endif
160 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
161 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
162 !endif
163 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
164 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
165 !endif
166 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
167 __DEBUGRUNTIME_5 =
168 !endif
169 !if "$(BUILD)" == "debug"
170 __OPTIMIZEFLAG_6 = /Od
171 !endif
172 !if "$(BUILD)" == "release"
173 __OPTIMIZEFLAG_6 = /O2
174 !endif
175 !if "$(USE_THREADS)" == "0"
176 __THREADSFLAG_9 = L
177 !endif
178 !if "$(USE_THREADS)" == "1"
179 __THREADSFLAG_9 = T
180 !endif
181 !if "$(RUNTIME_LIBS)" == "dynamic"
182 __RUNTIME_LIBS_10 = D
183 !endif
184 !if "$(RUNTIME_LIBS)" == "static"
185 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
186 !endif
187 !if "$(USE_RTTI)" == "0"
188 __RTTIFLAG_11 =
189 !endif
190 !if "$(USE_RTTI)" == "1"
191 __RTTIFLAG_11 = /GR
192 !endif
193 !if "$(USE_EXCEPTIONS)" == "0"
194 __EXCEPTIONSFLAG_12 =
195 !endif
196 !if "$(USE_EXCEPTIONS)" == "1"
197 __EXCEPTIONSFLAG_12 = /EHsc
198 !endif
199 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
200 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
201 !endif
202 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
203 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
204 !endif
205 !if "$(WXUNIV)" == "1"
206 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
207 !endif
208 !if "$(DEBUG_FLAG)" == "0"
209 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
210 !endif
211 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
212 __NDEBUG_DEFINE_p = /DNDEBUG
213 !endif
214 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
215 __NDEBUG_DEFINE_p = /DNDEBUG
216 !endif
217 !if "$(USE_EXCEPTIONS)" == "0"
218 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
219 !endif
220 !if "$(USE_RTTI)" == "0"
221 __RTTI_DEFINE_p = /DwxNO_RTTI
222 !endif
223 !if "$(USE_THREADS)" == "0"
224 __THREAD_DEFINE_p = /DwxNO_THREADS
225 !endif
226 !if "$(UNICODE)" == "0"
227 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
228 !endif
229 !if "$(UNICODE)" == "1"
230 __UNICODE_DEFINE_p = /D_UNICODE
231 !endif
232 !if "$(MSLU)" == "1"
233 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
234 !endif
235 !if "$(USE_CAIRO)" == "1"
236 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
237 !endif
238 !if "$(SHARED)" == "1"
239 __DLLFLAG_p = /DWXUSINGDLL
240 !endif
241 !if "$(MONOLITHIC)" == "0"
242 __WXLIB_BASE_p = \
243 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
244 !endif
245 !if "$(MONOLITHIC)" == "1"
246 __WXLIB_MONO_p = \
247 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
248 !endif
249 !if "$(MONOLITHIC)" == "1"
250 __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)
251 !endif
252 !if "$(USE_GUI)" == "1"
253 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
254 !endif
255 !if "$(MSLU)" == "1"
256 __UNICOWS_LIB_p = unicows.lib
257 !endif
258 !if "$(USE_CAIRO)" == "1"
259 __CAIRO_LIB_p = cairo.lib
260 !endif
261 !if "$(USE_CAIRO)" == "1"
262 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
263 !endif
264
265
266 all: $(OBJS)
267 $(OBJS):
268 -if not exist $(OBJS) mkdir $(OBJS)
269
270 ### Targets: ###
271
272 all: $(__execmon___depname)
273
274 clean:
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
281
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
286 <<
287 !endif
288
289 $(OBJS)\execmon_execmon.obj: .\execmon.cpp
290 $(CXX) /c /nologo /TP /Fo$@ $(EXECMON_CXXFLAGS) .\execmon.cpp
291