1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 exec_prefix = @exec_prefix@
13 SHARED_LD_CXX = @SHARED_LD_CXX@
15 LIBPREFIX = @LIBPREFIX@
16 SO_SUFFIX = @SO_SUFFIX@
17 DLLIMP_SUFFIX = @DLLIMP_SUFFIX@
20 SONAME_FLAG = @SONAME_FLAG@
22 INSTALL_PROGRAM = @INSTALL_PROGRAM@
23 INSTALL_DATA = @INSTALL_DATA@
24 INSTALL_DIR = @INSTALL_DIR@
26 top_srcdir = @top_srcdir@
27 top_builddir = @top_builddir@
29 includedir = @includedir@
30 DLLPREFIX = @DLLPREFIX@
39 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
40 TOOLKIT_VERSION = @TOOLKIT_VERSION@
41 EXTRALIBS = @EXTRALIBS@
42 EXTRALIBS_GUI = @EXTRALIBS_GUI@
43 HOST_SUFFIX = @HOST_SUFFIX@
49 LIBDIRNAME = $(top_builddir)lib
50 PLOTDLL_CXXFLAGS = $(__plotdll_PCH_INC) -D__WX$(TOOLKIT)__ \
51 $(__WXUNIV_DEFINE_p) -I$(srcdir)/../../include -DWXUSINGDLL \
52 -DWXMAKINGDLL_PLOT $(PIC_FLAG) $(CPPFLAGS) $(CXXFLAGS)
55 PLOTDLL_ODEP = $(___pch_wxprec_plotdll_wx_wxprec_h_gch___depname)
56 PLOTLIB_CXXFLAGS = $(__plotlib_PCH_INC) -D__WX$(TOOLKIT)__ \
57 $(__WXUNIV_DEFINE_p) -I$(srcdir)/../../include $(CPPFLAGS) $(CXXFLAGS)
60 PLOTLIB_ODEP = $(___pch_wxprec_plotlib_wx_wxprec_h_gch___depname)
62 ### Conditionally set variables: ###
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)252
78 @COND_PLATFORM_WIN32_0@WXDLLVERSIONTAG = -2.5
79 @COND_PLATFORM_WIN32_1@WXDLLVERSIONTAG =
80 COND_SHARED_1___plotdll___depname = \
81 $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf3)
82 @COND_SHARED_1@__plotdll___depname = $(COND_SHARED_1___plotdll___depname)
83 @COND_SHARED_1@__install_plotdll___depname = install_plotdll
84 COND_PLATFORM_MACOSX_1___plotdll___macinstnamecmd = -install_name \
85 $(libdir)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf2)
86 @COND_PLATFORM_MACOSX_1@__plotdll___macinstnamecmd = $(COND_PLATFORM_MACOSX_1___plotdll___macinstnamecmd)
87 COND_PLATFORM_OS2_1___plotdll___importlib = -import \
88 $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot-2.5$(HOST_SUFFIX).$(DLLIMP_SUFFIX)
89 @COND_PLATFORM_OS2_1@__plotdll___importlib = $(COND_PLATFORM_OS2_1___plotdll___importlib)
90 COND_PLATFORM_WIN32_1___plotdll___importlib = \
91 -Wl,--out-implib,$(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot-2.5$(HOST_SUFFIX).$(DLLIMP_SUFFIX)
92 @COND_PLATFORM_WIN32_1@__plotdll___importlib = $(COND_PLATFORM_WIN32_1___plotdll___importlib)
93 @COND_GCC_PCH_1@__plotdll_PCH_INC = -I.pch/wxprec_plotdll
94 @COND_GCC_PCH_1@___pch_wxprec_plotdll_wx_wxprec_h_gch___depname \
95 @COND_GCC_PCH_1@ = .pch/wxprec_plotdll/wx/wxprec.h.gch
96 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__plotdll___targetsuf2 \
97 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@ = .$(SO_SUFFIX).2
98 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__plotdll___targetsuf2 \
99 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .2.$(SO_SUFFIX)
100 @COND_USE_SOVERSION_0@__plotdll___targetsuf2 = .$(SO_SUFFIX)
101 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__plotdll___targetsuf3 \
102 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@ = .$(SO_SUFFIX).2.0.0
103 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__plotdll___targetsuf3 \
104 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .2.0.0.$(SO_SUFFIX)
105 @COND_USE_SOVERSION_0@__plotdll___targetsuf3 = .$(SO_SUFFIX)
106 COND_USE_SOVERLINUX_1___plotdll___soname_flags = \
107 $(SONAME_FLAG)$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf2)
108 @COND_USE_SOVERLINUX_1@__plotdll___soname_flags = $(COND_USE_SOVERLINUX_1___plotdll___soname_flags)
109 COND_USE_SOVERSOLARIS_1___plotdll___soname_flags = \
110 $(SONAME_FLAG)$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf3)
111 @COND_USE_SOVERSOLARIS_1@__plotdll___soname_flags = $(COND_USE_SOVERSOLARIS_1___plotdll___soname_flags)
112 COND_USE_SOSYMLINKS_1___plotdll___so_symlinks_cmd = (cd $(LIBDIRNAME)/; rm -f \
113 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot-2.5$(HOST_SUFFIX).$(DLLIMP_SUFFIX) \
114 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf2); \
116 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf3) \
117 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf2); \
119 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf2) \
120 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot-2.5$(HOST_SUFFIX).$(DLLIMP_SUFFIX))
121 @COND_USE_SOSYMLINKS_1@__plotdll___so_symlinks_cmd = $(COND_USE_SOSYMLINKS_1___plotdll___so_symlinks_cmd)
122 COND_USE_SOSYMLINKS_1___plotdll___so_symlinks_inst_cmd = rm -f \
123 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot-2.5$(HOST_SUFFIX).$(DLLIMP_SUFFIX) \
124 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf2); \
126 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf3) \
127 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf2); \
129 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf2) \
130 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot-2.5$(HOST_SUFFIX).$(DLLIMP_SUFFIX)
131 @COND_USE_SOSYMLINKS_1@__plotdll___so_symlinks_inst_cmd = $(COND_USE_SOSYMLINKS_1___plotdll___so_symlinks_inst_cmd)
132 @COND_PLATFORM_MACOSX_1@__plotdll___macver = \
133 @COND_PLATFORM_MACOSX_1@ -compatibility_version $(WX_VERSION) \
134 @COND_PLATFORM_MACOSX_1@ -current_version $(WX_VERSION)
135 COND_MONOLITHIC_1___WXLIB_MONO_p = \
136 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
137 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
138 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
139 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
140 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
141 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
142 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
143 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
144 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
145 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
146 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
147 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
148 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
149 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
150 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
151 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
152 @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
153 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
154 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
155 COND_MONOLITHIC_0___WXLIB_CORE_p = \
156 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
157 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
158 @COND_MONOLITHIC_0@__WXLIB_BASE_p = \
159 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
160 COND_SHARED_0___plotlib___depname = \
161 $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot-2.5$(HOST_SUFFIX)$(LIBEXT)
162 @COND_SHARED_0@__plotlib___depname = $(COND_SHARED_0___plotlib___depname)
163 @COND_SHARED_0@__install_plotlib___depname = install_plotlib
164 @COND_GCC_PCH_1@__plotlib_PCH_INC = -I.pch/wxprec_plotlib
165 @COND_GCC_PCH_1@___pch_wxprec_plotlib_wx_wxprec_h_gch___depname \
166 @COND_GCC_PCH_1@ = .pch/wxprec_plotlib/wx/wxprec.h.gch
167 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
171 all: $(__plotdll___depname) $(__plotlib___depname)
173 install: all $(__install_plotdll___depname) $(__install_plotlib___depname)
174 $(INSTALL_DIR) $(DESTDIR)$(includedir)
175 for f in wx/plot/plot.h wx/plot/plot_dwn.bmp wx/plot/plot_enl.bmp wx/plot/plot_shr.bmp wx/plot/plot_up.bmp wx/plot/plot_zin.bmp wx/plot/plot_zot.bmp wx/plot/wxplot.rc; do \
176 if test ! -d $(DESTDIR)$(includedir)/`dirname $$f` ; then \
177 $(INSTALL_DIR) $(DESTDIR)$(includedir)/`dirname $$f`; \
179 $(INSTALL_DATA) $(srcdir)/../../include//$$f $(DESTDIR)$(includedir)/$$f; \
184 install-strip: install
185 $(STRIP) $(DESTDIR)$(libdir)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf3)
188 rm -rf ./.deps ./.pch
190 rm -f $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf3)
191 rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot-2.5$(HOST_SUFFIX).$(DLLIMP_SUFFIX)
192 rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot-2.5$(HOST_SUFFIX).$(DLLIMP_SUFFIX) $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf2)
193 rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot-2.5$(HOST_SUFFIX)$(LIBEXT)
196 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
198 @COND_SHARED_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf3): $(PLOTDLL_OBJECTS)
199 @COND_SHARED_1@ $(SHARED_LD_CXX) $@ $(PLOTDLL_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(__plotdll___macinstnamecmd) $(__plotdll___importlib) $(__plotdll___soname_flags) $(__plotdll___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)
201 @COND_SHARED_1@ $(__plotdll___so_symlinks_cmd)
203 @COND_SHARED_1@install_plotdll:
204 @COND_SHARED_1@ $(INSTALL_DIR) $(DESTDIR)$(libdir)
205 @COND_SHARED_1@ $(INSTALL_DATA) $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot-2.5$(HOST_SUFFIX).$(DLLIMP_SUFFIX) $(DESTDIR)$(libdir)
206 @COND_SHARED_1@ $(INSTALL_PROGRAM) $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__plotdll___targetsuf3) $(DESTDIR)$(libdir)
207 @COND_SHARED_1@ (cd $(DESTDIR)$(libdir) ; $(__plotdll___so_symlinks_inst_cmd))
209 @COND_GCC_PCH_1@.pch/wxprec_plotdll/wx/wxprec.h.gch:
210 @COND_GCC_PCH_1@ $(top_builddir)./bk-make-pch .pch/wxprec_plotdll/wx/wxprec.h.gch wx/wxprec.h $(CXX) $(PLOTDLL_CXXFLAGS)
212 @COND_SHARED_0@$(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot-2.5$(HOST_SUFFIX)$(LIBEXT): $(PLOTLIB_OBJECTS)
213 @COND_SHARED_0@ rm -f $@
214 @COND_SHARED_0@ $(AR) rcu $@ $(PLOTLIB_OBJECTS)
215 @COND_SHARED_0@ $(RANLIB) $@
217 @COND_SHARED_0@install_plotlib:
218 @COND_SHARED_0@ $(INSTALL_DIR) $(DESTDIR)$(libdir)
219 @COND_SHARED_0@ $(INSTALL_DATA) $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot-2.5$(HOST_SUFFIX)$(LIBEXT) $(DESTDIR)$(libdir)
221 @COND_GCC_PCH_1@.pch/wxprec_plotlib/wx/wxprec.h.gch:
222 @COND_GCC_PCH_1@ $(top_builddir)./bk-make-pch .pch/wxprec_plotlib/wx/wxprec.h.gch wx/wxprec.h $(CXX) $(PLOTLIB_CXXFLAGS)
224 plotdll_plot.o: $(srcdir)/plot.cpp $(PLOTDLL_ODEP)
225 $(CXXC) -c -o $@ $(PLOTDLL_CXXFLAGS) $<
227 plotlib_plot.o: $(srcdir)/plot.cpp $(PLOTLIB_ODEP)
228 $(CXXC) -c -o $@ $(PLOTLIB_CXXFLAGS) $<
231 # Include dependency info, if present:
232 @IF_GNU_MAKE@-include .deps/*.d
234 .PHONY: all install uninstall clean distclean install_plotdll install_plotlib