1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.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 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
20 ..\..\src\svg\..\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 SVGDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \
25 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).pdb \
26 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
27 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
28 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
29 $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) \
30 /I..\..\src\svg\..\..\..\include /W4 /I..\..\src\svg\..\..\include \
31 /DWXUSINGDLL /DWXMAKINGDLL_SVG $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
32 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svgdll.pch" $(CPPFLAGS) $(CXXFLAGS)
34 $(OBJS)\svgdll_dummy.obj \
35 $(OBJS)\svgdll_version.res \
36 $(OBJS)\svgdll_dcsvg.obj
37 SVGLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
39 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.pdb \
40 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
41 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
42 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
43 $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) \
44 /I..\..\src\svg\..\..\..\include /W4 /I..\..\src\svg\..\..\include \
45 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
46 /Fp"$(OBJS)\wxprec_svglib.pch" $(CPPFLAGS) $(CXXFLAGS)
48 $(OBJS)\svglib_dummy.obj \
49 $(OBJS)\svglib_dcsvg.obj
51 ### Conditionally set variables: ###
53 !if "$(USE_GUI)" == "0"
56 !if "$(USE_GUI)" == "1"
59 !if "$(OFFICIAL_BUILD)" == "0"
60 VENDORTAG = _$(VENDOR)
62 !if "$(OFFICIAL_BUILD)" == "1"
65 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
68 !if "$(DEBUG_FLAG)" == "1"
71 !if "$(UNICODE)" == "1"
74 !if "$(WXUNIV)" == "1"
77 !if "$(TARGET_CPU)" == "amd64"
78 DIR_SUFFIX_CPU = _amd64
80 !if "$(TARGET_CPU)" == "amd64"
81 DIR_SUFFIX_CPU = _amd64
83 !if "$(TARGET_CPU)" == "ia64"
84 DIR_SUFFIX_CPU = _ia64
86 !if "$(TARGET_CPU)" == "ia64"
87 DIR_SUFFIX_CPU = _ia64
89 !if "$(SHARED)" == "1"
92 !if "$(SHARED)" == "0"
95 !if "$(SHARED)" == "1"
98 !if "$(TARGET_CPU)" == "amd64"
99 LINK_TARGET_CPU = /MACHINE:AMD64
101 !if "$(TARGET_CPU)" == "amd64"
102 LINK_TARGET_CPU = /MACHINE:AMD64
104 !if "$(TARGET_CPU)" == "ia64"
105 LINK_TARGET_CPU = /MACHINE:IA64
107 !if "$(TARGET_CPU)" == "ia64"
108 LINK_TARGET_CPU = /MACHINE:IA64
110 !if "$(MONOLITHIC)" == "0"
113 !if "$(MONOLITHIC)" == "1"
116 !if "$(SHARED)" == "1"
117 __svgdll___depname = \
118 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll
120 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
121 __DEBUGINFO_2 = /DEBUG
123 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
126 !if "$(DEBUG_INFO)" == "0"
129 !if "$(DEBUG_INFO)" == "1"
130 __DEBUGINFO_2 = /DEBUG
132 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
133 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
135 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
136 ____DEBUGRUNTIME_3_p_1 =
138 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
139 ____DEBUGRUNTIME_3_p_1 =
141 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
142 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
144 !if "$(RUNTIME_LIBS)" == "dynamic"
147 !if "$(RUNTIME_LIBS)" == "static"
148 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
150 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
151 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
153 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
154 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
156 !if "$(WXUNIV)" == "1"
157 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
159 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
160 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
162 !if "$(DEBUG_FLAG)" == "1"
163 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
165 !if "$(USE_EXCEPTIONS)" == "0"
166 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
168 !if "$(USE_RTTI)" == "0"
169 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
171 !if "$(USE_THREADS)" == "0"
172 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
174 !if "$(UNICODE)" == "1"
175 __UNICODE_DEFINE_p_1 = /d _UNICODE
178 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
180 !if "$(USE_GDIPLUS)" == "1"
181 __GFXCTX_DEFINE_p_1 = /d wxUSE_GRAPHICS_CONTEXT=1
183 !if "$(MONOLITHIC)" == "1"
185 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
187 !if "$(USE_GUI)" == "1"
188 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
190 !if "$(USE_GUI)" == "1"
191 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
193 !if "$(USE_GUI)" == "1"
194 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
197 __UNICOWS_LIB_p = unicows.lib
199 !if "$(USE_GDIPLUS)" == "1"
200 __GDIPLUS_LIB_p = gdiplus.lib
202 !if "$(MONOLITHIC)" == "0"
204 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
206 !if "$(MONOLITHIC)" == "0"
208 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
210 !if "$(SHARED)" == "0"
211 __svglib___depname = \
212 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
214 !if "$(RUNTIME_LIBS)" == "dynamic"
215 __RUNTIME_LIBS_22 = D
217 !if "$(RUNTIME_LIBS)" == "static"
218 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
220 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
223 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
226 !if "$(DEBUG_INFO)" == "0"
229 !if "$(DEBUG_INFO)" == "1"
232 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
233 ____DEBUGRUNTIME = /D_DEBUG
235 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
238 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
241 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
242 ____DEBUGRUNTIME = /D_DEBUG
244 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
247 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
250 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
253 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
256 !if "$(BUILD)" == "debug"
259 !if "$(BUILD)" == "release"
262 !if "$(USE_THREADS)" == "0"
265 !if "$(USE_THREADS)" == "1"
268 !if "$(USE_RTTI)" == "0"
271 !if "$(USE_RTTI)" == "1"
274 !if "$(USE_EXCEPTIONS)" == "0"
277 !if "$(USE_EXCEPTIONS)" == "1"
278 __EXCEPTIONSFLAG = /EHsc
280 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
281 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
283 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
284 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
286 !if "$(WXUNIV)" == "1"
287 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
289 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
290 __DEBUG_DEFINE_p = /D__WXDEBUG__
292 !if "$(DEBUG_FLAG)" == "1"
293 __DEBUG_DEFINE_p = /D__WXDEBUG__
295 !if "$(USE_EXCEPTIONS)" == "0"
296 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
298 !if "$(USE_RTTI)" == "0"
299 __RTTI_DEFINE_p = /DwxNO_RTTI
301 !if "$(USE_THREADS)" == "0"
302 __THREAD_DEFINE_p = /DwxNO_THREADS
304 !if "$(UNICODE)" == "1"
305 __UNICODE_DEFINE_p = /D_UNICODE
308 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
310 !if "$(USE_GDIPLUS)" == "1"
311 __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1
317 -if not exist $(OBJS) mkdir $(OBJS)
321 all: $(__svgdll___depname) $(__svglib___depname)
324 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
325 -if exist $(OBJS)\*.res del $(OBJS)\*.res
326 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
327 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll
328 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).ilk
329 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).pdb
330 -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
331 -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
333 !if "$(SHARED)" == "1"
334 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll: $(OBJS)\svgdll_dummy.obj $(SVGDLL_OBJECTS) $(OBJS)\svgdll_version.res
335 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
336 $(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) $(__GDIPLUS_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 odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
340 !if "$(SHARED)" == "0"
341 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib: $(OBJS)\svglib_dummy.obj $(SVGLIB_OBJECTS)
343 link /LIB /NOLOGO /OUT:$@ @<<
348 $(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\common\dummy.cpp
349 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) /Ycwx/wxprec.h $**
351 $(OBJS)\svgdll_version.res: ../../src/svg\..\..\..\src\msw\version.rc
352 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) $(__GFXCTX_DEFINE_p_1) /i $(SETUPHDIR) /i ..\..\src\svg\..\..\..\include /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG) $**
354 $(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
355 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) $**
357 $(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\common\dummy.cpp
358 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) /Ycwx/wxprec.h $**
360 $(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
361 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) $**