]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/animate/makefile.vc
Removed ambiguity between deprecated and new constructor.
[wxWidgets.git] / contrib / build / animate / makefile.vc
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
b14abf14 3# Bakefile 0.1.6 (http://bakefile.sourceforge.net)
250700e4
RD
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
fd9f42b6 7!include <../../../build/msw/config.vc>
250700e4
RD
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
c33fae85 15WX_RELEASE_NODOT = 25
b14abf14 16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
b17c1746
DE
17OBJS = \
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 19LIBDIRNAME = ..\..\src\animate\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
20SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
c4839ccf
JS
22ANIMATEDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
23 $(__DEBUGINFO_1) \
c33fae85 24 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).pdb \
c4839ccf 25 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
ec08d395
JS
26 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
27 /I..\..\src\animate\..\..\..\include /I$(SETUPHDIR) /W4 \
3f55f5b8 28 /I..\..\src\animate\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_ANIMATE \
9bfe7ad9
VS
29 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
30 /Fp"$(OBJS)\wxprec_animatedll.pch" $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
31ANIMATEDLL_OBJECTS = \
32 $(OBJS)\animatedll_dummy.obj \
33 $(OBJS)\animatedll_animate.obj
c4839ccf
JS
34ANIMATELIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
35 $(__DEBUGINFO_1) \
c33fae85 36 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.pdb \
c4839ccf 37 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
ec08d395
JS
38 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
39 /I..\..\src\animate\..\..\..\include /I$(SETUPHDIR) /W4 \
9bfe7ad9
VS
40 /I..\..\src\animate\..\..\include $(__EXCEPTIONSFLAG) \
41 $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_animatelib.pch" \
42 $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
43ANIMATELIB_OBJECTS = \
44 $(OBJS)\animatelib_dummy.obj \
45 $(OBJS)\animatelib_animate.obj
250700e4
RD
46
47### Conditionally set variables: ###
48
49!if "$(USE_GUI)" == "0"
50PORTNAME = base
51!endif
52!if "$(USE_GUI)" == "1"
53PORTNAME = msw
54!endif
55!if "$(OFFICIAL_BUILD)" == "0"
56VENDORTAG = _$(VENDOR)
57!endif
58!if "$(OFFICIAL_BUILD)" == "1"
59VENDORTAG =
60!endif
3f55f5b8
VS
61!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
62WXDEBUGFLAG = d
63!endif
64!if "$(DEBUG_FLAG)" == "1"
250700e4
RD
65WXDEBUGFLAG = d
66!endif
250700e4
RD
67!if "$(UNICODE)" == "1"
68WXUNICODEFLAG = u
69!endif
70!if "$(WXUNIV)" == "1"
71WXUNIVNAME = univ
72!endif
b17c1746
DE
73!if "$(SHARED)" == "1"
74WXDLLFLAG = dll
250700e4 75!endif
b14abf14
JS
76!if "$(SHARED)" == "0"
77LIBTYPE_SUFFIX = lib
78!endif
79!if "$(SHARED)" == "1"
80LIBTYPE_SUFFIX = dll
81!endif
dd65d8c8
RN
82!if "$(MONOLITHIC)" == "0"
83EXTRALIBS_FOR_BASE =
84!endif
85!if "$(MONOLITHIC)" == "1"
86EXTRALIBS_FOR_BASE =
87!endif
b17c1746
DE
88!if "$(SHARED)" == "1"
89__animatedll___depname = \
c33fae85 90 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).dll
250700e4 91!endif
3f55f5b8 92!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
c4839ccf 93__DEBUGINFO_2 = /DEBUG
250700e4 94!endif
3f55f5b8 95!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
c4839ccf 96__DEBUGINFO_2 =
250700e4 97!endif
3f55f5b8 98!if "$(DEBUG_INFO)" == "0"
c4839ccf 99__DEBUGINFO_2 =
3f55f5b8
VS
100!endif
101!if "$(DEBUG_INFO)" == "1"
c4839ccf 102__DEBUGINFO_2 = /DEBUG
3f55f5b8 103!endif
3f55f5b8 104!if "$(DEBUG_RUNTIME_LIBS)" == "0"
c4839ccf 105____DEBUGRUNTIME_3_p =
3f55f5b8
VS
106!endif
107!if "$(DEBUG_RUNTIME_LIBS)" == "1"
c4839ccf 108____DEBUGRUNTIME_3_p = /D_DEBUG
3f55f5b8
VS
109!endif
110!if "$(DEBUG_RUNTIME_LIBS)" == "default"
c4839ccf 111____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
3f55f5b8
VS
112!endif
113!if "$(DEBUG_RUNTIME_LIBS)" == "0"
c4839ccf 114__DEBUGRUNTIME_4 =
3f55f5b8
VS
115!endif
116!if "$(DEBUG_RUNTIME_LIBS)" == "1"
c4839ccf 117__DEBUGRUNTIME_4 = d
3f55f5b8
VS
118!endif
119!if "$(DEBUG_RUNTIME_LIBS)" == "default"
c4839ccf 120__DEBUGRUNTIME_4 = $(__DEBUGINFO)
a4ad36cd 121!endif
b17c1746
DE
122!if "$(MONOLITHIC)" == "1"
123__WXLIB_MONO_p = \
c33fae85 124 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
a4ad36cd 125!endif
b17c1746 126!if "$(USE_GUI)" == "1"
9c2d002b 127__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
a4ad36cd 128!endif
3f55f5b8 129!if "$(USE_GUI)" == "1"
9c2d002b 130__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
3f55f5b8
VS
131!endif
132!if "$(USE_GUI)" == "1"
9c2d002b 133__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
3f55f5b8 134!endif
b17c1746
DE
135!if "$(MSLU)" == "1"
136__UNICOWS_LIB_p = unicows.lib
3f55f5b8 137!endif
b17c1746
DE
138!if "$(MONOLITHIC)" == "0"
139__WXLIB_CORE_p = \
c33fae85 140 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
ec08d395 141!endif
b17c1746 142!if "$(MONOLITHIC)" == "0"
c33fae85
RN
143__WXLIB_BASE_p = \
144 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
ec08d395 145!endif
b17c1746
DE
146!if "$(SHARED)" == "0"
147__animatelib___depname = \
c33fae85 148 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib
250700e4 149!endif
b17c1746 150!if "$(DEBUG_RUNTIME_LIBS)" == "0"
c4839ccf 151____DEBUGRUNTIME_15_p =
250700e4 152!endif
b17c1746 153!if "$(DEBUG_RUNTIME_LIBS)" == "1"
c4839ccf 154____DEBUGRUNTIME_15_p = /D_DEBUG
250700e4 155!endif
b17c1746 156!if "$(DEBUG_RUNTIME_LIBS)" == "default"
c4839ccf 157____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
250700e4 158!endif
b17c1746 159!if "$(DEBUG_RUNTIME_LIBS)" == "0"
c4839ccf 160__DEBUGRUNTIME_16 =
250700e4 161!endif
b17c1746 162!if "$(DEBUG_RUNTIME_LIBS)" == "1"
c4839ccf 163__DEBUGRUNTIME_16 = d
2265a2d5 164!endif
b17c1746 165!if "$(DEBUG_RUNTIME_LIBS)" == "default"
c4839ccf 166__DEBUGRUNTIME_16 = $(__DEBUGINFO)
250700e4 167!endif
b17c1746 168!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
c4839ccf 169__DEBUGINFO_1 = /Zi
250700e4 170!endif
b17c1746 171!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
c4839ccf 172__DEBUGINFO_1 =
250700e4 173!endif
b17c1746 174!if "$(DEBUG_INFO)" == "0"
c4839ccf 175__DEBUGINFO_1 =
b17c1746
DE
176!endif
177!if "$(DEBUG_INFO)" == "1"
c4839ccf 178__DEBUGINFO_1 = /Zi
250700e4 179!endif
3f55f5b8
VS
180!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
181____DEBUGINFO = /D_DEBUG
bdc408c4 182!endif
3f55f5b8 183!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
e2d1c567 184____DEBUGINFO =
3f55f5b8
VS
185!endif
186!if "$(DEBUG_INFO)" == "0"
e2d1c567 187____DEBUGINFO =
3f55f5b8
VS
188!endif
189!if "$(DEBUG_INFO)" == "1"
190____DEBUGINFO = /D_DEBUG
191!endif
b17c1746 192!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
c4839ccf 193__DEBUGINFO = d
3f55f5b8 194!endif
b17c1746 195!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
c4839ccf 196__DEBUGINFO =
3f55f5b8 197!endif
b17c1746 198!if "$(DEBUG_INFO)" == "0"
c4839ccf 199__DEBUGINFO =
3f55f5b8 200!endif
b17c1746 201!if "$(DEBUG_INFO)" == "1"
c4839ccf 202__DEBUGINFO = d
3f55f5b8 203!endif
b17c1746
DE
204!if "$(BUILD)" == "debug"
205__OPTIMIZEFLAG = /Od
3f55f5b8 206!endif
b17c1746
DE
207!if "$(BUILD)" == "release"
208__OPTIMIZEFLAG = /O2
bdc408c4 209!endif
b17c1746
DE
210!if "$(RUNTIME_LIBS)" == "dynamic"
211__RUNTIME_LIBS = D
212!endif
213!if "$(RUNTIME_LIBS)" == "static"
214__RUNTIME_LIBS = T
215!endif
216!if "$(USE_EXCEPTIONS)" == "0"
217__EXCEPTIONSFLAG =
218!endif
219!if "$(USE_EXCEPTIONS)" == "1"
220__EXCEPTIONSFLAG = /GR
221!endif
222!if "$(USE_EXCEPTIONS)" == "0"
223__EXCEPTIONSFLAG_0 =
224!endif
225!if "$(USE_EXCEPTIONS)" == "1"
226__EXCEPTIONSFLAG_0 = /GX
227!endif
228!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
229__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
230!endif
231!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
232__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
233!endif
234!if "$(WXUNIV)" == "1"
235__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
236!endif
237!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
238__DEBUG_DEFINE_p = /D__WXDEBUG__
239!endif
240!if "$(DEBUG_FLAG)" == "1"
241__DEBUG_DEFINE_p = /D__WXDEBUG__
242!endif
243!if "$(UNICODE)" == "1"
244__UNICODE_DEFINE_p = /D_UNICODE
250700e4 245!endif
250700e4
RD
246
247
248all: $(OBJS)
249$(OBJS):
250 -if not exist $(OBJS) mkdir $(OBJS)
251
252### Targets: ###
253
254all: $(__animatedll___depname) $(__animatelib___depname)
255
b17c1746
DE
256clean:
257 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
258 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 259 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
c33fae85
RN
260 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).dll
261 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).ilk
262 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).pdb
263 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib
264 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib
250700e4
RD
265
266!if "$(SHARED)" == "1"
c33fae85 267$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate_vc$(VENDORTAG).dll: $(OBJS)\animatedll_dummy.obj $(ANIMATEDLL_OBJECTS)
c4839ccf 268 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
dd65d8c8 269 $(ANIMATEDLL_OBJECTS) $(__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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib
250700e4
RD
270<<
271!endif
272
273!if "$(SHARED)" == "0"
c33fae85 274$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_animate.lib: $(OBJS)\animatelib_dummy.obj $(ANIMATELIB_OBJECTS)
250700e4
RD
275 if exist $@ del $@
276 lib /NOLOGO /OUT:$@ @<<
3f55f5b8 277 $(ANIMATELIB_OBJECTS)
250700e4
RD
278<<
279!endif
280
b17c1746
DE
281$(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
282 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) /Ycwx/wxprec.h $**
283
284$(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp
285 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) $**
286
287$(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
288 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) /Ycwx/wxprec.h $**
289
290$(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp
291 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) $**
b14abf14 292