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