]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/src/svg/Makefile.in
conditional compilation for compositing
[wxWidgets.git] / contrib / src / svg / Makefile.in
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.2 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7
8@MAKE_SET@
9
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12INSTALL = @INSTALL@
13SHARED_LD_CXX = @SHARED_LD_CXX@
14LIBPREFIX = @LIBPREFIX@
15SO_SUFFIX = @SO_SUFFIX@
16LN_S = @LN_S@
17PIC_FLAG = @PIC_FLAG@
18SONAME_FLAG = @SONAME_FLAG@
19STRIP = @STRIP@
20INSTALL_PROGRAM = @INSTALL_PROGRAM@
21INSTALL_DATA = @INSTALL_DATA@
22INSTALL_DIR = @INSTALL_DIR@
23srcdir = @srcdir@
24top_srcdir = @top_srcdir@
25top_builddir = @top_builddir@
26libdir = @libdir@
27includedir = @includedir@
28DLLPREFIX = @DLLPREFIX@
29AR = @AR@
30RANLIB = @RANLIB@
31CXX = @CXX@
32CXXFLAGS = @CXXFLAGS@
33CPPFLAGS = @CPPFLAGS@
34LDFLAGS = @LDFLAGS@
35VENDOR = @VENDOR@
36TOOLKIT = @TOOLKIT@
37TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
38TOOLKIT_VERSION = @TOOLKIT_VERSION@
39EXTRALIBS = @EXTRALIBS@
40EXTRALIBS_GUI = @EXTRALIBS_GUI@
41HOST_SUFFIX = @HOST_SUFFIX@
42
43### Variables: ###
44
45DESTDIR =
46WX_VERSION = 2.5.1
47LIBDIRNAME = $(top_builddir)lib
48SVGDLL_CXXFLAGS = $(__svgdll_PCH_INC) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
49 -I$(srcdir)/../../include -DWXUSINGDLL -DWXMAKINGDLL_SVG $(PIC_FLAG) \
50 $(CPPFLAGS) $(CXXFLAGS)
51SVGDLL_OBJECTS = \
52 svgdll_dcsvg.o
53SVGDLL_ODEP = $(___pch_wxprec_svgdll_wx_wxprec_h_gch___depname)
54SVGLIB_CXXFLAGS = $(__svglib_PCH_INC) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
55 -I$(srcdir)/../../include $(CPPFLAGS) $(CXXFLAGS)
56SVGLIB_OBJECTS = \
57 svglib_dcsvg.o
58SVGLIB_ODEP = $(___pch_wxprec_svglib_wx_wxprec_h_gch___depname)
59
60### Conditionally set variables: ###
61
62@COND_PLATFORM_WIN32_0@DLLIMPEXT = .$(SO_SUFFIX)
63@COND_PLATFORM_WIN32_1@DLLIMPEXT = .a
64@COND_DEPS_TRACKING_0@CXXC = $(CXX)
65@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
66@COND_USE_GUI_0@PORTNAME = base
67@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
68@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
69@COND_PLATFORM_WIN32_1@WXCOMPILER = _gcc
70@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@VENDORTAG = _$(VENDOR)
71@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@VENDORTAG =
72@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
73@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
74@COND_UNICODE_1@WXUNICODEFLAG = u
75@COND_WXUNIV_1@WXUNIVNAME = univ
76@COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIXGUI = wx_$(PORTNAME)$(WXUNIVNAME)
77@COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIXGUI = wx$(PORTNAME)$(WXUNIVNAME)251
78@COND_PLATFORM_WIN32_0@WXDLLVERSIONTAG = -2.5
79@COND_PLATFORM_WIN32_1@WXDLLVERSIONTAG =
80COND_SHARED_1___svgdll___depname = \
81 $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3)
82@COND_SHARED_1@__svgdll___depname = $(COND_SHARED_1___svgdll___depname)
83@COND_SHARED_1@__install_svgdll___depname = install_svgdll
84COND_PLATFORM_MACOSX_1___svgdll___macinstnamecmd = -install_name \
85 $(libdir)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2)
86@COND_PLATFORM_MACOSX_1@__svgdll___macinstnamecmd = $(COND_PLATFORM_MACOSX_1___svgdll___macinstnamecmd)
87COND_PLATFORM_WIN32_1___svgdll___importlib = \
88 -Wl,--out-implib,$(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
89@COND_PLATFORM_WIN32_1@__svgdll___importlib = $(COND_PLATFORM_WIN32_1___svgdll___importlib)
90@COND_GCC_PCH_1@__svgdll_PCH_INC = -I.pch/wxprec_svgdll
91@COND_GCC_PCH_1@___pch_wxprec_svgdll_wx_wxprec_h_gch___depname \
92@COND_GCC_PCH_1@ = .pch/wxprec_svgdll/wx/wxprec.h.gch
93@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__svgdll___targetsuf2 \
94@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@ = .$(SO_SUFFIX).1
95@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__svgdll___targetsuf2 \
96@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .1.$(SO_SUFFIX)
97@COND_USE_SOVERSION_0@__svgdll___targetsuf2 = .$(SO_SUFFIX)
98@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__svgdll___targetsuf3 \
99@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@ = .$(SO_SUFFIX).1.0.0
100@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__svgdll___targetsuf3 \
101@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .1.0.0.$(SO_SUFFIX)
102@COND_USE_SOVERSION_0@__svgdll___targetsuf3 = .$(SO_SUFFIX)
103COND_USE_SOVERLINUX_1___svgdll___soname_flags = \
104 $(SONAME_FLAG)$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2)
105@COND_USE_SOVERLINUX_1@__svgdll___soname_flags = $(COND_USE_SOVERLINUX_1___svgdll___soname_flags)
106COND_USE_SOVERSOLARIS_1___svgdll___soname_flags = \
107 $(SONAME_FLAG)$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3)
108@COND_USE_SOVERSOLARIS_1@__svgdll___soname_flags = $(COND_USE_SOVERSOLARIS_1___svgdll___soname_flags)
109COND_USE_SOSYMLINKS_1___svgdll___so_symlinks_cmd = (cd $(LIBDIRNAME)/; rm -f \
110 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT) \
111 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2); \
112 $(LN_S) \
113 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3) \
114 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2); \
115 $(LN_S) \
116 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2) \
117 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT))
118@COND_USE_SOSYMLINKS_1@__svgdll___so_symlinks_cmd = $(COND_USE_SOSYMLINKS_1___svgdll___so_symlinks_cmd)
119COND_USE_SOSYMLINKS_1___svgdll___so_symlinks_inst_cmd = rm -f \
120 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT) \
121 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2); \
122 $(LN_S) \
123 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3) \
124 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2); \
125 $(LN_S) \
126 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2) \
127 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
128@COND_USE_SOSYMLINKS_1@__svgdll___so_symlinks_inst_cmd = $(COND_USE_SOSYMLINKS_1___svgdll___so_symlinks_inst_cmd)
129@COND_PLATFORM_MACOSX_1@__svgdll___macver = \
130@COND_PLATFORM_MACOSX_1@ -compatibility_version $(WX_VERSION) \
131@COND_PLATFORM_MACOSX_1@ -current_version $(WX_VERSION)
132COND_MONOLITHIC_1___WXLIB_MONO_p = \
133 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
134@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
135@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
136@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
137@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
138@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
139@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
140@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
141@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
142@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
143@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
144@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
145@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
146@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
147@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
148@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
149@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
150@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
151@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
152COND_MONOLITHIC_0___WXLIB_CORE_p = \
153 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
154@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
155@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
156@COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
157COND_SHARED_0___svglib___depname = \
158 $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX).a
159@COND_SHARED_0@__svglib___depname = $(COND_SHARED_0___svglib___depname)
160@COND_SHARED_0@__install_svglib___depname = install_svglib
161@COND_GCC_PCH_1@__svglib_PCH_INC = -I.pch/wxprec_svglib
162@COND_GCC_PCH_1@___pch_wxprec_svglib_wx_wxprec_h_gch___depname \
163@COND_GCC_PCH_1@ = .pch/wxprec_svglib/wx/wxprec.h.gch
164@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
165
166### Targets: ###
167
168all: $(__svgdll___depname) $(__svglib___depname)
169
170install: all $(__install_svgdll___depname) $(__install_svglib___depname)
171 $(INSTALL_DIR) $(DESTDIR)$(includedir)
172 for f in wx/svg/dcsvg.h; do \
173 if test ! -d $(DESTDIR)$(includedir)/`dirname $$f` ; then \
174 $(INSTALL_DIR) $(DESTDIR)$(includedir)/`dirname $$f`; \
175 fi; \
176 $(INSTALL_DATA) $(srcdir)/../../include//$$f $(DESTDIR)$(includedir)/$$f; \
177 done
178
179uninstall:
180
181install-strip: install
182 $(STRIP) $(DESTDIR)$(libdir)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3)
183
184clean:
185 rm -rf ./.deps ./.pch
186 rm -f ./*.o
187 rm -f $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3)
188 rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
189 rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT) $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2)
190 rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX).a
191
192distclean: clean
193 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
194
195@COND_SHARED_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3): $(SVGDLL_OBJECTS)
196@COND_SHARED_1@ $(SHARED_LD_CXX) $@ $(SVGDLL_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(__svgdll___macinstnamecmd) $(__svgdll___importlib) $(__svgdll___soname_flags) $(__svgdll___macver) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
197@COND_SHARED_1@
198@COND_SHARED_1@ $(__svgdll___so_symlinks_cmd)
199
200@COND_SHARED_1@install_svgdll:
201@COND_SHARED_1@ $(INSTALL_DIR) $(DESTDIR)$(libdir)
202@COND_SHARED_1@ $(INSTALL_DATA) $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT) $(DESTDIR)$(libdir)
203@COND_SHARED_1@ $(INSTALL_PROGRAM) $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3) $(DESTDIR)$(libdir)
204@COND_SHARED_1@ (cd $(DESTDIR)$(libdir) ; $(__svgdll___so_symlinks_inst_cmd))
205
206@COND_GCC_PCH_1@.pch/wxprec_svgdll/wx/wxprec.h.gch:
207@COND_GCC_PCH_1@ $(top_builddir)./bk-make-pch .pch/wxprec_svgdll/wx/wxprec.h.gch wx/wxprec.h $(CXX) $(SVGDLL_CXXFLAGS)
208
209@COND_SHARED_0@$(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX).a: $(SVGLIB_OBJECTS)
210@COND_SHARED_0@ rm -f $@
211@COND_SHARED_0@ $(AR) rcu $@ $(SVGLIB_OBJECTS)
212@COND_SHARED_0@ $(RANLIB) $@
213
214@COND_SHARED_0@install_svglib:
215@COND_SHARED_0@ $(INSTALL_DIR) $(DESTDIR)$(libdir)
216@COND_SHARED_0@ $(INSTALL_DATA) $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX).a $(DESTDIR)$(libdir)
217
218@COND_GCC_PCH_1@.pch/wxprec_svglib/wx/wxprec.h.gch:
219@COND_GCC_PCH_1@ $(top_builddir)./bk-make-pch .pch/wxprec_svglib/wx/wxprec.h.gch wx/wxprec.h $(CXX) $(SVGLIB_CXXFLAGS)
220
221svgdll_dcsvg.o: $(srcdir)/dcsvg.cpp $(SVGDLL_ODEP)
222 $(CXXC) -c -o $@ $(SVGDLL_CXXFLAGS) $<
223
224svglib_dcsvg.o: $(srcdir)/dcsvg.cpp $(SVGLIB_ODEP)
225 $(CXXC) -c -o $@ $(SVGLIB_CXXFLAGS) $<
226
227
228# Include dependency info, if present:
229@IF_GNU_MAKE@-include .deps/*.d
230
231.PHONY: all install uninstall clean distclean install_svgdll install_svglib