1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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 SVGDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).pdb \
22 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
23 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
24 /I..\..\src\svg\..\..\..\include /I$(SETUPHDIR) /W4 \
25 /I..\..\src\svg\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_SVG \
26 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
27 /Fp"$(OBJS)\wxprec_svgdll.pch" $(CPPFLAGS) $(CXXFLAGS)
29 $(OBJS)\svgdll_dummy.obj \
30 $(OBJS)\svgdll_dcsvg.obj
31 SVGLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
33 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.pdb \
34 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
35 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
36 /I..\..\src\svg\..\..\..\include /I$(SETUPHDIR) /W4 \
37 /I..\..\src\svg\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
38 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svglib.pch" $(CPPFLAGS) $(CXXFLAGS)
40 $(OBJS)\svglib_dummy.obj \
41 $(OBJS)\svglib_dcsvg.obj
43 ### Conditionally set variables: ###
45 !if "$(USE_GUI)" == "0"
48 !if "$(USE_GUI)" == "1"
51 !if "$(OFFICIAL_BUILD)" == "0"
52 VENDORTAG = _$(VENDOR)
54 !if "$(OFFICIAL_BUILD)" == "1"
57 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
60 !if "$(DEBUG_FLAG)" == "1"
63 !if "$(UNICODE)" == "1"
66 !if "$(WXUNIV)" == "1"
69 !if "$(SHARED)" == "1"
72 !if "$(SHARED)" == "1"
73 __svgdll___depname = \
74 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll
76 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
77 __DEBUGINFO_2 = /DEBUG
79 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
82 !if "$(DEBUG_INFO)" == "0"
85 !if "$(DEBUG_INFO)" == "1"
86 __DEBUGINFO_2 = /DEBUG
88 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
89 ____DEBUGRUNTIME_3_p =
91 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
92 ____DEBUGRUNTIME_3_p = /D_DEBUG
94 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
95 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
97 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
100 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
103 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
104 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
106 !if "$(MONOLITHIC)" == "1"
108 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
110 !if "$(USE_GUI)" == "1"
111 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
113 !if "$(USE_GUI)" == "1"
114 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
116 !if "$(USE_GUI)" == "1"
117 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
120 __UNICOWS_LIB_p = unicows.lib
122 !if "$(MONOLITHIC)" == "0"
124 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
126 !if "$(MONOLITHIC)" == "0"
127 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
129 !if "$(SHARED)" == "0"
130 __svglib___depname = \
131 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
133 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
134 ____DEBUGRUNTIME_15_p =
136 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
137 ____DEBUGRUNTIME_15_p = /D_DEBUG
139 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
140 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
142 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
145 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
146 __DEBUGRUNTIME_16 = d
148 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
149 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
151 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
154 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
157 !if "$(DEBUG_INFO)" == "0"
160 !if "$(DEBUG_INFO)" == "1"
163 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
164 ____DEBUGINFO = /D_DEBUG
166 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
169 !if "$(DEBUG_INFO)" == "0"
172 !if "$(DEBUG_INFO)" == "1"
173 ____DEBUGINFO = /D_DEBUG
175 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
178 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
181 !if "$(DEBUG_INFO)" == "0"
184 !if "$(DEBUG_INFO)" == "1"
187 !if "$(BUILD)" == "debug"
190 !if "$(BUILD)" == "release"
193 !if "$(RUNTIME_LIBS)" == "dynamic"
196 !if "$(RUNTIME_LIBS)" == "static"
199 !if "$(USE_EXCEPTIONS)" == "0"
202 !if "$(USE_EXCEPTIONS)" == "1"
203 __EXCEPTIONSFLAG = /GR
205 !if "$(USE_EXCEPTIONS)" == "0"
208 !if "$(USE_EXCEPTIONS)" == "1"
209 __EXCEPTIONSFLAG_0 = /GX
211 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
212 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
214 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
215 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
217 !if "$(WXUNIV)" == "1"
218 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
220 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
221 __DEBUG_DEFINE_p = /D__WXDEBUG__
223 !if "$(DEBUG_FLAG)" == "1"
224 __DEBUG_DEFINE_p = /D__WXDEBUG__
226 !if "$(UNICODE)" == "1"
227 __UNICODE_DEFINE_p = /D_UNICODE
229 !if "$(SHARED)" == "0"
230 LIBDIRNAME = ..\..\src\svg\..\..\..\lib\vc_lib$(CFG)
232 !if "$(SHARED)" == "1"
233 LIBDIRNAME = ..\..\src\svg\..\..\..\lib\vc_dll$(CFG)
239 -if not exist $(OBJS) mkdir $(OBJS)
243 all: $(__svgdll___depname) $(__svglib___depname)
246 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
247 -if exist $(OBJS)\*.res del $(OBJS)\*.res
248 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll
249 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).ilk
250 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).pdb
251 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
252 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
254 !if "$(SHARED)" == "1"
255 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll: $(OBJS)\svgdll_dummy.obj $(SVGDLL_OBJECTS)
256 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
257 $(SVGDLL_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)_svg.lib
261 !if "$(SHARED)" == "0"
262 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib: $(OBJS)\svglib_dummy.obj $(SVGLIB_OBJECTS)
264 lib /NOLOGO /OUT:$@ @<<
269 $(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
270 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) /Ycwx/wxprec.h $**
272 $(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
273 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) $**
275 $(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
276 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) /Ycwx/wxprec.h $**
278 $(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
279 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) $**