1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (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 # -------------------------------------------------------------------------
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = ..\..\src\svg\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 SVGDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \
23 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).pdb \
24 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
25 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
26 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
27 $(__MSLU_DEFINE_p) /I..\..\src\svg\..\..\..\include /I$(SETUPHDIR) /W4 \
28 /I..\..\src\svg\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_SVG $(__RTTIFLAG) \
29 $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svgdll.pch" \
30 $(CPPFLAGS) $(CXXFLAGS)
32 $(OBJS)\svgdll_dummy.obj \
33 $(OBJS)\svgdll_version.res \
34 $(OBJS)\svgdll_dcsvg.obj
35 SVGLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
37 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.pdb \
38 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
39 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
40 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
41 $(__MSLU_DEFINE_p) /I..\..\src\svg\..\..\..\include /I$(SETUPHDIR) /W4 \
42 /I..\..\src\svg\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
43 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svglib.pch" $(CPPFLAGS) $(CXXFLAGS)
45 $(OBJS)\svglib_dummy.obj \
46 $(OBJS)\svglib_dcsvg.obj
48 ### Conditionally set variables: ###
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 "$(UNICODE)" == "1"
71 !if "$(WXUNIV)" == "1"
74 !if "$(SHARED)" == "1"
77 !if "$(SHARED)" == "0"
80 !if "$(SHARED)" == "1"
83 !if "$(MONOLITHIC)" == "0"
86 !if "$(MONOLITHIC)" == "1"
89 !if "$(SHARED)" == "1"
90 __svgdll___depname = \
91 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll
93 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
94 __DEBUGINFO_2 = /DEBUG
96 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
99 !if "$(DEBUG_INFO)" == "0"
102 !if "$(DEBUG_INFO)" == "1"
103 __DEBUGINFO_2 = /DEBUG
105 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
106 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
108 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
109 ____DEBUGRUNTIME_3_p_1 =
111 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
112 ____DEBUGRUNTIME_3_p_1 =
114 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
115 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
117 !if "$(RUNTIME_LIBS)" == "dynamic"
120 !if "$(RUNTIME_LIBS)" == "static"
121 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
123 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
124 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
126 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
127 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
129 !if "$(WXUNIV)" == "1"
130 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
132 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
133 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
135 !if "$(DEBUG_FLAG)" == "1"
136 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
138 !if "$(USE_EXCEPTIONS)" == "0"
139 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
141 !if "$(USE_RTTI)" == "0"
142 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
144 !if "$(USE_THREADS)" == "0"
145 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
147 !if "$(UNICODE)" == "1"
148 __UNICODE_DEFINE_p_1 = /d _UNICODE
151 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
153 !if "$(MONOLITHIC)" == "1"
155 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
157 !if "$(USE_GUI)" == "1"
158 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
160 !if "$(USE_GUI)" == "1"
161 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
163 !if "$(USE_GUI)" == "1"
164 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
167 __UNICOWS_LIB_p = unicows.lib
169 !if "$(MONOLITHIC)" == "0"
171 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
173 !if "$(MONOLITHIC)" == "0"
175 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
177 !if "$(SHARED)" == "0"
178 __svglib___depname = \
179 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
181 !if "$(RUNTIME_LIBS)" == "dynamic"
182 __RUNTIME_LIBS_22 = D
184 !if "$(RUNTIME_LIBS)" == "static"
185 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
187 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
190 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
193 !if "$(DEBUG_INFO)" == "0"
196 !if "$(DEBUG_INFO)" == "1"
199 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
200 ____DEBUGRUNTIME = /D_DEBUG
202 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
205 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
208 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
209 ____DEBUGRUNTIME = /D_DEBUG
211 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
214 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
217 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
220 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
223 !if "$(BUILD)" == "debug"
226 !if "$(BUILD)" == "release"
229 !if "$(USE_THREADS)" == "0"
232 !if "$(USE_THREADS)" == "1"
235 !if "$(USE_RTTI)" == "0"
238 !if "$(USE_RTTI)" == "1"
241 !if "$(USE_EXCEPTIONS)" == "0"
244 !if "$(USE_EXCEPTIONS)" == "1"
245 __EXCEPTIONSFLAG = /EHsc
247 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
248 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
250 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
251 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
253 !if "$(WXUNIV)" == "1"
254 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
256 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
257 __DEBUG_DEFINE_p = /D__WXDEBUG__
259 !if "$(DEBUG_FLAG)" == "1"
260 __DEBUG_DEFINE_p = /D__WXDEBUG__
262 !if "$(USE_EXCEPTIONS)" == "0"
263 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
265 !if "$(USE_RTTI)" == "0"
266 __RTTI_DEFINE_p = /DwxNO_RTTI
268 !if "$(USE_THREADS)" == "0"
269 __THREAD_DEFINE_p = /DwxNO_THREADS
271 !if "$(UNICODE)" == "1"
272 __UNICODE_DEFINE_p = /D_UNICODE
275 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
281 -if not exist $(OBJS) mkdir $(OBJS)
285 all: $(__svgdll___depname) $(__svglib___depname)
288 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
289 -if exist $(OBJS)\*.res del $(OBJS)\*.res
290 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
291 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll
292 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).ilk
293 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).pdb
294 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
295 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
297 !if "$(SHARED)" == "1"
298 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll: $(OBJS)\svgdll_dummy.obj $(SVGDLL_OBJECTS) $(OBJS)\svgdll_version.res
299 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
300 $(SVGDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__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)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
304 !if "$(SHARED)" == "0"
305 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib: $(OBJS)\svglib_dummy.obj $(SVGLIB_OBJECTS)
307 link /LIB /NOLOGO /OUT:$@ @<<
312 $(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) /Ycwx/wxprec.h $**
315 $(OBJS)\svgdll_version.res: ../../src/svg\..\..\..\src\msw\version.rc
316 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) /i ..\..\src\svg\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG) $**
318 $(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) $**
321 $(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
322 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) /Ycwx/wxprec.h $**
324 $(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
325 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) $**