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