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