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 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 ANIMATEDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
17 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).pdb \
18 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
19 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
20 /I..\..\src\animate\..\..\..\include /I$(SETUPHDIR) /W4 \
21 /I..\..\src\animate\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_ANIMATE \
22 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
23 /Fp"$(OBJS)\wxprec_animatedll.pch" $(CPPFLAGS) $(CXXFLAGS)
24 ANIMATEDLL_OBJECTS = \
25 $(OBJS)\animatedll_dummy.obj \
26 $(OBJS)\animatedll_animate.obj
27 ANIMATELIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_15) /DWIN32 \
29 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.pdb \
30 $(____DEBUGRUNTIME_14_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
31 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
32 /I..\..\src\animate\..\..\..\include /I$(SETUPHDIR) /W4 \
33 /I..\..\src\animate\..\..\include $(__EXCEPTIONSFLAG) \
34 $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_animatelib.pch" \
35 $(CPPFLAGS) $(CXXFLAGS)
36 ANIMATELIB_OBJECTS = \
37 $(OBJS)\animatelib_dummy.obj \
38 $(OBJS)\animatelib_animate.obj
40 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
42 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
44 ### Conditionally set variables: ###
46 !if "$(SHARED)" == "0"
47 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\vc_lib$(CFG)
49 !if "$(SHARED)" == "1"
50 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\vc_dll$(CFG)
52 !if "$(USE_GUI)" == "0"
55 !if "$(USE_GUI)" == "1"
58 !if "$(OFFICIAL_BUILD)" == "0"
59 VENDORTAG = _$(VENDOR)
61 !if "$(OFFICIAL_BUILD)" == "1"
64 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
67 !if "$(DEBUG_FLAG)" == "1"
70 !if "$(SHARED)" == "1"
73 !if "$(UNICODE)" == "1"
76 !if "$(WXUNIV)" == "1"
79 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
82 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
85 !if "$(DEBUG_INFO)" == "0"
88 !if "$(DEBUG_INFO)" == "1"
91 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
92 __DEBUGINFO_1 = /DEBUG
94 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
97 !if "$(DEBUG_INFO)" == "0"
100 !if "$(DEBUG_INFO)" == "1"
101 __DEBUGINFO_1 = /DEBUG
103 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
106 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
109 !if "$(DEBUG_INFO)" == "0"
112 !if "$(DEBUG_INFO)" == "1"
115 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
118 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
119 __DEBUGRUNTIME_15 = d
121 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
122 __DEBUGRUNTIME_15 = $(__DEBUGINFO)
124 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
127 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
130 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
131 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
133 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
134 __DEBUG_DEFINE_p = /D__WXDEBUG__
136 !if "$(DEBUG_FLAG)" == "1"
137 __DEBUG_DEFINE_p = /D__WXDEBUG__
139 !if "$(USE_EXCEPTIONS)" == "0"
142 !if "$(USE_EXCEPTIONS)" == "1"
143 __EXCEPTIONSFLAG = /GR
145 !if "$(USE_EXCEPTIONS)" == "0"
148 !if "$(USE_EXCEPTIONS)" == "1"
149 __EXCEPTIONSFLAG_0 = /GX
151 !if "$(USE_GUI)" == "1"
152 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
154 !if "$(USE_GUI)" == "1"
155 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
157 !if "$(USE_GUI)" == "1"
158 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
160 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
161 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
163 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
164 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
166 !if "$(BUILD)" == "debug"
169 !if "$(BUILD)" == "release"
172 !if "$(RUNTIME_LIBS)" == "dynamic"
175 !if "$(RUNTIME_LIBS)" == "static"
178 !if "$(UNICODE)" == "1"
179 __UNICODE_DEFINE_p = /D_UNICODE
182 __UNICOWS_LIB_p = unicows.lib
184 !if "$(MONOLITHIC)" == "0"
185 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
187 !if "$(MONOLITHIC)" == "0"
189 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
191 !if "$(MONOLITHIC)" == "1"
193 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
195 !if "$(WXUNIV)" == "1"
196 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
198 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
199 ____DEBUGINFO = /D_DEBUG
201 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
204 !if "$(DEBUG_INFO)" == "0"
207 !if "$(DEBUG_INFO)" == "1"
208 ____DEBUGINFO = /D_DEBUG
210 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
211 ____DEBUGRUNTIME_14_p =
213 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
214 ____DEBUGRUNTIME_14_p = /D_DEBUG
216 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
217 ____DEBUGRUNTIME_14_p = $(____DEBUGINFO)
219 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
220 ____DEBUGRUNTIME_2_p =
222 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
223 ____DEBUGRUNTIME_2_p = /D_DEBUG
225 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
226 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
228 !if "$(SHARED)" == "1"
229 __animatedll___depname = \
230 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll
232 !if "$(SHARED)" == "0"
233 __animatelib___depname = \
234 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
240 -if not exist $(OBJS) mkdir $(OBJS)
244 all: $(__animatedll___depname) $(__animatelib___depname)
246 $(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp
247 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) $**
249 $(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
250 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) /Ycwx/wxprec.h $**
252 $(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp
253 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) $**
255 $(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
256 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) /Ycwx/wxprec.h $**
258 !if "$(SHARED)" == "1"
259 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll: $(OBJS)\animatedll_dummy.obj $(ANIMATEDLL_OBJECTS)
260 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
261 $(ANIMATEDLL_OBJECTS) $(__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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
265 !if "$(SHARED)" == "0"
266 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib: $(OBJS)\animatelib_dummy.obj $(ANIMATELIB_OBJECTS)
268 lib /NOLOGO /OUT:$@ @<<
269 $(ANIMATELIB_OBJECTS)
274 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
275 -if exist $(OBJS)\*.res del $(OBJS)\*.res
276 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll
277 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).ilk
278 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).pdb
279 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
280 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib