]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/svg/makefile.vc
Warning fix.
[wxWidgets.git] / contrib / build / svg / makefile.vc
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 # =========================================================================
6
7 !include <../../../build/msw/config.vc>
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 WX_RELEASE_NODOT = 27
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
17 OBJS = \
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
19 LIBDIRNAME = \
20 ..\..\src\svg\..\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
21 SETUPHDIR = \
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 SVGDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \
24 $(__DEBUGINFO_1) \
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)
33 SVGDLL_OBJECTS = \
34 $(OBJS)\svgdll_dummy.obj \
35 $(OBJS)\svgdll_version.res \
36 $(OBJS)\svgdll_dcsvg.obj
37 SVGLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
38 $(__DEBUGINFO_1) \
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)
46 SVGLIB_OBJECTS = \
47 $(OBJS)\svglib_dummy.obj \
48 $(OBJS)\svglib_dcsvg.obj
49
50 ### Conditionally set variables: ###
51
52 !if "$(USE_GUI)" == "0"
53 PORTNAME = base
54 !endif
55 !if "$(USE_GUI)" == "1"
56 PORTNAME = msw
57 !endif
58 !if "$(OFFICIAL_BUILD)" == "0"
59 VENDORTAG = _$(VENDOR)
60 !endif
61 !if "$(OFFICIAL_BUILD)" == "1"
62 VENDORTAG =
63 !endif
64 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
65 WXDEBUGFLAG = d
66 !endif
67 !if "$(DEBUG_FLAG)" == "1"
68 WXDEBUGFLAG = d
69 !endif
70 !if "$(UNICODE)" == "1"
71 WXUNICODEFLAG = u
72 !endif
73 !if "$(WXUNIV)" == "1"
74 WXUNIVNAME = univ
75 !endif
76 !if "$(TARGET_CPU)" == "AMD64"
77 DIR_SUFFIX_CPU = _amd64
78 !endif
79 !if "$(TARGET_CPU)" == "IA64"
80 DIR_SUFFIX_CPU = _ia64
81 !endif
82 !if "$(SHARED)" == "1"
83 WXDLLFLAG = dll
84 !endif
85 !if "$(SHARED)" == "0"
86 LIBTYPE_SUFFIX = lib
87 !endif
88 !if "$(SHARED)" == "1"
89 LIBTYPE_SUFFIX = dll
90 !endif
91 !if "$(TARGET_CPU)" == "AMD64"
92 LINK_TARGET_CPU = /MACHINE:AMD64
93 !endif
94 !if "$(TARGET_CPU)" == "IA64"
95 LINK_TARGET_CPU = /MACHINE:IA64
96 !endif
97 !if "$(MONOLITHIC)" == "0"
98 EXTRALIBS_FOR_BASE =
99 !endif
100 !if "$(MONOLITHIC)" == "1"
101 EXTRALIBS_FOR_BASE =
102 !endif
103 !if "$(SHARED)" == "1"
104 __svgdll___depname = \
105 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll
106 !endif
107 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
108 __DEBUGINFO_2 = /DEBUG
109 !endif
110 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
111 __DEBUGINFO_2 =
112 !endif
113 !if "$(DEBUG_INFO)" == "0"
114 __DEBUGINFO_2 =
115 !endif
116 !if "$(DEBUG_INFO)" == "1"
117 __DEBUGINFO_2 = /DEBUG
118 !endif
119 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
120 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
121 !endif
122 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
123 ____DEBUGRUNTIME_3_p_1 =
124 !endif
125 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
126 ____DEBUGRUNTIME_3_p_1 =
127 !endif
128 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
129 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
130 !endif
131 !if "$(RUNTIME_LIBS)" == "dynamic"
132 __RUNTIME_LIBS_9 = D
133 !endif
134 !if "$(RUNTIME_LIBS)" == "static"
135 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
136 !endif
137 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
138 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
139 !endif
140 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
141 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
142 !endif
143 !if "$(TARGET_CPU)" == "AMD64"
144 __RES_TARGET_CPU_p = /d WX_CPU_AMD64
145 !endif
146 !if "$(TARGET_CPU)" == "IA64"
147 __RES_TARGET_CPU_p = /d WX_CPU_IA64
148 !endif
149 !if "$(WXUNIV)" == "1"
150 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
151 !endif
152 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
153 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
154 !endif
155 !if "$(DEBUG_FLAG)" == "1"
156 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
157 !endif
158 !if "$(USE_EXCEPTIONS)" == "0"
159 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
160 !endif
161 !if "$(USE_RTTI)" == "0"
162 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
163 !endif
164 !if "$(USE_THREADS)" == "0"
165 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
166 !endif
167 !if "$(UNICODE)" == "1"
168 __UNICODE_DEFINE_p_1 = /d _UNICODE
169 !endif
170 !if "$(MSLU)" == "1"
171 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
172 !endif
173 !if "$(MONOLITHIC)" == "1"
174 __WXLIB_MONO_p = \
175 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
176 !endif
177 !if "$(USE_GUI)" == "1"
178 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
179 !endif
180 !if "$(USE_GUI)" == "1"
181 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
182 !endif
183 !if "$(USE_GUI)" == "1"
184 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
185 !endif
186 !if "$(MSLU)" == "1"
187 __UNICOWS_LIB_p = unicows.lib
188 !endif
189 !if "$(MONOLITHIC)" == "0"
190 __WXLIB_CORE_p = \
191 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
192 !endif
193 !if "$(MONOLITHIC)" == "0"
194 __WXLIB_BASE_p = \
195 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
196 !endif
197 !if "$(SHARED)" == "0"
198 __svglib___depname = \
199 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
200 !endif
201 !if "$(RUNTIME_LIBS)" == "dynamic"
202 __RUNTIME_LIBS_22 = D
203 !endif
204 !if "$(RUNTIME_LIBS)" == "static"
205 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
206 !endif
207 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
208 __DEBUGINFO_1 = /Zi
209 !endif
210 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
211 __DEBUGINFO_1 =
212 !endif
213 !if "$(DEBUG_INFO)" == "0"
214 __DEBUGINFO_1 =
215 !endif
216 !if "$(DEBUG_INFO)" == "1"
217 __DEBUGINFO_1 = /Zi
218 !endif
219 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
220 ____DEBUGRUNTIME = /D_DEBUG
221 !endif
222 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
223 ____DEBUGRUNTIME =
224 !endif
225 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
226 ____DEBUGRUNTIME =
227 !endif
228 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
229 ____DEBUGRUNTIME = /D_DEBUG
230 !endif
231 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
232 __DEBUGRUNTIME = d
233 !endif
234 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
235 __DEBUGRUNTIME =
236 !endif
237 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
238 __DEBUGRUNTIME =
239 !endif
240 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
241 __DEBUGRUNTIME = d
242 !endif
243 !if "$(BUILD)" == "debug"
244 __OPTIMIZEFLAG = /Od
245 !endif
246 !if "$(BUILD)" == "release"
247 __OPTIMIZEFLAG = /O2
248 !endif
249 !if "$(USE_THREADS)" == "0"
250 __THREADSFLAG = L
251 !endif
252 !if "$(USE_THREADS)" == "1"
253 __THREADSFLAG = T
254 !endif
255 !if "$(USE_RTTI)" == "0"
256 __RTTIFLAG =
257 !endif
258 !if "$(USE_RTTI)" == "1"
259 __RTTIFLAG = /GR
260 !endif
261 !if "$(USE_EXCEPTIONS)" == "0"
262 __EXCEPTIONSFLAG =
263 !endif
264 !if "$(USE_EXCEPTIONS)" == "1"
265 __EXCEPTIONSFLAG = /EHsc
266 !endif
267 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
268 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
269 !endif
270 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
271 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
272 !endif
273 !if "$(WXUNIV)" == "1"
274 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
275 !endif
276 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
277 __DEBUG_DEFINE_p = /D__WXDEBUG__
278 !endif
279 !if "$(DEBUG_FLAG)" == "1"
280 __DEBUG_DEFINE_p = /D__WXDEBUG__
281 !endif
282 !if "$(USE_EXCEPTIONS)" == "0"
283 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
284 !endif
285 !if "$(USE_RTTI)" == "0"
286 __RTTI_DEFINE_p = /DwxNO_RTTI
287 !endif
288 !if "$(USE_THREADS)" == "0"
289 __THREAD_DEFINE_p = /DwxNO_THREADS
290 !endif
291 !if "$(UNICODE)" == "1"
292 __UNICODE_DEFINE_p = /D_UNICODE
293 !endif
294 !if "$(MSLU)" == "1"
295 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
296 !endif
297
298
299 all: $(OBJS)
300 $(OBJS):
301 -if not exist $(OBJS) mkdir $(OBJS)
302
303 ### Targets: ###
304
305 all: $(__svgdll___depname) $(__svglib___depname)
306
307 clean:
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
316
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
321 <<
322 !endif
323
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)
326 if exist $@ del $@
327 link /LIB /NOLOGO /OUT:$@ @<<
328 $(SVGLIB_OBJECTS)
329 <<
330 !endif
331
332 $(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
333 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) /Ycwx/wxprec.h $**
334
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) $**
337
338 $(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) $**
340
341 $(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
342 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) /Ycwx/wxprec.h $**
343
344 $(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
345 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) $**
346