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 = $(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$(SETUPHDIR) \
21 /I..\..\src\animate\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_ANIMATE \
22 $(CXXFLAGS) /GR /GX /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_animatedll.pch"
23 ANIMATEDLL_OBJECTS = \
24 $(OBJS)\animatedll_dummy.obj \
25 $(OBJS)\animatedll_animate.obj
26 ANIMATELIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) \
27 /DWIN32 $(__DEBUGINFO_2) \
28 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.pdb \
29 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
30 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
31 /I..\..\src\animate\..\..\..\include /I$(SETUPHDIR) \
32 /I..\..\src\animate\..\..\include $(CXXFLAGS) /GR /GX /Yu"wx/wxprec.h" \
33 /Fp"$(OBJS)\wxprec_animatelib.pch"
34 ANIMATELIB_OBJECTS = \
35 $(OBJS)\animatelib_dummy.obj \
36 $(OBJS)\animatelib_animate.obj
38 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
40 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
42 ### Conditionally set variables: ###
44 !if "$(SHARED)" == "0"
45 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\vc_lib$(CFG)
47 !if "$(SHARED)" == "1"
48 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\vc_dll$(CFG)
50 !if "$(USE_GUI)" == "0"
53 !if "$(USE_GUI)" == "1"
56 !if "$(OFFICIAL_BUILD)" == "0"
57 VENDORTAG = _$(VENDOR)
59 !if "$(OFFICIAL_BUILD)" == "1"
62 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
65 !if "$(DEBUG_FLAG)" == "1"
68 !if "$(SHARED)" == "1"
71 !if "$(UNICODE)" == "1"
74 !if "$(WXUNIV)" == "1"
77 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
80 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
83 !if "$(DEBUG_INFO)" == "0"
86 !if "$(DEBUG_INFO)" == "1"
89 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
90 __DEBUGINFO_1 = /DEBUG
92 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
95 !if "$(DEBUG_INFO)" == "0"
98 !if "$(DEBUG_INFO)" == "1"
99 __DEBUGINFO_1 = /DEBUG
101 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
104 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
107 !if "$(DEBUG_INFO)" == "0"
110 !if "$(DEBUG_INFO)" == "1"
113 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
116 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
117 __DEBUGRUNTIME_12 = d
119 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
120 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
122 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
125 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
128 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
129 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
131 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
132 __DEBUG_DEFINE_p = /D__WXDEBUG__
134 !if "$(DEBUG_FLAG)" == "1"
135 __DEBUG_DEFINE_p = /D__WXDEBUG__
137 !if "$(USE_GUI)" == "1"
138 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
140 !if "$(USE_GUI)" == "1"
141 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
143 !if "$(USE_GUI)" == "1"
144 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
146 !if "$(BUILD)" == "debug"
149 !if "$(BUILD)" == "release"
152 !if "$(RUNTIME_LIBS)" == "dynamic"
155 !if "$(RUNTIME_LIBS)" == "static"
158 !if "$(UNICODE)" == "1"
159 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
162 __UNICOWS_LIB_p = unicows.lib
164 !if "$(MONOLITHIC)" == "0"
165 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
167 !if "$(MONOLITHIC)" == "0"
169 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
171 !if "$(MONOLITHIC)" == "1"
173 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
175 !if "$(WXUNIV)" == "1"
176 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
178 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
179 ____DEBUGINFO = /D_DEBUG
181 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
184 !if "$(DEBUG_INFO)" == "0"
187 !if "$(DEBUG_INFO)" == "1"
188 ____DEBUGINFO = /D_DEBUG
190 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
191 ____DEBUGRUNTIME_11_p =
193 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
194 ____DEBUGRUNTIME_11_p = /D_DEBUG
196 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
197 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
199 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
200 ____DEBUGRUNTIME_2_p =
202 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
203 ____DEBUGRUNTIME_2_p = /D_DEBUG
205 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
206 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
208 !if "$(SHARED)" == "1"
209 __animatedll___depname = \
210 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll
212 !if "$(SHARED)" == "0"
213 __animatelib___depname = \
214 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
220 -if not exist $(OBJS) mkdir $(OBJS)
224 all: $(__animatedll___depname) $(__animatelib___depname)
226 $(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp
227 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) $**
229 $(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
230 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATEDLL_CXXFLAGS) /Ycwx/wxprec.h $**
232 $(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp
233 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) $**
235 $(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
236 $(CXX) /c /nologo /TP /Fo$@ $(ANIMATELIB_CXXFLAGS) /Ycwx/wxprec.h $**
238 !if "$(SHARED)" == "1"
239 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_vc$(VENDORTAG).dll: $(OBJS)\animatedll_dummy.obj $(ANIMATEDLL_OBJECTS)
240 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
241 $(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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
245 !if "$(SHARED)" == "0"
246 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib: $(OBJS)\animatelib_dummy.obj $(ANIMATELIB_OBJECTS)
248 lib /NOLOGO /OUT:$@ @<<
249 $(ANIMATELIB_OBJECTS)
254 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
255 -if exist $(OBJS)\*.res del $(OBJS)\*.res
256 -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
257 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
258 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib