]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/svg/makefile.vc
8471162345f43bbab3cd2c0ae66fd3b151dbe1b6
[wxWidgets.git] / contrib / build / svg / makefile.vc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (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 = 26
16 OBJS = \
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = ..\..\src\svg\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
19 SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 SVGDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME_4) /DWIN32 \
22 $(__DEBUGINFO_1) \
23 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_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) $(__EXCEPTIONS_DEFINE_p) \
26 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
27 /I..\..\src\svg\..\..\..\include /I$(SETUPHDIR) /W4 \
28 /I..\..\src\svg\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_SVG $(__RTTIFLAG) \
29 $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svgdll.pch" \
30 $(CPPFLAGS) $(CXXFLAGS)
31 SVGDLL_OBJECTS = \
32 $(OBJS)\svgdll_dummy.obj \
33 $(OBJS)\svgdll_version.res \
34 $(OBJS)\svgdll_dcsvg.obj
35 SVGLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME_17) /DWIN32 \
36 $(__DEBUGINFO_1) \
37 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.pdb \
38 $(____DEBUGRUNTIME_16_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
39 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
40 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
41 /I..\..\src\svg\..\..\..\include /I$(SETUPHDIR) /W4 \
42 /I..\..\src\svg\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
43 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svglib.pch" $(CPPFLAGS) $(CXXFLAGS)
44 SVGLIB_OBJECTS = \
45 $(OBJS)\svglib_dummy.obj \
46 $(OBJS)\svglib_dcsvg.obj
47
48 ### Conditionally set variables: ###
49
50 !if "$(USE_GUI)" == "0"
51 PORTNAME = base
52 !endif
53 !if "$(USE_GUI)" == "1"
54 PORTNAME = msw
55 !endif
56 !if "$(OFFICIAL_BUILD)" == "0"
57 VENDORTAG = _$(VENDOR)
58 !endif
59 !if "$(OFFICIAL_BUILD)" == "1"
60 VENDORTAG =
61 !endif
62 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
63 WXDEBUGFLAG = d
64 !endif
65 !if "$(DEBUG_FLAG)" == "1"
66 WXDEBUGFLAG = d
67 !endif
68 !if "$(UNICODE)" == "1"
69 WXUNICODEFLAG = u
70 !endif
71 !if "$(WXUNIV)" == "1"
72 WXUNIVNAME = univ
73 !endif
74 !if "$(SHARED)" == "1"
75 WXDLLFLAG = dll
76 !endif
77 !if "$(SHARED)" == "0"
78 LIBTYPE_SUFFIX = lib
79 !endif
80 !if "$(SHARED)" == "1"
81 LIBTYPE_SUFFIX = dll
82 !endif
83 !if "$(MONOLITHIC)" == "0"
84 EXTRALIBS_FOR_BASE =
85 !endif
86 !if "$(MONOLITHIC)" == "1"
87 EXTRALIBS_FOR_BASE =
88 !endif
89 !if "$(SHARED)" == "1"
90 __svgdll___depname = \
91 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll
92 !endif
93 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
94 __DEBUGINFO_2 = /DEBUG
95 !endif
96 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
97 __DEBUGINFO_2 =
98 !endif
99 !if "$(DEBUG_INFO)" == "0"
100 __DEBUGINFO_2 =
101 !endif
102 !if "$(DEBUG_INFO)" == "1"
103 __DEBUGINFO_2 = /DEBUG
104 !endif
105 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
106 ____DEBUGRUNTIME_3_p =
107 !endif
108 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
109 ____DEBUGRUNTIME_3_p = /D_DEBUG
110 !endif
111 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
112 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
113 !endif
114 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
115 ____DEBUGRUNTIME_3_p_1 =
116 !endif
117 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
118 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
119 !endif
120 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
121 ____DEBUGRUNTIME_3_p_1 = $(____DEBUGINFO_3_p_1)
122 !endif
123 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
124 ____DEBUGINFO_3_p_1 = /d _DEBUG
125 !endif
126 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
127 ____DEBUGINFO_3_p_1 =
128 !endif
129 !if "$(DEBUG_INFO)" == "0"
130 ____DEBUGINFO_3_p_1 =
131 !endif
132 !if "$(DEBUG_INFO)" == "1"
133 ____DEBUGINFO_3_p_1 = /d _DEBUG
134 !endif
135 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
136 __DEBUGRUNTIME_4 =
137 !endif
138 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
139 __DEBUGRUNTIME_4 = d
140 !endif
141 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
142 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
143 !endif
144 !if "$(RUNTIME_LIBS)" == "dynamic"
145 __RUNTIME_LIBS_9 = D
146 !endif
147 !if "$(RUNTIME_LIBS)" == "static"
148 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
149 !endif
150 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
151 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
152 !endif
153 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
154 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
155 !endif
156 !if "$(WXUNIV)" == "1"
157 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
158 !endif
159 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
160 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
161 !endif
162 !if "$(DEBUG_FLAG)" == "1"
163 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
164 !endif
165 !if "$(USE_EXCEPTIONS)" == "0"
166 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
167 !endif
168 !if "$(USE_RTTI)" == "0"
169 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
170 !endif
171 !if "$(USE_THREADS)" == "0"
172 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
173 !endif
174 !if "$(UNICODE)" == "1"
175 __UNICODE_DEFINE_p_1 = /d _UNICODE
176 !endif
177 !if "$(MONOLITHIC)" == "1"
178 __WXLIB_MONO_p = \
179 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
180 !endif
181 !if "$(USE_GUI)" == "1"
182 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
183 !endif
184 !if "$(USE_GUI)" == "1"
185 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
186 !endif
187 !if "$(USE_GUI)" == "1"
188 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
189 !endif
190 !if "$(MSLU)" == "1"
191 __UNICOWS_LIB_p = unicows.lib
192 !endif
193 !if "$(MONOLITHIC)" == "0"
194 __WXLIB_CORE_p = \
195 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
196 !endif
197 !if "$(MONOLITHIC)" == "0"
198 __WXLIB_BASE_p = \
199 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
200 !endif
201 !if "$(SHARED)" == "0"
202 __svglib___depname = \
203 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
204 !endif
205 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
206 ____DEBUGRUNTIME_16_p =
207 !endif
208 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
209 ____DEBUGRUNTIME_16_p = /D_DEBUG
210 !endif
211 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
212 ____DEBUGRUNTIME_16_p = $(____DEBUGINFO)
213 !endif
214 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
215 __DEBUGRUNTIME_17 =
216 !endif
217 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
218 __DEBUGRUNTIME_17 = d
219 !endif
220 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
221 __DEBUGRUNTIME_17 = $(__DEBUGINFO)
222 !endif
223 !if "$(RUNTIME_LIBS)" == "dynamic"
224 __RUNTIME_LIBS_22 = D
225 !endif
226 !if "$(RUNTIME_LIBS)" == "static"
227 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
228 !endif
229 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
230 __DEBUGINFO_1 = /Zi
231 !endif
232 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
233 __DEBUGINFO_1 =
234 !endif
235 !if "$(DEBUG_INFO)" == "0"
236 __DEBUGINFO_1 =
237 !endif
238 !if "$(DEBUG_INFO)" == "1"
239 __DEBUGINFO_1 = /Zi
240 !endif
241 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
242 ____DEBUGINFO = /D_DEBUG
243 !endif
244 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
245 ____DEBUGINFO =
246 !endif
247 !if "$(DEBUG_INFO)" == "0"
248 ____DEBUGINFO =
249 !endif
250 !if "$(DEBUG_INFO)" == "1"
251 ____DEBUGINFO = /D_DEBUG
252 !endif
253 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
254 __DEBUGINFO = d
255 !endif
256 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
257 __DEBUGINFO =
258 !endif
259 !if "$(DEBUG_INFO)" == "0"
260 __DEBUGINFO =
261 !endif
262 !if "$(DEBUG_INFO)" == "1"
263 __DEBUGINFO = d
264 !endif
265 !if "$(BUILD)" == "debug"
266 __OPTIMIZEFLAG = /Od
267 !endif
268 !if "$(BUILD)" == "release"
269 __OPTIMIZEFLAG = /O2
270 !endif
271 !if "$(USE_THREADS)" == "0"
272 __THREADSFLAG = L
273 !endif
274 !if "$(USE_THREADS)" == "1"
275 __THREADSFLAG = T
276 !endif
277 !if "$(USE_RTTI)" == "0"
278 __RTTIFLAG =
279 !endif
280 !if "$(USE_RTTI)" == "1"
281 __RTTIFLAG = /GR
282 !endif
283 !if "$(USE_EXCEPTIONS)" == "0"
284 __EXCEPTIONSFLAG =
285 !endif
286 !if "$(USE_EXCEPTIONS)" == "1"
287 __EXCEPTIONSFLAG = /EHsc
288 !endif
289 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
290 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
291 !endif
292 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
293 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
294 !endif
295 !if "$(WXUNIV)" == "1"
296 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
297 !endif
298 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
299 __DEBUG_DEFINE_p = /D__WXDEBUG__
300 !endif
301 !if "$(DEBUG_FLAG)" == "1"
302 __DEBUG_DEFINE_p = /D__WXDEBUG__
303 !endif
304 !if "$(USE_EXCEPTIONS)" == "0"
305 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
306 !endif
307 !if "$(USE_RTTI)" == "0"
308 __RTTI_DEFINE_p = /DwxNO_RTTI
309 !endif
310 !if "$(USE_THREADS)" == "0"
311 __THREAD_DEFINE_p = /DwxNO_THREADS
312 !endif
313 !if "$(UNICODE)" == "1"
314 __UNICODE_DEFINE_p = /D_UNICODE
315 !endif
316
317
318 all: $(OBJS)
319 $(OBJS):
320 -if not exist $(OBJS) mkdir $(OBJS)
321
322 ### Targets: ###
323
324 all: $(__svgdll___depname) $(__svglib___depname)
325
326 clean:
327 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
328 -if exist $(OBJS)\*.res del $(OBJS)\*.res
329 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
330 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll
331 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).ilk
332 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).pdb
333 -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
334 -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
335
336 !if "$(SHARED)" == "1"
337 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll: $(OBJS)\svgdll_dummy.obj $(SVGDLL_OBJECTS) $(OBJS)\svgdll_version.res
338 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
339 $(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
340 <<
341 !endif
342
343 !if "$(SHARED)" == "0"
344 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib: $(OBJS)\svglib_dummy.obj $(SVGLIB_OBJECTS)
345 if exist $@ del $@
346 lib /NOLOGO /OUT:$@ @<<
347 $(SVGLIB_OBJECTS)
348 <<
349 !endif
350
351 $(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
352 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) /Ycwx/wxprec.h $**
353
354 $(OBJS)\svgdll_version.res: ../../src/svg\..\..\..\src\msw\version.rc
355 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) /i ..\..\src\svg\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG) $**
356
357 $(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
358 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) $**
359
360 $(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
361 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) /Ycwx/wxprec.h $**
362
363 $(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
364 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) $**
365