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