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 NETUTILSDLL_CXXFLAGS = $(__netutilsdll_PCH_INC) -D__WX$(TOOLKIT)__ \
48 $(__WXUNIV_DEFINE_p) -I$(top_srcdir)/include -I$(srcdir)/../../include \
49 -DWXUSINGDLL -DWXMAKINGDLL_NETUTILS $(PIC_FLAG) $(CPPFLAGS) $(CXXFLAGS)
50 NETUTILSDLL_OBJECTS = \
54 NETUTILSLIB_CXXFLAGS = $(__netutilslib_PCH_INC) -D__WX$(TOOLKIT)__ \
55 $(__WXUNIV_DEFINE_p) -I$(top_srcdir)/include -I$(srcdir)/../../include \
56 $(CPPFLAGS) $(CXXFLAGS)
57 NETUTILSLIB_OBJECTS = \
63 ### Conditionally set variables: ###
65 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
66 @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
67 @COND_PLATFORM_WIN32_0@DLLIMPEXT = .$(SO_SUFFIX)
68 @COND_PLATFORM_WIN32_1@DLLIMPEXT = .a
69 @COND_USE_GUI_0@PORTNAME = base
70 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
71 @COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@VENDORTAG = _$(VENDOR)
72 @COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@VENDORTAG =
73 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
74 @COND_PLATFORM_WIN32_1@WXCOMPILER = _gcc
75 @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
76 @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
77 @COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIXGUI = wx_$(PORTNAME)$(WXUNIVNAME)
78 @COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIXGUI = wx$(PORTNAME)$(WXUNIVNAME)251
79 @COND_PLATFORM_WIN32_0@WXDLLVERSIONTAG = -2.5
80 @COND_PLATFORM_WIN32_1@WXDLLVERSIONTAG =
81 @COND_UNICODE_1@WXUNICODEFLAG = u
82 @COND_WXUNIV_1@WXUNIVNAME = univ
83 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
84 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
85 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
86 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
87 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
88 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
89 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
90 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
91 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
92 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
93 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
94 @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
95 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
96 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
97 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
98 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
99 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
100 @COND_MONOLITHIC_0@__WXLIB_BASE_p = \
101 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
102 COND_MONOLITHIC_0___WXLIB_CORE_p = \
103 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
104 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
105 COND_MONOLITHIC_1___WXLIB_MONO_p = \
106 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
107 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
108 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
109 @COND_SHARED_1@__install_netutilsdll___depname = install_netutilsdll
110 @COND_SHARED_0@__install_netutilslib___depname = install_netutilslib
111 @COND_GCC_PCH_1@__netutilsdll_PCH_DEP = \
112 @COND_GCC_PCH_1@ .pch/wxprec_netutilsdll/wx/wxprec.h.gch
113 @COND_GCC_PCH_1@__netutilsdll_PCH_INC = -I.pch/wxprec_netutilsdll
114 COND_SHARED_1___netutilsdll___depname = \
115 $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf3)
116 @COND_SHARED_1@__netutilsdll___depname = $(COND_SHARED_1___netutilsdll___depname)
117 COND_PLATFORM_WIN32_1___netutilsdll___importlib = \
118 -Wl,--out-implib,$(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
119 @COND_PLATFORM_WIN32_1@__netutilsdll___importlib = $(COND_PLATFORM_WIN32_1___netutilsdll___importlib)
120 COND_PLATFORM_MACOSX_1___netutilsdll___macinstnamecmd = -install_name \
121 $(libdir)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf2)
122 @COND_PLATFORM_MACOSX_1@__netutilsdll___macinstnamecmd = $(COND_PLATFORM_MACOSX_1___netutilsdll___macinstnamecmd)
123 @COND_PLATFORM_MACOSX_1@__netutilsdll___macver = \
124 @COND_PLATFORM_MACOSX_1@ -compatibility_version $(WX_VERSION) \
125 @COND_PLATFORM_MACOSX_1@ -current_version $(WX_VERSION)
126 COND_USE_SOSYMLINKS_1___netutilsdll___so_symlinks_cmd = (cd $(LIBDIRNAME)/; rm \
128 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils-2.5$(HOST_SUFFIX)$(DLLIMPEXT) \
129 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf2); \
131 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf3) \
132 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf2); \
134 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf2) \
135 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils-2.5$(HOST_SUFFIX)$(DLLIMPEXT))
136 @COND_USE_SOSYMLINKS_1@__netutilsdll___so_symlinks_cmd = $(COND_USE_SOSYMLINKS_1___netutilsdll___so_symlinks_cmd)
137 COND_USE_SOSYMLINKS_1___netutilsdll___so_symlinks_inst_cmd = rm -f \
138 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils-2.5$(HOST_SUFFIX)$(DLLIMPEXT) \
139 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf2); \
141 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf3) \
142 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf2); \
144 $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf2) \
145 $(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
146 @COND_USE_SOSYMLINKS_1@__netutilsdll___so_symlinks_inst_cmd = $(COND_USE_SOSYMLINKS_1___netutilsdll___so_symlinks_inst_cmd)
147 COND_USE_SOVERLINUX_1___netutilsdll___soname_flags = \
148 $(SONAME_FLAG)$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf2)
149 @COND_USE_SOVERLINUX_1@__netutilsdll___soname_flags = $(COND_USE_SOVERLINUX_1___netutilsdll___soname_flags)
150 COND_USE_SOVERSOLARIS_1___netutilsdll___soname_flags = \
151 $(SONAME_FLAG)$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf3)
152 @COND_USE_SOVERSOLARIS_1@__netutilsdll___soname_flags = $(COND_USE_SOVERSOLARIS_1___netutilsdll___soname_flags)
153 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__netutilsdll___targetsuf2 \
154 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@ = .$(SO_SUFFIX).1
155 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__netutilsdll___targetsuf2 \
156 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .1.$(SO_SUFFIX)
157 @COND_USE_SOVERSION_0@__netutilsdll___targetsuf2 = .$(SO_SUFFIX)
158 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@__netutilsdll___targetsuf3 \
159 @COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@ = .$(SO_SUFFIX).1.0.0
160 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__netutilsdll___targetsuf3 \
161 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .1.0.0.$(SO_SUFFIX)
162 @COND_USE_SOVERSION_0@__netutilsdll___targetsuf3 = .$(SO_SUFFIX)
163 @COND_GCC_PCH_1@__netutilslib_PCH_DEP = \
164 @COND_GCC_PCH_1@ .pch/wxprec_netutilslib/wx/wxprec.h.gch
165 @COND_GCC_PCH_1@__netutilslib_PCH_INC = -I.pch/wxprec_netutilslib
166 COND_SHARED_0___netutilslib___depname = \
167 $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils-2.5$(HOST_SUFFIX).a
168 @COND_SHARED_0@__netutilslib___depname = $(COND_SHARED_0___netutilslib___depname)
172 all: $(__netutilsdll___depname) $(__netutilslib___depname)
174 @COND_GCC_PCH_1@.pch/wxprec_netutilsdll/wx/wxprec.h.gch:
175 @COND_GCC_PCH_1@ $(top_builddir)./bk-make-pch .pch/wxprec_netutilsdll/wx/wxprec.h.gch wx/wxprec.h $(CXX) $(NETUTILSDLL_CXXFLAGS)
177 @COND_GCC_PCH_1@.pch/wxprec_netutilslib/wx/wxprec.h.gch:
178 @COND_GCC_PCH_1@ $(top_builddir)./bk-make-pch .pch/wxprec_netutilslib/wx/wxprec.h.gch wx/wxprec.h $(CXX) $(NETUTILSLIB_CXXFLAGS)
181 rm -rf ./.deps ./.pch
183 rm -f $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf3)
184 rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
185 rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils-2.5$(HOST_SUFFIX)$(DLLIMPEXT) $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf2)
186 rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils-2.5$(HOST_SUFFIX).a
189 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
191 install: all $(__install_netutilsdll___depname) $(__install_netutilslib___depname)
192 $(INSTALL_DIR) $(DESTDIR)$(includedir)
193 for f in wx/net/email.h wx/net/msg.h wx/net/smapi.h wx/net/web.h; do \
194 if test ! -d $(DESTDIR)$(includedir)/`dirname $$f` ; then \
195 $(INSTALL_DIR) $(DESTDIR)$(includedir)/`dirname $$f`; \
197 $(INSTALL_DATA) $(srcdir)/../../include//$$f $(DESTDIR)$(includedir)/$$f; \
200 install-strip: install
201 $(STRIP) $(DESTDIR)$(libdir)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf3)
203 @COND_SHARED_1@install_netutilsdll:
204 @COND_SHARED_1@ $(INSTALL_DIR) $(DESTDIR)$(libdir)
205 @COND_SHARED_1@ $(INSTALL_DATA) $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils-2.5$(HOST_SUFFIX)$(DLLIMPEXT) $(DESTDIR)$(libdir)
206 @COND_SHARED_1@ $(INSTALL_PROGRAM) $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf3) $(DESTDIR)$(libdir)
207 @COND_SHARED_1@ (cd $(DESTDIR)$(libdir) ; $(__netutilsdll___so_symlinks_inst_cmd))
209 @COND_SHARED_0@install_netutilslib:
210 @COND_SHARED_0@ $(INSTALL_DIR) $(DESTDIR)$(libdir)
211 @COND_SHARED_0@ $(INSTALL_DATA) $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils-2.5$(HOST_SUFFIX).a $(DESTDIR)$(libdir)
213 @COND_SHARED_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__netutilsdll___targetsuf3): $(__netutilsdll_PCH_DEP) $(NETUTILSDLL_OBJECTS)
214 @COND_SHARED_1@ $(SHARED_LD_CXX) $@ $(NETUTILSDLL_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(__netutilsdll___macinstnamecmd) $(__netutilsdll___importlib) $(__netutilsdll___soname_flags) $(__netutilsdll___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)
216 @COND_SHARED_1@ $(__netutilsdll___so_symlinks_cmd)
218 netutilsdll_email.o: $(srcdir)/email.cpp
219 $(CXXC) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
221 netutilsdll_smapi.o: $(srcdir)/smapi.cpp
222 $(CXXC) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
224 netutilsdll_web.o: $(srcdir)/web.cpp
225 $(CXXC) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
227 @COND_SHARED_0@$(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils-2.5$(HOST_SUFFIX).a: $(__netutilslib_PCH_DEP) $(NETUTILSLIB_OBJECTS)
228 @COND_SHARED_0@ rm -f $@
229 @COND_SHARED_0@ $(AR) rcu $@ $(NETUTILSLIB_OBJECTS)
230 @COND_SHARED_0@ $(RANLIB) $@
232 netutilslib_email.o: $(srcdir)/email.cpp
233 $(CXXC) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
235 netutilslib_smapi.o: $(srcdir)/smapi.cpp
236 $(CXXC) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
238 netutilslib_web.o: $(srcdir)/web.cpp
239 $(CXXC) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
244 # Include dependency info, if present:
245 @IF_GNU_MAKE@-include .deps/*.d
247 .PHONY: all clean distclean install install_netutilsdll install_netutilslib uninstall