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