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