]> git.saurik.com Git - wxWidgets.git/blame - samples/sockets/Makefile.in
Removed very out of date files in docs/msw
[wxWidgets.git] / samples / sockets / Makefile.in
CommitLineData
cbd63f42
VS
1# =========================================================================
2# This makefile was generated by
8c9f8f91 3# Bakefile 0.1.8 (http://bakefile.sourceforge.net)
cbd63f42
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7
8@MAKE_SET@
9
3af038c0
VS
10prefix = @prefix@
11exec_prefix = @exec_prefix@
b1169abb 12INSTALL = @INSTALL@
b17c1746
DE
13EXEEXT = @EXEEXT@
14RESCOMP = @RESCOMP@
15SETFILE = @SETFILE@
16NM = @NM@
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19top_builddir = @top_builddir@
20LDFLAGS_GUI = @LDFLAGS_GUI@
3af038c0 21CXX = @CXX@
cbd63f42 22CXXFLAGS = @CXXFLAGS@
b17c1746
DE
23CPPFLAGS = @CPPFLAGS@
24LDFLAGS = @LDFLAGS@
589e20d0 25WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
b17c1746
DE
26TOOLKIT = @TOOLKIT@
27TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
28TOOLKIT_VERSION = @TOOLKIT_VERSION@
29TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
cbd63f42 30EXTRALIBS = @EXTRALIBS@
6c974d0b 31EXTRALIBS_GUI = @EXTRALIBS_GUI@
250700e4 32HOST_SUFFIX = @HOST_SUFFIX@
3af038c0 33SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 34SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
cbd63f42 35
fcf61db4
VS
36### Variables: ###
37
b17c1746 38DESTDIR =
ceec2216 39WX_RELEASE = 2.5
8c9f8f91 40WX_VERSION = $(WX_RELEASE).5
b17c1746 41LIBDIRNAME = $(top_builddir)lib
8c9f8f91
JS
42CLIENT_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)
e9877ed3 45CLIENT_OBJECTS = \
a4ad36cd 46 $(os2_lib_res) \
e9877ed3
VS
47 client_client.o \
48 $(__client___win32rc)
8c9f8f91
JS
49SERVER_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)
e9877ed3 52SERVER_OBJECTS = \
a4ad36cd 53 $(os2_lib_res) \
e9877ed3
VS
54 server_server.o \
55 $(__server___win32rc)
fcf61db4 56
cbd63f42
VS
57### Conditionally set variables: ###
58
b328fad3
VS
59@COND_DEPS_TRACKING_0@CXXC = $(CXX)
60@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
3af038c0
VS
61@COND_USE_GUI_0@PORTNAME = base
62@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
b1169abb 63@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
25a73439
VS
64@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
65@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
3af038c0 66@COND_UNICODE_1@WXUNICODEFLAG = u
fcf61db4 67@COND_WXUNIV_1@WXUNIVNAME = univ
0e3165d7
DE
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 =
b17c1746
DE
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)
75COND_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
c4839ccf
JS
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
b17c1746
DE
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)
87COND_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
c4839ccf
JS
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
b17c1746 95@COND_PLATFORM_WIN32_1@__server___win32rc = server_server_rc.o
e9877ed3 96COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_2 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
8c9f8f91
JS
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 \
c3255f5f 99 $(srcdir)/../../samples -i $(top_srcdir)/include -o client$(EXEEXT) Carbon.r \
8c9f8f91 100 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).5.r sample.r
e9877ed3
VS
101@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_2 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_2)
102COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_3 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
8c9f8f91
JS
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 \
c3255f5f 105 $(srcdir)/../../samples -i $(top_srcdir)/include -o server$(EXEEXT) Carbon.r \
8c9f8f91 106 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).5.r sample.r
e9877ed3 107@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_3 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_3)
b17c1746
DE
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__
8c9f8f91
JS
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
b17c1746
DE
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
e9877ed3 124COND_MONOLITHIC_0___WXLIB_CORE_p = \
a1bf307a 125 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
e9877ed3 126@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
ceec2216 127COND_MONOLITHIC_0___WXLIB_NET_p = \
a1bf307a 128 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
129@COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p)
130COND_MONOLITHIC_0___WXLIB_BASE_p = \
a1bf307a 131 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216 132@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
e9877ed3 133COND_MONOLITHIC_1___WXLIB_MONO_p = \
a1bf307a 134 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
e9877ed3 135@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
b17c1746
DE
136@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
137@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
ceec2216 138@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
139@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
140@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
ceec2216 141@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
142@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
143@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
ceec2216 144@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 145@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
ceec2216 146@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 147@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
7714864e 148@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
149COND_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)
b17c1746 152@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
ceec2216 153@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
cbd63f42
VS
154
155### Targets: ###
156
b328fad3 157all: client$(EXEEXT) $(__client_bundle___depname) server$(EXEEXT) $(__server_bundle___depname)
cbd63f42 158
b17c1746
DE
159install: all
160
161uninstall:
162
163install-strip: install
164
fcf61db4 165clean:
ab892b95 166 rm -rf ./.deps ./.pch
e9877ed3 167 rm -f ./*.o
b328fad3 168 rm -f client$(EXEEXT)
ab892b95 169 rm -rf client.app
b328fad3 170 rm -f server$(EXEEXT)
ab892b95 171 rm -rf server.app
250700e4 172
b17c1746 173distclean: clean
b14abf14 174 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
b17c1746 175
b328fad3 176client$(EXEEXT): $(CLIENT_OBJECTS) $(__client___win32rc)
0e3165d7 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)
250700e4
RD
178 $(__client___mac_rezcmd)
179 $(__client___mac_setfilecmd)
ec08d395 180 $(__client___os2_emxbindcmd)
ab892b95
VS
181 $(SAMPLES_RPATH_POSTLINK)
182
8c9f8f91 183client.app/Contents/PkgInfo: client$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).5.rsrc $(top_srcdir)/src/mac/carbon/wxmac.icns
ab892b95
VS
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/" \
75a0a7b7 191 -e "s/VERSION/$(WX_VERSION)/" \
0b0efa9a 192 $(top_srcdir)/src/mac/carbon/Info.plist.in >client.app/Contents/Info.plist
ab892b95
VS
193
194
195 echo -n "APPL????" >client.app/Contents/PkgInfo
196
197
b328fad3 198 ln -f client$(EXEEXT) client.app/Contents/MacOS/client
ab892b95
VS
199
200
8c9f8f91 201 cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).5.rsrc client.app/Contents/Resources/client.rsrc
c4839ccf 202 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns client.app/Contents/Resources/wxmac.icns
ab892b95 203
c4839ccf 204@COND_PLATFORM_MACOSX_1@client_bundle: $(____client_BUNDLE_TGT_REF_DEP)
250700e4 205
b328fad3 206server$(EXEEXT): $(SERVER_OBJECTS) $(__server___win32rc)
0e3165d7 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)
250700e4
RD
208 $(__server___mac_rezcmd)
209 $(__server___mac_setfilecmd)
ec08d395 210 $(__server___os2_emxbindcmd)
ab892b95
VS
211 $(SAMPLES_RPATH_POSTLINK)
212
8c9f8f91 213server.app/Contents/PkgInfo: server$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).5.rsrc $(top_srcdir)/src/mac/carbon/wxmac.icns
ab892b95
VS
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/" \
75a0a7b7 221 -e "s/VERSION/$(WX_VERSION)/" \
0b0efa9a 222 $(top_srcdir)/src/mac/carbon/Info.plist.in >server.app/Contents/Info.plist
ab892b95
VS
223
224
225 echo -n "APPL????" >server.app/Contents/PkgInfo
226
227
b328fad3 228 ln -f server$(EXEEXT) server.app/Contents/MacOS/server
ab892b95
VS
229
230
8c9f8f91 231 cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).5.rsrc server.app/Contents/Resources/server.rsrc
c4839ccf 232 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns server.app/Contents/Resources/wxmac.icns
ab892b95 233
c4839ccf 234@COND_PLATFORM_MACOSX_1@server_bundle: $(____server_BUNDLE_TGT_REF_DEP)
cbd63f42 235
b17c1746 236client_client.o: $(srcdir)/client.cpp
b14abf14 237 $(CXXC) -c -o $@ $(CLIENT_CXXFLAGS) $(srcdir)/client.cpp
b17c1746
DE
238
239client_client_rc.o: $(srcdir)/client.rc
8c9f8f91 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
b17c1746 241
250700e4 242server_server.o: $(srcdir)/server.cpp
b14abf14 243 $(CXXC) -c -o $@ $(SERVER_CXXFLAGS) $(srcdir)/server.cpp
3af038c0 244
250700e4 245server_server_rc.o: $(srcdir)/server.rc
8c9f8f91 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
cbd63f42
VS
247
248
249# Include dependency info, if present:
49b0a3aa 250@IF_GNU_MAKE@-include .deps/*.d
cbd63f42 251
b17c1746 252.PHONY: all install uninstall clean distclean client_bundle server_bundle