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 # -------------------------------------------------------------------------
16 ..\..\src\svg\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 SVGDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).pdb \
22 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
23 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\svg\..\..\..\include \
24 /I$(LIBDIRNAME) /I..\..\src\svg\..\..\..\src\tiff \
25 /I..\..\src\svg\..\..\..\src\jpeg /I..\..\src\svg\..\..\..\src\png \
26 /I..\..\src\svg\..\..\..\src\zlib /I..\..\src\svg\..\..\..\src\regex \
27 /I..\..\src\svg\..\..\..\src\expat\lib /I..\..\src\svg\..\..\include \
28 /DWXUSINGDLL /DWXMAKINGDLL_SVG $(CXXFLAGS) /Yu"wx/wxprec.h" \
29 /Fp"$(OBJS)\wxprec_svgdll.pch"
31 $(OBJS)\svgdll_dummy.obj \
32 $(OBJS)\svgdll_dcsvg.obj
33 SVGLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) /DWIN32 \
35 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.pdb \
36 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
37 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\svg\..\..\..\include \
38 /I$(LIBDIRNAME) /I..\..\src\svg\..\..\..\src\tiff \
39 /I..\..\src\svg\..\..\..\src\jpeg /I..\..\src\svg\..\..\..\src\png \
40 /I..\..\src\svg\..\..\..\src\zlib /I..\..\src\svg\..\..\..\src\regex \
41 /I..\..\src\svg\..\..\..\src\expat\lib /I..\..\src\svg\..\..\include \
42 $(CXXFLAGS) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svglib.pch"
44 $(OBJS)\svglib_dummy.obj \
45 $(OBJS)\svglib_dcsvg.obj
47 ### Conditionally set variables: ###
49 !if "$(USE_GUI)" == "0"
52 !if "$(USE_GUI)" == "1"
55 !if "$(OFFICIAL_BUILD)" == "0"
56 VENDORTAG = _$(VENDOR)
58 !if "$(OFFICIAL_BUILD)" == "1"
61 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
64 !if "$(DEBUG_FLAG)" == "1"
67 !if "$(SHARED)" == "1"
70 !if "$(UNICODE)" == "1"
73 !if "$(WXUNIV)" == "1"
76 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
79 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
82 !if "$(DEBUG_INFO)" == "0"
85 !if "$(DEBUG_INFO)" == "1"
88 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
89 __DEBUGINFO_1 = /DEBUG
91 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
94 !if "$(DEBUG_INFO)" == "0"
97 !if "$(DEBUG_INFO)" == "1"
98 __DEBUGINFO_1 = /DEBUG
100 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
103 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
106 !if "$(DEBUG_INFO)" == "0"
109 !if "$(DEBUG_INFO)" == "1"
112 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
115 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
116 __DEBUGRUNTIME_12 = d
118 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
119 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
121 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
124 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
127 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
128 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
130 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
131 __DEBUG_DEFINE_p = /D__WXDEBUG__
133 !if "$(DEBUG_FLAG)" == "1"
134 __DEBUG_DEFINE_p = /D__WXDEBUG__
136 !if "$(USE_GUI)" == "1"
137 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
139 !if "$(USE_GUI)" == "1"
140 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
142 !if "$(USE_GUI)" == "1"
143 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
145 !if "$(BUILD)" == "debug"
148 !if "$(BUILD)" == "release"
151 !if "$(RUNTIME_LIBS)" == "dynamic"
154 !if "$(RUNTIME_LIBS)" == "static"
157 !if "$(UNICODE)" == "1"
158 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
160 !if "$(MONOLITHIC)" == "0"
161 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
163 !if "$(MONOLITHIC)" == "0"
165 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
167 !if "$(MONOLITHIC)" == "1"
169 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
171 !if "$(WXUNIV)" == "1"
172 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
174 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
175 ____DEBUGINFO = /D_DEBUG
177 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
180 !if "$(DEBUG_INFO)" == "0"
183 !if "$(DEBUG_INFO)" == "1"
184 ____DEBUGINFO = /D_DEBUG
186 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
187 ____DEBUGRUNTIME_11_p =
189 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
190 ____DEBUGRUNTIME_11_p = /D_DEBUG
192 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
193 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
195 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
196 ____DEBUGRUNTIME_2_p =
198 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
199 ____DEBUGRUNTIME_2_p = /D_DEBUG
201 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
202 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
204 !if "$(SHARED)" == "1"
205 __svgdll___depname = \
206 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll
208 !if "$(SHARED)" == "0"
209 __svglib___depname = \
210 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
216 -if not exist $(OBJS) mkdir $(OBJS)
220 all: $(__svgdll___depname) $(__svglib___depname)
222 $(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
223 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) $**
225 $(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
226 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) /Ycwx/wxprec.h $**
228 $(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
229 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) $**
231 $(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
232 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) /Ycwx/wxprec.h $**
235 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
236 -if exist $(OBJS)\*.res del $(OBJS)\*.res
237 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll
238 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
239 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
241 !if "$(SHARED)" == "1"
242 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll: $(SVGDLL_OBJECTS) $(OBJS)\svgdll_dummy.obj
243 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
244 $(SVGDLL_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)_svg.lib
248 !if "$(SHARED)" == "0"
249 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib: $(SVGLIB_OBJECTS) $(OBJS)\svglib_dummy.obj
251 lib /NOLOGO /OUT:$@ @<<