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 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 ANIMATEDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).pdb \
22 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
23 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
24 /I..\..\src\animate\..\..\..\include /I$(SETUPHDIR) /W4 \
25 /I..\..\src\animate\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_ANIMATE \
26 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
27 /Fp"$(OBJS)\wxprec_animatedll.pch" $(CPPFLAGS) $(CXXFLAGS)
28 ANIMATEDLL_OBJECTS = \
29 $(OBJS)\animatedll_dummy.obj \
30 $(OBJS)\animatedll_animate.obj
31 ANIMATELIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_15) /DWIN32 \
33 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.pdb \
34 $(____DEBUGRUNTIME_14_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
35 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
36 /I..\..\src\animate\..\..\..\include /I$(SETUPHDIR) /W4 \
37 /I..\..\src\animate\..\..\include $(__EXCEPTIONSFLAG) \
38 $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_animatelib.pch" \
39 $(CPPFLAGS) $(CXXFLAGS)
40 ANIMATELIB_OBJECTS = \
41 $(OBJS)\animatelib_dummy.obj \
42 $(OBJS)\animatelib_animate.obj
44 ### Conditionally set variables: ###
46 !if "$(USE_GUI)" == "0"
49 !if "$(USE_GUI)" == "1"
52 !if "$(OFFICIAL_BUILD)" == "0"
53 VENDORTAG = _$(VENDOR)
55 !if "$(OFFICIAL_BUILD)" == "1"
58 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
61 !if "$(DEBUG_FLAG)" == "1"
64 !if "$(UNICODE)" == "1"
67 !if "$(WXUNIV)" == "1"
70 !if "$(SHARED)" == "1"
73 !if "$(SHARED)" == "1"
74 __animatedll___depname = \
75 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll
77 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
78 __DEBUGINFO_1 = /DEBUG
80 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
83 !if "$(DEBUG_INFO)" == "0"
86 !if "$(DEBUG_INFO)" == "1"
87 __DEBUGINFO_1 = /DEBUG
89 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
90 ____DEBUGRUNTIME_2_p =
92 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
93 ____DEBUGRUNTIME_2_p = /D_DEBUG
95 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
96 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
98 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
101 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
104 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
105 __DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
107 !if "$(MONOLITHIC)" == "1"
109 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
111 !if "$(USE_GUI)" == "1"
112 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
114 !if "$(USE_GUI)" == "1"
115 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
117 !if "$(USE_GUI)" == "1"
118 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
121 __UNICOWS_LIB_p = unicows.lib
123 !if "$(MONOLITHIC)" == "0"
125 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
127 !if "$(MONOLITHIC)" == "0"
128 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
130 !if "$(SHARED)" == "0"
131 __animatelib___depname = \
132 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
134 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
135 ____DEBUGRUNTIME_14_p =
137 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
138 ____DEBUGRUNTIME_14_p = /D_DEBUG
140 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
141 ____DEBUGRUNTIME_14_p = $(____DEBUGINFO)
143 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
146 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
147 __DEBUGRUNTIME_15 = d
149 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
150 __DEBUGRUNTIME_15 = $(__DEBUGINFO_2)
152 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
155 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
158 !if "$(DEBUG_INFO)" == "0"
161 !if "$(DEBUG_INFO)" == "1"
164 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
165 ____DEBUGINFO = /D_DEBUG
167 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
170 !if "$(DEBUG_INFO)" == "0"
173 !if "$(DEBUG_INFO)" == "1"
174 ____DEBUGINFO = /D_DEBUG
176 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
179 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
182 !if "$(DEBUG_INFO)" == "0"
185 !if "$(DEBUG_INFO)" == "1"
188 !if "$(BUILD)" == "debug"
191 !if "$(BUILD)" == "release"
194 !if "$(RUNTIME_LIBS)" == "dynamic"
197 !if "$(RUNTIME_LIBS)" == "static"
200 !if "$(USE_EXCEPTIONS)" == "0"
203 !if "$(USE_EXCEPTIONS)" == "1"
204 __EXCEPTIONSFLAG = /GR
206 !if "$(USE_EXCEPTIONS)" == "0"
209 !if "$(USE_EXCEPTIONS)" == "1"
210 __EXCEPTIONSFLAG_0 = /GX
212 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
213 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
215 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
216 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
218 !if "$(WXUNIV)" == "1"
219 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
221 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
222 __DEBUG_DEFINE_p = /D__WXDEBUG__
224 !if "$(DEBUG_FLAG)" == "1"
225 __DEBUG_DEFINE_p = /D__WXDEBUG__
227 !if "$(UNICODE)" == "1"
228 __UNICODE_DEFINE_p = /D_UNICODE
230 !if "$(SHARED)" == "0"
231 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\vc_lib$(CFG)
233 !if "$(SHARED)" == "1"
234 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\vc_dll$(CFG)
240 -if not exist $(OBJS) mkdir $(OBJS)
244 all: $(__animatedll___depname) $(__animatelib___depname)
247 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
248 -if exist $(OBJS)\*.res del $(OBJS)\*.res
249 -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
250 -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
251 -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
252 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
253 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
255 !if "$(SHARED)" == "1"
256 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll: $(OBJS)\animatedll_dummy.obj $(ANIMATEDLL_OBJECTS)
257 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
258 $(ANIMATEDLL_OBJECTS) $(__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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
262 !if "$(SHARED)" == "0"
263 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib: $(OBJS)\animatelib_dummy.obj $(ANIMATELIB_OBJECTS)
265 lib /NOLOGO /OUT:$@ @<<
266 $(ANIMATELIB_OBJECTS)
270 $(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
271 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) /Ycwx/wxprec.h $**
273 $(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp
274 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) $**
276 $(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
277 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) /Ycwx/wxprec.h $**
279 $(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp
280 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) $**