]> git.saurik.com Git - wxWidgets.git/blob - samples/sockets/Makefile.in
fe82fbc8c0f9c2a45973f8cab55b81401ddfd33c
[wxWidgets.git] / samples / sockets / Makefile.in
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7
8 @MAKE_SET@
9
10 prefix = @prefix@
11 exec_prefix = @exec_prefix@
12 INSTALL = @INSTALL@
13 EXEEXT = @EXEEXT@
14 RESCOMP = @RESCOMP@
15 SETFILE = @SETFILE@
16 NM = @NM@
17 srcdir = @srcdir@
18 top_srcdir = @top_srcdir@
19 top_builddir = @top_builddir@
20 LDFLAGS_GUI = @LDFLAGS_GUI@
21 CXX = @CXX@
22 CXXFLAGS = @CXXFLAGS@
23 CPPFLAGS = @CPPFLAGS@
24 LDFLAGS = @LDFLAGS@
25 WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
26 TOOLKIT = @TOOLKIT@
27 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
28 TOOLKIT_VERSION = @TOOLKIT_VERSION@
29 TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
30 EXTRALIBS = @EXTRALIBS@
31 EXTRALIBS_GUI = @EXTRALIBS_GUI@
32 HOST_SUFFIX = @HOST_SUFFIX@
33 SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
34 SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
35
36 ### Variables: ###
37
38 DESTDIR =
39 WX_RELEASE = 2.6
40 WX_VERSION = $(WX_RELEASE).0
41 LIBDIRNAME = $(top_builddir)lib
42 CLIENT_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
43 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
44 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS)
45 CLIENT_OBJECTS = \
46 $(os2_lib_res) \
47 client_client.o \
48 $(__client___win32rc)
49 SERVER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
50 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
51 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS)
52 SERVER_OBJECTS = \
53 $(os2_lib_res) \
54 server_server.o \
55 $(__server___win32rc)
56
57 ### Conditionally set variables: ###
58
59 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
60 @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
61 @COND_USE_GUI_0@PORTNAME = base
62 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
63 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
64 @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
65 @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
66 @COND_UNICODE_1@WXUNICODEFLAG = u
67 @COND_WXUNIV_1@WXUNIVNAME = univ
68 @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
69 @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
70 @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
71 @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
72 @COND_PLATFORM_MAC_1@__client___mac_setfilecmd = \
73 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C client$(EXEEXT)
74 @COND_PLATFORM_MAC_1@__client___mac_rezcmd = $(__MACOSX_RESOURCES_p_2)
75 COND_PLATFORM_OS2_1___client___os2_emxbindcmd = $(NM) client$(EXEEXT) | if grep \
76 -q pmwin.763 ; then emxbind -ep client$(EXEEXT) ; fi
77 @COND_PLATFORM_OS2_1@__client___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___client___os2_emxbindcmd)
78 @COND_PLATFORM_MACOSX_1@__client_bundle___depname = client_bundle
79 @COND_TOOLKIT_COCOA@____client_BUNDLE_TGT_REF_DEP = \
80 @COND_TOOLKIT_COCOA@ client.app/Contents/PkgInfo
81 @COND_TOOLKIT_MAC@____client_BUNDLE_TGT_REF_DEP = \
82 @COND_TOOLKIT_MAC@ client.app/Contents/PkgInfo
83 @COND_PLATFORM_WIN32_1@__client___win32rc = client_client_rc.o
84 @COND_PLATFORM_MAC_1@__server___mac_setfilecmd = \
85 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C server$(EXEEXT)
86 @COND_PLATFORM_MAC_1@__server___mac_rezcmd = $(__MACOSX_RESOURCES_p_3)
87 COND_PLATFORM_OS2_1___server___os2_emxbindcmd = $(NM) server$(EXEEXT) | if grep \
88 -q pmwin.763 ; then emxbind -ep server$(EXEEXT) ; fi
89 @COND_PLATFORM_OS2_1@__server___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___server___os2_emxbindcmd)
90 @COND_PLATFORM_MACOSX_1@__server_bundle___depname = server_bundle
91 @COND_TOOLKIT_COCOA@____server_BUNDLE_TGT_REF_DEP = \
92 @COND_TOOLKIT_COCOA@ server.app/Contents/PkgInfo
93 @COND_TOOLKIT_MAC@____server_BUNDLE_TGT_REF_DEP = \
94 @COND_TOOLKIT_MAC@ server.app/Contents/PkgInfo
95 @COND_PLATFORM_WIN32_1@__server___win32rc = server_server_rc.o
96 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_2 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
97 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) \
98 $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) -i $(srcdir) $(__DLLFLAG_p_0) -i \
99 $(srcdir)/../../samples -i $(top_srcdir)/include -o client$(EXEEXT) Carbon.r \
100 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
101 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_2 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_2)
102 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_3 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
103 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) \
104 $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) -i $(srcdir) $(__DLLFLAG_p_0) -i \
105 $(srcdir)/../../samples -i $(top_srcdir)/include -o server$(EXEEXT) Carbon.r \
106 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
107 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_3 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_3)
108 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
109 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_0 = -d __WXUNIVERSAL__
110 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_6 = --define __WXUNIVERSAL__
111 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
112 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_0 = -d wxNO_EXCEPTIONS
113 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_6 = --define wxNO_EXCEPTIONS
114 @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
115 @COND_USE_RTTI_0@__RTTI_DEFINE_p_0 = -d wxNO_RTTI
116 @COND_USE_RTTI_0@__RTTI_DEFINE_p_6 = --define wxNO_RTTI
117 @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
118 @COND_USE_THREADS_0@__THREAD_DEFINE_p_0 = -d wxNO_THREADS
119 @COND_USE_THREADS_0@__THREAD_DEFINE_p_6 = --define wxNO_THREADS
120 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
121 @COND_SHARED_1@__DLLFLAG_p_0 = -d WXUSINGDLL
122 @COND_SHARED_1@__DLLFLAG_p_6 = --define WXUSINGDLL
123 @COND_PLATFORM_OS2_1@os2_lib_res = $(top_srcdir)/include/wx/os2/wx.res
124 COND_MONOLITHIC_0___WXLIB_CORE_p = \
125 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
126 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
127 COND_MONOLITHIC_0___WXLIB_NET_p = \
128 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX)
129 @COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p)
130 COND_MONOLITHIC_0___WXLIB_BASE_p = \
131 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
132 @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
133 COND_MONOLITHIC_1___WXLIB_MONO_p = \
134 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
135 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
136 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
137 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
138 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
139 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
140 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
141 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
142 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
143 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
144 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
145 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
146 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
147 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
148 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
149 COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
150 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
151 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
152 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
153 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
154
155 ### Targets: ###
156
157 all: client$(EXEEXT) $(__client_bundle___depname) server$(EXEEXT) $(__server_bundle___depname)
158
159 install: all
160
161 uninstall:
162
163 install-strip: install
164
165 clean:
166 rm -rf ./.deps ./.pch
167 rm -f ./*.o
168 rm -f client$(EXEEXT)
169 rm -rf client.app
170 rm -f server$(EXEEXT)
171 rm -rf server.app
172
173 distclean: clean
174 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
175
176 client$(EXEEXT): $(CLIENT_OBJECTS) $(__client___win32rc)
177 $(CXX) -o $@ $(CLIENT_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__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_FOR_BASE) $(EXTRALIBS_FOR_GUI)
178 $(__client___mac_rezcmd)
179 $(__client___mac_setfilecmd)
180 $(__client___os2_emxbindcmd)
181 $(SAMPLES_RPATH_POSTLINK)
182
183 client.app/Contents/PkgInfo: client$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/carbon/wxmac.icns
184 mkdir -p client.app/Contents
185 mkdir -p client.app/Contents/MacOS
186 mkdir -p client.app/Contents/Resources
187
188
189 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
190 -e "s/EXECUTABLE/client/" \
191 -e "s/VERSION/$(WX_VERSION)/" \
192 $(top_srcdir)/src/mac/carbon/Info.plist.in >client.app/Contents/Info.plist
193
194
195 echo -n "APPL????" >client.app/Contents/PkgInfo
196
197
198 ln -f client$(EXEEXT) client.app/Contents/MacOS/client
199
200
201 cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc client.app/Contents/Resources/client.rsrc
202 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns client.app/Contents/Resources/wxmac.icns
203
204 @COND_PLATFORM_MACOSX_1@client_bundle: $(____client_BUNDLE_TGT_REF_DEP)
205
206 server$(EXEEXT): $(SERVER_OBJECTS) $(__server___win32rc)
207 $(CXX) -o $@ $(SERVER_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__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_FOR_BASE) $(EXTRALIBS_FOR_GUI)
208 $(__server___mac_rezcmd)
209 $(__server___mac_setfilecmd)
210 $(__server___os2_emxbindcmd)
211 $(SAMPLES_RPATH_POSTLINK)
212
213 server.app/Contents/PkgInfo: server$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/carbon/wxmac.icns
214 mkdir -p server.app/Contents
215 mkdir -p server.app/Contents/MacOS
216 mkdir -p server.app/Contents/Resources
217
218
219 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
220 -e "s/EXECUTABLE/server/" \
221 -e "s/VERSION/$(WX_VERSION)/" \
222 $(top_srcdir)/src/mac/carbon/Info.plist.in >server.app/Contents/Info.plist
223
224
225 echo -n "APPL????" >server.app/Contents/PkgInfo
226
227
228 ln -f server$(EXEEXT) server.app/Contents/MacOS/server
229
230
231 cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc server.app/Contents/Resources/server.rsrc
232 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns server.app/Contents/Resources/wxmac.icns
233
234 @COND_PLATFORM_MACOSX_1@server_bundle: $(____server_BUNDLE_TGT_REF_DEP)
235
236 client_client.o: $(srcdir)/client.cpp
237 $(CXXC) -c -o $@ $(CLIENT_CXXFLAGS) $(srcdir)/client.cpp
238
239 client_client_rc.o: $(srcdir)/client.rc
240 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_6) $(__EXCEPTIONS_DEFINE_p_6) $(__RTTI_DEFINE_p_6) $(__THREAD_DEFINE_p_6) --include-dir $(srcdir) $(__DLLFLAG_p_6) --include-dir $(srcdir)/../../samples --include-dir $(top_srcdir)/include
241
242 server_server.o: $(srcdir)/server.cpp
243 $(CXXC) -c -o $@ $(SERVER_CXXFLAGS) $(srcdir)/server.cpp
244
245 server_server_rc.o: $(srcdir)/server.rc
246 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_6) $(__EXCEPTIONS_DEFINE_p_6) $(__RTTI_DEFINE_p_6) $(__THREAD_DEFINE_p_6) --include-dir $(srcdir) $(__DLLFLAG_p_6) --include-dir $(srcdir)/../../samples --include-dir $(top_srcdir)/include
247
248
249 # Include dependency info, if present:
250 @IF_GNU_MAKE@-include .deps/*.d
251
252 .PHONY: all install uninstall clean distclean client_bundle server_bundle