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 # -------------------------------------------------------------------------
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) /I..\..\src\svg\..\..\..\include /I$(SETUPHDIR) /W4 \
30 /I..\..\src\svg\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_SVG $(__RTTIFLAG) \
31 $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svgdll.pch" \
32 $(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) /I..\..\src\svg\..\..\..\include /I$(SETUPHDIR) /W4 \
44 /I..\..\src\svg\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
45 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svglib.pch" $(CPPFLAGS) $(CXXFLAGS)
47 $(OBJS)\svglib_dummy.obj \
48 $(OBJS)\svglib_dcsvg.obj
50 ### Conditionally set variables: ###
52 !if "$(USE_GUI)" == "0"
55 !if "$(USE_GUI)" == "1"
58 !if "$(OFFICIAL_BUILD)" == "0"
59 VENDORTAG = _$(VENDOR)
61 !if "$(OFFICIAL_BUILD)" == "1"
64 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
67 !if "$(DEBUG_FLAG)" == "1"
70 !if "$(UNICODE)" == "1"
73 !if "$(WXUNIV)" == "1"
76 !if "$(TARGET_CPU)" == "AMD64"
77 DIR_SUFFIX_CPU = _amd64
79 !if "$(TARGET_CPU)" == "IA64"
80 DIR_SUFFIX_CPU = _ia64
82 !if "$(SHARED)" == "1"
85 !if "$(SHARED)" == "0"
88 !if "$(SHARED)" == "1"
91 !if "$(TARGET_CPU)" == "AMD64"
92 LINK_TARGET_CPU = /MACHINE:AMD64
94 !if "$(TARGET_CPU)" == "IA64"
95 LINK_TARGET_CPU = /MACHINE:IA64
97 !if "$(MONOLITHIC)" == "0"
100 !if "$(MONOLITHIC)" == "1"
103 !if "$(SHARED)" == "1"
104 __svgdll___depname = \
105 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll
107 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
108 __DEBUGINFO_2 = /DEBUG
110 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
113 !if "$(DEBUG_INFO)" == "0"
116 !if "$(DEBUG_INFO)" == "1"
117 __DEBUGINFO_2 = /DEBUG
119 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
120 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
122 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
123 ____DEBUGRUNTIME_3_p_1 =
125 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
126 ____DEBUGRUNTIME_3_p_1 =
128 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
129 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
131 !if "$(RUNTIME_LIBS)" == "dynamic"
134 !if "$(RUNTIME_LIBS)" == "static"
135 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
137 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
138 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
140 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
141 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
143 !if "$(TARGET_CPU)" == "AMD64"
144 __RES_TARGET_CPU_p = /d WX_CPU_AMD64
146 !if "$(TARGET_CPU)" == "IA64"
147 __RES_TARGET_CPU_p = /d WX_CPU_IA64
149 !if "$(WXUNIV)" == "1"
150 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
152 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
153 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
155 !if "$(DEBUG_FLAG)" == "1"
156 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
158 !if "$(USE_EXCEPTIONS)" == "0"
159 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
161 !if "$(USE_RTTI)" == "0"
162 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
164 !if "$(USE_THREADS)" == "0"
165 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
167 !if "$(UNICODE)" == "1"
168 __UNICODE_DEFINE_p_1 = /d _UNICODE
171 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
173 !if "$(MONOLITHIC)" == "1"
175 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
177 !if "$(USE_GUI)" == "1"
178 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
180 !if "$(USE_GUI)" == "1"
181 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
183 !if "$(USE_GUI)" == "1"
184 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
187 __UNICOWS_LIB_p = unicows.lib
189 !if "$(MONOLITHIC)" == "0"
191 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
193 !if "$(MONOLITHIC)" == "0"
195 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
197 !if "$(SHARED)" == "0"
198 __svglib___depname = \
199 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
201 !if "$(RUNTIME_LIBS)" == "dynamic"
202 __RUNTIME_LIBS_22 = D
204 !if "$(RUNTIME_LIBS)" == "static"
205 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
207 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
210 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
213 !if "$(DEBUG_INFO)" == "0"
216 !if "$(DEBUG_INFO)" == "1"
219 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
220 ____DEBUGRUNTIME = /D_DEBUG
222 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
225 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
228 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
229 ____DEBUGRUNTIME = /D_DEBUG
231 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
234 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
237 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
240 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
243 !if "$(BUILD)" == "debug"
246 !if "$(BUILD)" == "release"
249 !if "$(USE_THREADS)" == "0"
252 !if "$(USE_THREADS)" == "1"
255 !if "$(USE_RTTI)" == "0"
258 !if "$(USE_RTTI)" == "1"
261 !if "$(USE_EXCEPTIONS)" == "0"
264 !if "$(USE_EXCEPTIONS)" == "1"
265 __EXCEPTIONSFLAG = /EHsc
267 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
268 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
270 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
271 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
273 !if "$(WXUNIV)" == "1"
274 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
276 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
277 __DEBUG_DEFINE_p = /D__WXDEBUG__
279 !if "$(DEBUG_FLAG)" == "1"
280 __DEBUG_DEFINE_p = /D__WXDEBUG__
282 !if "$(USE_EXCEPTIONS)" == "0"
283 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
285 !if "$(USE_RTTI)" == "0"
286 __RTTI_DEFINE_p = /DwxNO_RTTI
288 !if "$(USE_THREADS)" == "0"
289 __THREAD_DEFINE_p = /DwxNO_THREADS
291 !if "$(UNICODE)" == "1"
292 __UNICODE_DEFINE_p = /D_UNICODE
295 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
301 -if not exist $(OBJS) mkdir $(OBJS)
305 all: $(__svgdll___depname) $(__svglib___depname)
308 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
309 -if exist $(OBJS)\*.res del $(OBJS)\*.res
310 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
311 -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
312 -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
313 -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
314 -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
315 -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
317 !if "$(SHARED)" == "1"
318 $(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
319 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
320 $(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
324 !if "$(SHARED)" == "0"
325 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib: $(OBJS)\svglib_dummy.obj $(SVGLIB_OBJECTS)
327 link /LIB /NOLOGO /OUT:$@ @<<
332 $(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
333 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) /Ycwx/wxprec.h $**
335 $(OBJS)\svgdll_version.res: ../../src/svg\..\..\..\src\msw\version.rc
336 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) $(__NO_VC_CRTDBG_p_1) $(__RES_TARGET_CPU_p) /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_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG) $**
338 $(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) $**
341 $(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
342 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) /Ycwx/wxprec.h $**
344 $(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
345 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) $**