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