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 EXTRALIBS = @EXTRALIBS@
18 EXTRALIBS_GUI = @EXTRALIBS_GUI@
19 HOST_SUFFIX = @HOST_SUFFIX@
24 SHARED_LD_CXX = @SHARED_LD_CXX@
25 SONAME_FLAG = @SONAME_FLAG@
26 SO_SUFFIX = @SO_SUFFIX@
29 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
30 TOOLKIT_VERSION = @TOOLKIT_VERSION@
32 includedir = @includedir@
35 top_builddir = @top_builddir@
36 top_srcdir = @top_srcdir@
40 GIZMOSDLL_CXXFLAGS = $(__gizmosdll_PCH_INC) $(CPPFLAGS) -D__WX$(TOOLKIT)__ \
41 $(__WXUNIV_DEFINE_p) -I$(top_srcdir)/include -I$(srcdir)/../../include \
42 -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS $(CXXFLAGS) $(PIC_FLAG)
44 gizmosdll_dynamicsash.o \
45 gizmosdll_editlbox.o \
47 gizmosdll_multicell.o \
48 gizmosdll_splittree.o \
50 GIZMOSLIB_CXXFLAGS = $(__gizmoslib_PCH_INC) $(CPPFLAGS) -D__WX$(TOOLKIT)__ \
51 $(__WXUNIV_DEFINE_p) -I$(top_srcdir)/include -I$(srcdir)/../../include \
54 gizmoslib_dynamicsash.o \
55 gizmoslib_editlbox.o \
57 gizmoslib_multicell.o \
58 gizmoslib_splittree.o \
60 LIBDIRNAME = $(top_builddir)lib
63 ### Conditionally set variables: ###
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)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@__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_GCC_PCH_1@__gizmosdll_PCH_DEP = .pch/wxprec_gizmosdll/wx/wxprec.h.gch
106 @COND_GCC_PCH_1@__gizmosdll_PCH_INC = -I.pch/wxprec_gizmosdll
107 COND_SHARED_1___gizmosdll___depname = \
108 $(LIBDIRNAME)/lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf3)
109 @COND_SHARED_1@__gizmosdll___depname = $(COND_SHARED_1___gizmosdll___depname)
110 COND_PLATFORM_WIN32_1___gizmosdll___importlib = \
111 -Wl,--out-implib,$(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos-2.5$(HOST_SUFFIX).$(SO_SUFFIX)
112 @COND_PLATFORM_WIN32_1@__gizmosdll___importlib = $(COND_PLATFORM_WIN32_1___gizmosdll___importlib)
113 COND_PLATFORM_MACOSX_1___gizmosdll___macinstnamecmd = -install_name \
114 $(libdir)/lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf2)
115 @COND_PLATFORM_MACOSX_1@__gizmosdll___macinstnamecmd = $(COND_PLATFORM_MACOSX_1___gizmosdll___macinstnamecmd)
116 @COND_PLATFORM_MACOSX_1@__gizmosdll___macver = \
117 @COND_PLATFORM_MACOSX_1@ -compatibility_version $(WX_VERSION) \
118 @COND_PLATFORM_MACOSX_1@ -current_version $(WX_VERSION)
119 COND_USE_SOSYMLINKS_1___gizmosdll___so_symlinks_cmd = (cd $(LIBDIRNAME)/; rm -f \
120 libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos-2.5$(HOST_SUFFIX).$(SO_SUFFIX) \
121 lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf2); \
123 lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf3) \
124 lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf2); \
126 lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf2) \
127 libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos-2.5$(HOST_SUFFIX).$(SO_SUFFIX))
128 @COND_USE_SOSYMLINKS_1@__gizmosdll___so_symlinks_cmd = $(COND_USE_SOSYMLINKS_1___gizmosdll___so_symlinks_cmd)
129 COND_USE_SOSYMLINKS_1___gizmosdll___so_symlinks_inst_cmd = rm -f \
130 libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos-2.5$(HOST_SUFFIX).$(SO_SUFFIX) \
131 lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf2); \
133 lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf3) \
134 lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf2); \
136 lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf2) \
137 libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos-2.5$(HOST_SUFFIX).$(SO_SUFFIX)
138 @COND_USE_SOSYMLINKS_1@__gizmosdll___so_symlinks_inst_cmd = $(COND_USE_SOSYMLINKS_1___gizmosdll___so_symlinks_inst_cmd)
139 COND_USE_SOVERLINUX_1___gizmosdll___soname_flags = \
140 $(SONAME_FLAG)lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf2)
141 @COND_USE_SOVERLINUX_1@__gizmosdll___soname_flags = $(COND_USE_SOVERLINUX_1___gizmosdll___soname_flags)
142 COND_USE_SOVERSOLARIS_1___gizmosdll___soname_flags = \
143 $(SONAME_FLAG)lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf3)
144 @COND_USE_SOVERSOLARIS_1@__gizmosdll___soname_flags = $(COND_USE_SOVERSOLARIS_1___gizmosdll___soname_flags)
145 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__gizmosdll___targetsuf2 \
146 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@ = .$(SO_SUFFIX).0
147 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__gizmosdll___targetsuf2 \
148 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .0.$(SO_SUFFIX)
149 @COND_USE_SOVERSION_0@__gizmosdll___targetsuf2 = .$(SO_SUFFIX)
150 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__gizmosdll___targetsuf3 \
151 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@ = .$(SO_SUFFIX).0.0.0
152 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__gizmosdll___targetsuf3 \
153 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .0.0.0.$(SO_SUFFIX)
154 @COND_USE_SOVERSION_0@__gizmosdll___targetsuf3 = .$(SO_SUFFIX)
155 @COND_GCC_PCH_1@__gizmoslib_PCH_DEP = .pch/wxprec_gizmoslib/wx/wxprec.h.gch
156 @COND_GCC_PCH_1@__gizmoslib_PCH_INC = -I.pch/wxprec_gizmoslib
157 COND_SHARED_0___gizmoslib___depname = \
158 $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos-2.5$(HOST_SUFFIX).a
159 @COND_SHARED_0@__gizmoslib___depname = $(COND_SHARED_0___gizmoslib___depname)
160 @COND_SHARED_1@__install_gizmosdll___depname = install_gizmosdll
161 @COND_SHARED_0@__install_gizmoslib___depname = install_gizmoslib
165 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
167 @COND_GCC_PCH_1@.pch/wxprec_gizmosdll/wx/wxprec.h.gch:
168 @COND_GCC_PCH_1@ $(top_builddir)./bk-make-pch .pch/wxprec_gizmosdll/wx/wxprec.h.gch wx/wxprec.h $(CXX) $(GIZMOSDLL_CXXFLAGS)
170 @COND_GCC_PCH_1@.pch/wxprec_gizmoslib/wx/wxprec.h.gch:
171 @COND_GCC_PCH_1@ $(top_builddir)./bk-make-pch .pch/wxprec_gizmoslib/wx/wxprec.h.gch wx/wxprec.h $(CXX) $(GIZMOSLIB_CXXFLAGS)
174 rm -rf ./.deps ./.pch
176 rm -f $(LIBDIRNAME)/lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf3)
177 rm -f $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos-2.5$(HOST_SUFFIX).$(SO_SUFFIX)
178 rm -f $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos-2.5$(HOST_SUFFIX).$(SO_SUFFIX) $(LIBDIRNAME)/lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf2)
179 rm -f $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos-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 @COND_SHARED_1@$(LIBDIRNAME)/lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf3): $(__gizmosdll_PCH_DEP) $(GIZMOSDLL_OBJECTS)
185 @COND_SHARED_1@ $(SHARED_LD_CXX) $@ $(GIZMOSDLL_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(__gizmosdll___macinstnamecmd) $(__gizmosdll___importlib) $(__gizmosdll___soname_flags) $(__gizmosdll___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_BASE_p) $(__WXLIB_CORE_p)
186 @COND_SHARED_1@ $(__gizmosdll___so_symlinks_cmd)
188 gizmosdll_dynamicsash.o: $(srcdir)/dynamicsash.cpp
189 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
191 gizmosdll_editlbox.o: $(srcdir)/editlbox.cpp
192 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
194 gizmosdll_ledctrl.o: $(srcdir)/ledctrl.cpp
195 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
197 gizmosdll_multicell.o: $(srcdir)/multicell.cpp
198 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
200 gizmosdll_splittree.o: $(srcdir)/splittree.cpp
201 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
203 gizmosdll_statpict.o: $(srcdir)/statpict.cpp
204 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
206 @COND_SHARED_0@$(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos-2.5$(HOST_SUFFIX).a: $(__gizmoslib_PCH_DEP) $(GIZMOSLIB_OBJECTS)
207 @COND_SHARED_0@ rm -f $@
208 @COND_SHARED_0@ $(AR) rcu $@ $(GIZMOSLIB_OBJECTS)
209 @COND_SHARED_0@ $(RANLIB) $@
211 gizmoslib_dynamicsash.o: $(srcdir)/dynamicsash.cpp
212 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
214 gizmoslib_editlbox.o: $(srcdir)/editlbox.cpp
215 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
217 gizmoslib_ledctrl.o: $(srcdir)/ledctrl.cpp
218 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
220 gizmoslib_multicell.o: $(srcdir)/multicell.cpp
221 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
223 gizmoslib_splittree.o: $(srcdir)/splittree.cpp
224 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
226 gizmoslib_statpict.o: $(srcdir)/statpict.cpp
227 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
229 install: all $(__install_gizmosdll___depname) $(__install_gizmoslib___depname)
230 $(INSTALL) -d $(includedir)
231 for f in wx/gizmos/dynamicsash.h wx/gizmos/editlbox.h wx/gizmos/ledctrl.h wx/gizmos/multicell.h wx/gizmos/splittree.h wx/gizmos/statpict.h wx/gizmos/gizmos.h; do \
232 if test ! -d $(includedir)/`dirname $$f` ; then \
233 $(INSTALL) -d $(includedir)/`dirname $$f`; \
235 $(INSTALL) -m 644 $(srcdir)/../../include//$$f $(includedir)/$$f; \
238 install-strip: install
239 $(STRIP) $(libdir)/lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf3)
241 @COND_SHARED_1@install_gizmosdll:
242 @COND_SHARED_1@ $(INSTALL) -d $(libdir)
243 @COND_SHARED_1@ $(INSTALL) -m 644 $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos-2.5$(HOST_SUFFIX).$(SO_SUFFIX) $(libdir)
244 @COND_SHARED_1@ install -c $(LIBDIRNAME)/lib$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__gizmosdll___targetsuf3) $(libdir)
245 @COND_SHARED_1@ (cd $(libdir) ; $(__gizmosdll___so_symlinks_inst_cmd))
247 @COND_SHARED_0@install_gizmoslib:
248 @COND_SHARED_0@ $(INSTALL) -d $(libdir)
249 @COND_SHARED_0@ $(INSTALL) -m 644 $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos-2.5$(HOST_SUFFIX).a $(libdir)
254 # Include dependency info, if present:
255 @IF_GNU_MAKE@-include .deps/*.d
257 .PHONY: all clean distclean install install_gizmosdll install_gizmoslib uninstall