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