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