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