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