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