]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/build/svg/makefile.vc
Elliptic arc fix for getting bounds
[wxWidgets.git] / contrib / build / svg / makefile.vc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.6 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7!include <../../../build/msw/config.vc>
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15WX_RELEASE_NODOT = 25
16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
17OBJS = \
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19LIBDIRNAME = ..\..\src\svg\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
20SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22SVGDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
23 $(__DEBUGINFO_1) \
24 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).pdb \
25 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
26 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
27 /I..\..\src\svg\..\..\..\include /I$(SETUPHDIR) /W4 \
28 /I..\..\src\svg\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_SVG \
29 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
30 /Fp"$(OBJS)\wxprec_svgdll.pch" $(CPPFLAGS) $(CXXFLAGS)
31SVGDLL_OBJECTS = \
32 $(OBJS)\svgdll_dummy.obj \
33 $(OBJS)\svgdll_dcsvg.obj
34SVGLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
35 $(__DEBUGINFO_1) \
36 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.pdb \
37 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
38 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
39 /I..\..\src\svg\..\..\..\include /I$(SETUPHDIR) /W4 \
40 /I..\..\src\svg\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
41 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svglib.pch" $(CPPFLAGS) $(CXXFLAGS)
42SVGLIB_OBJECTS = \
43 $(OBJS)\svglib_dummy.obj \
44 $(OBJS)\svglib_dcsvg.obj
45
46### Conditionally set variables: ###
47
48!if "$(USE_GUI)" == "0"
49PORTNAME = base
50!endif
51!if "$(USE_GUI)" == "1"
52PORTNAME = msw
53!endif
54!if "$(OFFICIAL_BUILD)" == "0"
55VENDORTAG = _$(VENDOR)
56!endif
57!if "$(OFFICIAL_BUILD)" == "1"
58VENDORTAG =
59!endif
60!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
61WXDEBUGFLAG = d
62!endif
63!if "$(DEBUG_FLAG)" == "1"
64WXDEBUGFLAG = d
65!endif
66!if "$(UNICODE)" == "1"
67WXUNICODEFLAG = u
68!endif
69!if "$(WXUNIV)" == "1"
70WXUNIVNAME = univ
71!endif
72!if "$(SHARED)" == "1"
73WXDLLFLAG = dll
74!endif
75!if "$(SHARED)" == "0"
76LIBTYPE_SUFFIX = lib
77!endif
78!if "$(SHARED)" == "1"
79LIBTYPE_SUFFIX = dll
80!endif
81!if "$(MONOLITHIC)" == "0"
82EXTRALIBS_FOR_BASE =
83!endif
84!if "$(MONOLITHIC)" == "1"
85EXTRALIBS_FOR_BASE =
86!endif
87!if "$(SHARED)" == "1"
88__svgdll___depname = \
89 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll
90!endif
91!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
92__DEBUGINFO_2 = /DEBUG
93!endif
94!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
95__DEBUGINFO_2 =
96!endif
97!if "$(DEBUG_INFO)" == "0"
98__DEBUGINFO_2 =
99!endif
100!if "$(DEBUG_INFO)" == "1"
101__DEBUGINFO_2 = /DEBUG
102!endif
103!if "$(DEBUG_RUNTIME_LIBS)" == "0"
104____DEBUGRUNTIME_3_p =
105!endif
106!if "$(DEBUG_RUNTIME_LIBS)" == "1"
107____DEBUGRUNTIME_3_p = /D_DEBUG
108!endif
109!if "$(DEBUG_RUNTIME_LIBS)" == "default"
110____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
111!endif
112!if "$(DEBUG_RUNTIME_LIBS)" == "0"
113__DEBUGRUNTIME_4 =
114!endif
115!if "$(DEBUG_RUNTIME_LIBS)" == "1"
116__DEBUGRUNTIME_4 = d
117!endif
118!if "$(DEBUG_RUNTIME_LIBS)" == "default"
119__DEBUGRUNTIME_4 = $(__DEBUGINFO)
120!endif
121!if "$(MONOLITHIC)" == "1"
122__WXLIB_MONO_p = \
123 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
124!endif
125!if "$(USE_GUI)" == "1"
126__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
127!endif
128!if "$(USE_GUI)" == "1"
129__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
130!endif
131!if "$(USE_GUI)" == "1"
132__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
133!endif
134!if "$(MSLU)" == "1"
135__UNICOWS_LIB_p = unicows.lib
136!endif
137!if "$(MONOLITHIC)" == "0"
138__WXLIB_CORE_p = \
139 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
140!endif
141!if "$(MONOLITHIC)" == "0"
142__WXLIB_BASE_p = \
143 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
144!endif
145!if "$(SHARED)" == "0"
146__svglib___depname = \
147 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
148!endif
149!if "$(DEBUG_RUNTIME_LIBS)" == "0"
150____DEBUGRUNTIME_15_p =
151!endif
152!if "$(DEBUG_RUNTIME_LIBS)" == "1"
153____DEBUGRUNTIME_15_p = /D_DEBUG
154!endif
155!if "$(DEBUG_RUNTIME_LIBS)" == "default"
156____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
157!endif
158!if "$(DEBUG_RUNTIME_LIBS)" == "0"
159__DEBUGRUNTIME_16 =
160!endif
161!if "$(DEBUG_RUNTIME_LIBS)" == "1"
162__DEBUGRUNTIME_16 = d
163!endif
164!if "$(DEBUG_RUNTIME_LIBS)" == "default"
165__DEBUGRUNTIME_16 = $(__DEBUGINFO)
166!endif
167!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
168__DEBUGINFO_1 = /Zi
169!endif
170!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
171__DEBUGINFO_1 =
172!endif
173!if "$(DEBUG_INFO)" == "0"
174__DEBUGINFO_1 =
175!endif
176!if "$(DEBUG_INFO)" == "1"
177__DEBUGINFO_1 = /Zi
178!endif
179!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
180____DEBUGINFO = /D_DEBUG
181!endif
182!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
183____DEBUGINFO =
184!endif
185!if "$(DEBUG_INFO)" == "0"
186____DEBUGINFO =
187!endif
188!if "$(DEBUG_INFO)" == "1"
189____DEBUGINFO = /D_DEBUG
190!endif
191!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
192__DEBUGINFO = d
193!endif
194!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
195__DEBUGINFO =
196!endif
197!if "$(DEBUG_INFO)" == "0"
198__DEBUGINFO =
199!endif
200!if "$(DEBUG_INFO)" == "1"
201__DEBUGINFO = d
202!endif
203!if "$(BUILD)" == "debug"
204__OPTIMIZEFLAG = /Od
205!endif
206!if "$(BUILD)" == "release"
207__OPTIMIZEFLAG = /O2
208!endif
209!if "$(RUNTIME_LIBS)" == "dynamic"
210__RUNTIME_LIBS = D
211!endif
212!if "$(RUNTIME_LIBS)" == "static"
213__RUNTIME_LIBS = T
214!endif
215!if "$(USE_EXCEPTIONS)" == "0"
216__EXCEPTIONSFLAG =
217!endif
218!if "$(USE_EXCEPTIONS)" == "1"
219__EXCEPTIONSFLAG = /GR
220!endif
221!if "$(USE_EXCEPTIONS)" == "0"
222__EXCEPTIONSFLAG_0 =
223!endif
224!if "$(USE_EXCEPTIONS)" == "1"
225__EXCEPTIONSFLAG_0 = /GX
226!endif
227!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
228__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
229!endif
230!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
231__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
232!endif
233!if "$(WXUNIV)" == "1"
234__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
235!endif
236!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
237__DEBUG_DEFINE_p = /D__WXDEBUG__
238!endif
239!if "$(DEBUG_FLAG)" == "1"
240__DEBUG_DEFINE_p = /D__WXDEBUG__
241!endif
242!if "$(UNICODE)" == "1"
243__UNICODE_DEFINE_p = /D_UNICODE
244!endif
245
246
247all: $(OBJS)
248$(OBJS):
249 -if not exist $(OBJS) mkdir $(OBJS)
250
251### Targets: ###
252
253all: $(__svgdll___depname) $(__svglib___depname)
254
255clean:
256 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
257 -if exist $(OBJS)\*.res del $(OBJS)\*.res
258 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
259 -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
260 -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
261 -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
262 -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
263 -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
264
265!if "$(SHARED)" == "1"
266$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll: $(OBJS)\svgdll_dummy.obj $(SVGDLL_OBJECTS)
267 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
268 $(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
269<<
270!endif
271
272!if "$(SHARED)" == "0"
273$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib: $(OBJS)\svglib_dummy.obj $(SVGLIB_OBJECTS)
274 if exist $@ del $@
275 lib /NOLOGO /OUT:$@ @<<
276 $(SVGLIB_OBJECTS)
277<<
278!endif
279
280$(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
281 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) /Ycwx/wxprec.h $**
282
283$(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
284 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) $**
285
286$(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
287 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) /Ycwx/wxprec.h $**
288
289$(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
290 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) $**
291