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