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 # =========================================================================
11 exec_prefix = @exec_prefix@
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@
25 LIBPREFIX = @LIBPREFIX@
29 SHARED_LD_CXX = @SHARED_LD_CXX@
30 SONAME_FLAG = @SONAME_FLAG@
31 SO_SUFFIX = @SO_SUFFIX@
34 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
35 TOOLKIT_VERSION = @TOOLKIT_VERSION@
37 includedir = @includedir@
40 top_builddir = @top_builddir@
41 top_srcdir = @top_srcdir@
46 LIBDIRNAME = $(top_builddir)lib
47 SVGDLL_CXXFLAGS = $(__svgdll_PCH_INC) $(CPPFLAGS) -D__WX$(TOOLKIT)__ \
48 $(__WXUNIV_DEFINE_p) -I$(top_srcdir)/include -I$(srcdir)/../../include \
49 -DWXUSINGDLL -DWXMAKINGDLL_SVG $(CXXFLAGS) $(PIC_FLAG)
52 SVGLIB_CXXFLAGS = $(__svglib_PCH_INC) $(CPPFLAGS) -D__WX$(TOOLKIT)__ \
53 $(__WXUNIV_DEFINE_p) -I$(top_srcdir)/include -I$(srcdir)/../../include \
59 ### Conditionally set variables: ###
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
71 @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
72 @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
73 @COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIXGUI = wx_$(PORTNAME)$(WXUNIVNAME)
74 @COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIXGUI = wx$(PORTNAME)$(WXUNIVNAME)251
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@__LIB_EXPAT_p = \
80 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
81 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
82 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
83 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
84 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
85 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
86 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
87 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
88 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
89 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
90 @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
91 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
92 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
93 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
94 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
95 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
96 @COND_MONOLITHIC_0@__WXLIB_BASE_p = \
97 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
98 COND_MONOLITHIC_0___WXLIB_CORE_p = \
99 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
100 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
101 COND_MONOLITHIC_1___WXLIB_MONO_p = \
102 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
103 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
104 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
105 @COND_SHARED_1@__install_svgdll___depname = install_svgdll
106 @COND_SHARED_0@__install_svglib___depname = install_svglib
107 @COND_GCC_PCH_1@__svgdll_PCH_DEP = .pch/wxprec_svgdll/wx/wxprec.h.gch
108 @COND_GCC_PCH_1@__svgdll_PCH_INC = -I.pch/wxprec_svgdll
109 COND_SHARED_1___svgdll___depname = \
110 $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3)
111 @COND_SHARED_1@__svgdll___depname = $(COND_SHARED_1___svgdll___depname)
112 COND_PLATFORM_WIN32_1___svgdll___importlib = \
113 -Wl,--out-implib,$(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
114 @COND_PLATFORM_WIN32_1@__svgdll___importlib = $(COND_PLATFORM_WIN32_1___svgdll___importlib)
115 COND_PLATFORM_MACOSX_1___svgdll___macinstnamecmd = -install_name \
116 $(libdir)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2)
117 @COND_PLATFORM_MACOSX_1@__svgdll___macinstnamecmd = $(COND_PLATFORM_MACOSX_1___svgdll___macinstnamecmd)
118 @COND_PLATFORM_MACOSX_1@__svgdll___macver = \
119 @COND_PLATFORM_MACOSX_1@ -compatibility_version $(WX_VERSION) \
120 @COND_PLATFORM_MACOSX_1@ -current_version $(WX_VERSION)
121 COND_USE_SOSYMLINKS_1___svgdll___so_symlinks_cmd = (cd $(LIBDIRNAME)/; rm -f \
122 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT) \
123 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2); \
125 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3) \
126 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2); \
128 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2) \
129 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT))
130 @COND_USE_SOSYMLINKS_1@__svgdll___so_symlinks_cmd = $(COND_USE_SOSYMLINKS_1___svgdll___so_symlinks_cmd)
131 COND_USE_SOSYMLINKS_1___svgdll___so_symlinks_inst_cmd = rm -f \
132 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT) \
133 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2); \
135 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3) \
136 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2); \
138 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2) \
139 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
140 @COND_USE_SOSYMLINKS_1@__svgdll___so_symlinks_inst_cmd = $(COND_USE_SOSYMLINKS_1___svgdll___so_symlinks_inst_cmd)
141 COND_USE_SOVERLINUX_1___svgdll___soname_flags = \
142 $(SONAME_FLAG)$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf2)
143 @COND_USE_SOVERLINUX_1@__svgdll___soname_flags = $(COND_USE_SOVERLINUX_1___svgdll___soname_flags)
144 COND_USE_SOVERSOLARIS_1___svgdll___soname_flags = \
145 $(SONAME_FLAG)$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3)
146 @COND_USE_SOVERSOLARIS_1@__svgdll___soname_flags = $(COND_USE_SOVERSOLARIS_1___svgdll___soname_flags)
147 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__svgdll___targetsuf2 \
148 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@ = .$(SO_SUFFIX).1
149 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__svgdll___targetsuf2 \
150 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .1.$(SO_SUFFIX)
151 @COND_USE_SOVERSION_0@__svgdll___targetsuf2 = .$(SO_SUFFIX)
152 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__svgdll___targetsuf3 \
153 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@ = .$(SO_SUFFIX).1.0.0
154 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__svgdll___targetsuf3 \
155 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .1.0.0.$(SO_SUFFIX)
156 @COND_USE_SOVERSION_0@__svgdll___targetsuf3 = .$(SO_SUFFIX)
157 @COND_GCC_PCH_1@__svglib_PCH_DEP = .pch/wxprec_svglib/wx/wxprec.h.gch
158 @COND_GCC_PCH_1@__svglib_PCH_INC = -I.pch/wxprec_svglib
159 COND_SHARED_0___svglib___depname = \
160 $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX).a
161 @COND_SHARED_0@__svglib___depname = $(COND_SHARED_0___svglib___depname)
165 all: $(__svgdll___depname) $(__svglib___depname)
167 @COND_GCC_PCH_1@.pch/wxprec_svgdll/wx/wxprec.h.gch:
168 @COND_GCC_PCH_1@ $(top_builddir)./bk-make-pch .pch/wxprec_svgdll/wx/wxprec.h.gch wx/wxprec.h $(CXX) $(SVGDLL_CXXFLAGS)
170 @COND_GCC_PCH_1@.pch/wxprec_svglib/wx/wxprec.h.gch:
171 @COND_GCC_PCH_1@ $(top_builddir)./bk-make-pch .pch/wxprec_svglib/wx/wxprec.h.gch wx/wxprec.h $(CXX) $(SVGLIB_CXXFLAGS)
174 rm -rf ./.deps ./.pch
176 rm -f $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3)
177 rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
178 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)
179 rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX).a
182 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
184 install: all $(__install_svgdll___depname) $(__install_svglib___depname)
185 $(INSTALL_DIR) $(DESTDIR)$(includedir)
186 for f in wx/svg/dcsvg.h; do \
187 if test ! -d $(DESTDIR)$(includedir)/`dirname $$f` ; then \
188 $(INSTALL_DIR) $(DESTDIR)$(includedir)/`dirname $$f`; \
190 $(INSTALL_DATA) $(srcdir)/../../include//$$f $(DESTDIR)$(includedir)/$$f; \
193 install-strip: install
194 $(STRIP) $(DESTDIR)$(libdir)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3)
196 @COND_SHARED_1@install_svgdll:
197 @COND_SHARED_1@ $(INSTALL_DIR) $(DESTDIR)$(libdir)
198 @COND_SHARED_1@ $(INSTALL_DATA) $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX)$(DLLIMPEXT) $(DESTDIR)$(libdir)
199 @COND_SHARED_1@ $(INSTALL_PROGRAM) $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3) $(DESTDIR)$(libdir)
200 @COND_SHARED_1@ (cd $(DESTDIR)$(libdir) ; $(__svgdll___so_symlinks_inst_cmd))
202 @COND_SHARED_0@install_svglib:
203 @COND_SHARED_0@ $(INSTALL_DIR) $(DESTDIR)$(libdir)
204 @COND_SHARED_0@ $(INSTALL_DATA) $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX).a $(DESTDIR)$(libdir)
206 @COND_SHARED_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__svgdll___targetsuf3): $(__svgdll_PCH_DEP) $(SVGDLL_OBJECTS)
207 @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)
209 @COND_SHARED_1@ $(__svgdll___so_symlinks_cmd)
211 svgdll_dcsvg.o: $(srcdir)/dcsvg.cpp
212 $(CXXC) -c -o $@ $(SVGDLL_CXXFLAGS) $<
214 @COND_SHARED_0@$(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg-2.5$(HOST_SUFFIX).a: $(__svglib_PCH_DEP) $(SVGLIB_OBJECTS)
215 @COND_SHARED_0@ rm -f $@
216 @COND_SHARED_0@ $(AR) rcu $@ $(SVGLIB_OBJECTS)
217 @COND_SHARED_0@ $(RANLIB) $@
219 svglib_dcsvg.o: $(srcdir)/dcsvg.cpp
220 $(CXXC) -c -o $@ $(SVGLIB_CXXFLAGS) $<
225 # Include dependency info, if present:
226 @IF_GNU_MAKE@-include .deps/*.d
228 .PHONY: all clean distclean install install_svgdll install_svglib uninstall