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