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/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 ANIMATEDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) \
16 /DWIN32 $(__DEBUGINFO_2) \
17 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).pdb \
18 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
19 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
20 /I..\..\src\animate\..\..\..\include /I$(LIBDIRNAME) \
21 /I..\..\src\animate\..\..\..\src\tiff \
22 /I..\..\src\animate\..\..\..\src\jpeg \
23 /I..\..\src\animate\..\..\..\src\png \
24 /I..\..\src\animate\..\..\..\src\zlib \
25 /I..\..\src\animate\..\..\..\src\regex \
26 /I..\..\src\animate\..\..\..\src\expat\lib \
27 /I..\..\src\animate\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_ANIMATE \
28 $(CXXFLAGS) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_animatedll.pch"
29 ANIMATEDLL_OBJECTS = \
30 $(OBJS)\animatedll_dummy.obj \
31 $(OBJS)\animatedll_animate.obj
32 ANIMATELIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) \
33 /DWIN32 $(__DEBUGINFO_2) \
34 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.pdb \
35 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
36 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
37 /I..\..\src\animate\..\..\..\include /I$(LIBDIRNAME) \
38 /I..\..\src\animate\..\..\..\src\tiff \
39 /I..\..\src\animate\..\..\..\src\jpeg \
40 /I..\..\src\animate\..\..\..\src\png \
41 /I..\..\src\animate\..\..\..\src\zlib \
42 /I..\..\src\animate\..\..\..\src\regex \
43 /I..\..\src\animate\..\..\..\src\expat\lib \
44 /I..\..\src\animate\..\..\include $(CXXFLAGS) /Yu"wx/wxprec.h" \
45 /Fp"$(OBJS)\wxprec_animatelib.pch"
46 ANIMATELIB_OBJECTS = \
47 $(OBJS)\animatelib_dummy.obj \
48 $(OBJS)\animatelib_animate.obj
50 ..\..\src\animate\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
52 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
54 ### Conditionally set variables: ###
56 !if "$(USE_GUI)" == "0"
59 !if "$(USE_GUI)" == "1"
62 !if "$(OFFICIAL_BUILD)" == "0"
63 VENDORTAG = _$(VENDOR)
65 !if "$(OFFICIAL_BUILD)" == "1"
68 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
71 !if "$(DEBUG_FLAG)" == "1"
74 !if "$(SHARED)" == "1"
77 !if "$(UNICODE)" == "1"
80 !if "$(WXUNIV)" == "1"
83 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
86 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
89 !if "$(DEBUG_INFO)" == "0"
92 !if "$(DEBUG_INFO)" == "1"
95 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
96 __DEBUGINFO_1 = /DEBUG
98 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
101 !if "$(DEBUG_INFO)" == "0"
104 !if "$(DEBUG_INFO)" == "1"
105 __DEBUGINFO_1 = /DEBUG
107 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
110 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
113 !if "$(DEBUG_INFO)" == "0"
116 !if "$(DEBUG_INFO)" == "1"
119 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
122 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
123 __DEBUGRUNTIME_12 = d
125 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
126 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
128 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
131 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
134 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
135 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
137 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
138 __DEBUG_DEFINE_p = /D__WXDEBUG__
140 !if "$(DEBUG_FLAG)" == "1"
141 __DEBUG_DEFINE_p = /D__WXDEBUG__
143 !if "$(USE_GUI)" == "1"
144 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
146 !if "$(USE_GUI)" == "1"
147 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
149 !if "$(USE_GUI)" == "1"
150 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
152 !if "$(BUILD)" == "debug"
155 !if "$(BUILD)" == "release"
158 !if "$(RUNTIME_LIBS)" == "dynamic"
161 !if "$(RUNTIME_LIBS)" == "static"
164 !if "$(UNICODE)" == "1"
165 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
167 !if "$(MONOLITHIC)" == "0"
168 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
170 !if "$(MONOLITHIC)" == "0"
172 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
174 !if "$(MONOLITHIC)" == "1"
176 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
178 !if "$(WXUNIV)" == "1"
179 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
181 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
182 ____DEBUGINFO = /D_DEBUG
184 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
185 ____DEBUGINFO = /DNDEBUG
187 !if "$(DEBUG_INFO)" == "0"
188 ____DEBUGINFO = /DNDEBUG
190 !if "$(DEBUG_INFO)" == "1"
191 ____DEBUGINFO = /D_DEBUG
193 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
194 ____DEBUGRUNTIME_11_p = /DNDEBUG
196 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
197 ____DEBUGRUNTIME_11_p = /D_DEBUG
199 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
200 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
202 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
203 ____DEBUGRUNTIME_2_p = /DNDEBUG
205 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
206 ____DEBUGRUNTIME_2_p = /D_DEBUG
208 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
209 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
211 !if "$(SHARED)" == "1"
212 __animatedll___depname = \
213 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll
215 !if "$(SHARED)" == "0"
216 __animatelib___depname = \
217 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
223 -if not exist $(OBJS) mkdir $(OBJS)
227 all: $(__animatedll___depname) $(__animatelib___depname)
229 $(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp
230 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) $**
232 $(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
233 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) /Ycwx/wxprec.h $**
235 $(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp
236 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) $**
238 $(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
239 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) /Ycwx/wxprec.h $**
241 !if "$(SHARED)" == "1"
242 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll: $(ANIMATEDLL_OBJECTS) $(OBJS)\animatedll_dummy.obj
243 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
244 $(ANIMATEDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib 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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
248 !if "$(SHARED)" == "0"
249 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib: $(ANIMATELIB_OBJECTS) $(OBJS)\animatelib_dummy.obj
251 lib /NOLOGO /OUT:$@ @<<
252 $(ANIMATELIB_OBJECTS)
257 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
258 -if exist $(OBJS)\*.res del $(OBJS)\*.res
259 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll
260 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
261 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib