]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.2.2 (http://bakefile.sourceforge.net) | |
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 | WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0 | |
17 | COMPILER_PREFIX = vc | |
18 | OBJS = \ | |
19 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU) | |
20 | LIBDIRNAME = \ | |
21 | .\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG) | |
22 | SETUPHDIR = \ | |
23 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
24 | RENDER_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME) /DWIN32 \ | |
25 | $(__DEBUGINFO) /Fd$(OBJS)\render.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \ | |
26 | $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
27 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
28 | $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) \ | |
29 | /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ | |
30 | /I.\..\..\samples /DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) \ | |
31 | $(CXXFLAGS) | |
32 | RENDER_OBJECTS = \ | |
33 | $(OBJS)\render_sample.res \ | |
34 | $(OBJS)\render_render.obj | |
35 | RENDDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_23)$(__DEBUGRUNTIME) /DWIN32 \ | |
36 | $(__DEBUGINFO) \ | |
37 | /Fd$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.pdb \ | |
38 | $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ | |
39 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \ | |
40 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
41 | $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include /W4 \ | |
42 | /DWXUSINGDLL $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
43 | RENDDLL_OBJECTS = \ | |
44 | $(OBJS)\renddll_renddll.obj | |
45 | ||
46 | ### Conditionally set variables: ### | |
47 | ||
48 | !if "$(USE_GUI)" == "0" | |
49 | PORTNAME = base | |
50 | !endif | |
51 | !if "$(USE_GUI)" == "1" | |
52 | PORTNAME = msw | |
53 | !endif | |
54 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
55 | WXDEBUGFLAG = d | |
56 | !endif | |
57 | !if "$(DEBUG_FLAG)" == "1" | |
58 | WXDEBUGFLAG = d | |
59 | !endif | |
60 | !if "$(UNICODE)" == "1" | |
61 | WXUNICODEFLAG = u | |
62 | !endif | |
63 | !if "$(WXUNIV)" == "1" | |
64 | WXUNIVNAME = univ | |
65 | !endif | |
66 | !if "$(TARGET_CPU)" == "amd64" | |
67 | DIR_SUFFIX_CPU = _amd64 | |
68 | !endif | |
69 | !if "$(TARGET_CPU)" == "amd64" | |
70 | DIR_SUFFIX_CPU = _amd64 | |
71 | !endif | |
72 | !if "$(TARGET_CPU)" == "ia64" | |
73 | DIR_SUFFIX_CPU = _ia64 | |
74 | !endif | |
75 | !if "$(TARGET_CPU)" == "ia64" | |
76 | DIR_SUFFIX_CPU = _ia64 | |
77 | !endif | |
78 | !if "$(SHARED)" == "1" | |
79 | WXDLLFLAG = dll | |
80 | !endif | |
81 | !if "$(SHARED)" == "0" | |
82 | LIBTYPE_SUFFIX = lib | |
83 | !endif | |
84 | !if "$(SHARED)" == "1" | |
85 | LIBTYPE_SUFFIX = dll | |
86 | !endif | |
87 | !if "$(TARGET_CPU)" == "amd64" | |
88 | LINK_TARGET_CPU = /MACHINE:AMD64 | |
89 | !endif | |
90 | !if "$(TARGET_CPU)" == "amd64" | |
91 | LINK_TARGET_CPU = /MACHINE:AMD64 | |
92 | !endif | |
93 | !if "$(TARGET_CPU)" == "ia64" | |
94 | LINK_TARGET_CPU = /MACHINE:IA64 | |
95 | !endif | |
96 | !if "$(TARGET_CPU)" == "ia64" | |
97 | LINK_TARGET_CPU = /MACHINE:IA64 | |
98 | !endif | |
99 | !if "$(MONOLITHIC)" == "0" | |
100 | EXTRALIBS_FOR_BASE = | |
101 | !endif | |
102 | !if "$(MONOLITHIC)" == "1" | |
103 | EXTRALIBS_FOR_BASE = | |
104 | !endif | |
105 | !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0" | |
106 | PLUGINSUFFIX = d | |
107 | !endif | |
108 | !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1" | |
109 | PLUGINSUFFIX = ud | |
110 | !endif | |
111 | !if "$(BUILD)" == "release" && "$(UNICODE)" == "0" | |
112 | PLUGINSUFFIX = | |
113 | !endif | |
114 | !if "$(BUILD)" == "release" && "$(UNICODE)" == "1" | |
115 | PLUGINSUFFIX = u | |
116 | !endif | |
117 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" | |
118 | ____DEBUGRUNTIME_2_p_1 = /d _DEBUG | |
119 | !endif | |
120 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" | |
121 | ____DEBUGRUNTIME_2_p_1 = | |
122 | !endif | |
123 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
124 | ____DEBUGRUNTIME_2_p_1 = | |
125 | !endif | |
126 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
127 | ____DEBUGRUNTIME_2_p_1 = /d _DEBUG | |
128 | !endif | |
129 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
130 | __RUNTIME_LIBS_8 = D | |
131 | !endif | |
132 | !if "$(RUNTIME_LIBS)" == "static" | |
133 | __RUNTIME_LIBS_8 = $(__THREADSFLAG) | |
134 | !endif | |
135 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
136 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
137 | !endif | |
138 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
139 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
140 | !endif | |
141 | !if "$(WXUNIV)" == "1" | |
142 | __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__ | |
143 | !endif | |
144 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
145 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
146 | !endif | |
147 | !if "$(DEBUG_FLAG)" == "1" | |
148 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
149 | !endif | |
150 | !if "$(USE_EXCEPTIONS)" == "0" | |
151 | __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS | |
152 | !endif | |
153 | !if "$(USE_RTTI)" == "0" | |
154 | __RTTI_DEFINE_p_1 = /d wxNO_RTTI | |
155 | !endif | |
156 | !if "$(USE_THREADS)" == "0" | |
157 | __THREAD_DEFINE_p_1 = /d wxNO_THREADS | |
158 | !endif | |
159 | !if "$(UNICODE)" == "1" | |
160 | __UNICODE_DEFINE_p_1 = /d _UNICODE | |
161 | !endif | |
162 | !if "$(MSLU)" == "1" | |
163 | __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1 | |
164 | !endif | |
165 | !if "$(USE_GDIPLUS)" == "1" | |
166 | __GFXCTX_DEFINE_p_1 = /d wxUSE_GRAPHICS_CONTEXT=1 | |
167 | !endif | |
168 | !if "$(SHARED)" == "1" | |
169 | __DLLFLAG_p = /DWXUSINGDLL | |
170 | !endif | |
171 | !if "$(SHARED)" == "1" | |
172 | __DLLFLAG_p_1 = /d WXUSINGDLL | |
173 | !endif | |
174 | !if "$(SHARED)" == "1" | |
175 | __renddll___depname = \ | |
176 | $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.dll | |
177 | !endif | |
178 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
179 | __RUNTIME_LIBS_23 = D | |
180 | !endif | |
181 | !if "$(RUNTIME_LIBS)" == "static" | |
182 | __RUNTIME_LIBS_23 = $(__THREADSFLAG) | |
183 | !endif | |
184 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
185 | __DEBUGINFO = /Zi | |
186 | !endif | |
187 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
188 | __DEBUGINFO = | |
189 | !endif | |
190 | !if "$(DEBUG_INFO)" == "0" | |
191 | __DEBUGINFO = | |
192 | !endif | |
193 | !if "$(DEBUG_INFO)" == "1" | |
194 | __DEBUGINFO = /Zi | |
195 | !endif | |
196 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
197 | __DEBUGINFO_1 = /DEBUG | |
198 | !endif | |
199 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
200 | __DEBUGINFO_1 = | |
201 | !endif | |
202 | !if "$(DEBUG_INFO)" == "0" | |
203 | __DEBUGINFO_1 = | |
204 | !endif | |
205 | !if "$(DEBUG_INFO)" == "1" | |
206 | __DEBUGINFO_1 = /DEBUG | |
207 | !endif | |
208 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" | |
209 | ____DEBUGRUNTIME = /D_DEBUG | |
210 | !endif | |
211 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" | |
212 | ____DEBUGRUNTIME = | |
213 | !endif | |
214 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
215 | ____DEBUGRUNTIME = | |
216 | !endif | |
217 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
218 | ____DEBUGRUNTIME = /D_DEBUG | |
219 | !endif | |
220 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" | |
221 | __DEBUGRUNTIME = d | |
222 | !endif | |
223 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" | |
224 | __DEBUGRUNTIME = | |
225 | !endif | |
226 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
227 | __DEBUGRUNTIME = | |
228 | !endif | |
229 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
230 | __DEBUGRUNTIME = d | |
231 | !endif | |
232 | !if "$(BUILD)" == "debug" | |
233 | __OPTIMIZEFLAG = /Od | |
234 | !endif | |
235 | !if "$(BUILD)" == "release" | |
236 | __OPTIMIZEFLAG = /O2 | |
237 | !endif | |
238 | !if "$(USE_THREADS)" == "0" | |
239 | __THREADSFLAG = L | |
240 | !endif | |
241 | !if "$(USE_THREADS)" == "1" | |
242 | __THREADSFLAG = T | |
243 | !endif | |
244 | !if "$(USE_RTTI)" == "0" | |
245 | __RTTIFLAG = | |
246 | !endif | |
247 | !if "$(USE_RTTI)" == "1" | |
248 | __RTTIFLAG = /GR | |
249 | !endif | |
250 | !if "$(USE_EXCEPTIONS)" == "0" | |
251 | __EXCEPTIONSFLAG = | |
252 | !endif | |
253 | !if "$(USE_EXCEPTIONS)" == "1" | |
254 | __EXCEPTIONSFLAG = /EHsc | |
255 | !endif | |
256 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
257 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
258 | !endif | |
259 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
260 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
261 | !endif | |
262 | !if "$(WXUNIV)" == "1" | |
263 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
264 | !endif | |
265 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
266 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
267 | !endif | |
268 | !if "$(DEBUG_FLAG)" == "1" | |
269 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
270 | !endif | |
271 | !if "$(USE_EXCEPTIONS)" == "0" | |
272 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS | |
273 | !endif | |
274 | !if "$(USE_RTTI)" == "0" | |
275 | __RTTI_DEFINE_p = /DwxNO_RTTI | |
276 | !endif | |
277 | !if "$(USE_THREADS)" == "0" | |
278 | __THREAD_DEFINE_p = /DwxNO_THREADS | |
279 | !endif | |
280 | !if "$(UNICODE)" == "1" | |
281 | __UNICODE_DEFINE_p = /D_UNICODE | |
282 | !endif | |
283 | !if "$(MSLU)" == "1" | |
284 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1 | |
285 | !endif | |
286 | !if "$(USE_GDIPLUS)" == "1" | |
287 | __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1 | |
288 | !endif | |
289 | !if "$(MONOLITHIC)" == "0" | |
290 | __WXLIB_CORE_p = \ | |
291 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib | |
292 | !endif | |
293 | !if "$(MONOLITHIC)" == "0" | |
294 | __WXLIB_BASE_p = \ | |
295 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
296 | !endif | |
297 | !if "$(MONOLITHIC)" == "1" | |
298 | __WXLIB_MONO_p = \ | |
299 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
300 | !endif | |
301 | !if "$(USE_GUI)" == "1" | |
302 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
303 | !endif | |
304 | !if "$(USE_GUI)" == "1" | |
305 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
306 | !endif | |
307 | !if "$(USE_GUI)" == "1" | |
308 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
309 | !endif | |
310 | !if "$(MSLU)" == "1" | |
311 | __UNICOWS_LIB_p = unicows.lib | |
312 | !endif | |
313 | !if "$(USE_GDIPLUS)" == "1" | |
314 | __GDIPLUS_LIB_p = gdiplus.lib | |
315 | !endif | |
316 | ||
317 | ||
318 | all: $(OBJS) | |
319 | $(OBJS): | |
320 | -if not exist $(OBJS) mkdir $(OBJS) | |
321 | ||
322 | ### Targets: ### | |
323 | ||
324 | all: $(OBJS)\render.exe $(__renddll___depname) | |
325 | ||
326 | clean: | |
327 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
328 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
329 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch | |
330 | -if exist $(OBJS)\render.exe del $(OBJS)\render.exe | |
331 | -if exist $(OBJS)\render.ilk del $(OBJS)\render.ilk | |
332 | -if exist $(OBJS)\render.pdb del $(OBJS)\render.pdb | |
333 | -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.dll | |
334 | -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.ilk del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.ilk | |
335 | -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.pdb del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.pdb | |
336 | ||
337 | $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res | |
338 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< | |
339 | $(RENDER_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) $(__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 odbc32.lib | |
340 | << | |
341 | ||
342 | !if "$(SHARED)" == "1" | |
343 | $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_vc.dll: $(RENDDLL_OBJECTS) | |
344 | link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<< | |
345 | $(RENDDLL_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) $(__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 odbc32.lib | |
346 | << | |
347 | !endif | |
348 | ||
349 | $(OBJS)\render_sample.res: .\..\..\samples\sample.rc | |
350 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) /i $(SETUPHDIR) /i .\..\..\include /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH $** | |
351 | ||
352 | $(OBJS)\render_render.obj: .\render.cpp | |
353 | $(CXX) /c /nologo /TP /Fo$@ $(RENDER_CXXFLAGS) $** | |
354 | ||
355 | $(OBJS)\renddll_renddll.obj: .\renddll.cpp | |
356 | $(CXX) /c /nologo /TP /Fo$@ $(RENDDLL_CXXFLAGS) $** | |
357 |