]> git.saurik.com Git - wxWidgets.git/blame - samples/sockets/Makefile.in
Rebaked/autoconfiscated for wxCocoa wxTaskBarIcon addition.
[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
b17c1746
DE
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
c4839ccf
JS
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
b17c1746
DE
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
c4839ccf
JS
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
b17c1746 89@COND_PLATFORM_WIN32_1@__server___win32rc = server_server_rc.o
e9877ed3 90COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_2 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
b17c1746 91 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_0) -i $(srcdir) $(__DLLFLAG_p_0) -i \
c3255f5f 92 $(srcdir)/../../samples -i $(top_srcdir)/include -o client$(EXEEXT) Carbon.r \
7714864e 93 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.r sample.r
e9877ed3
VS
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 \
b17c1746 96 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_0) -i $(srcdir) $(__DLLFLAG_p_0) -i \
c3255f5f 97 $(srcdir)/../../samples -i $(top_srcdir)/include -o server$(EXEEXT) Carbon.r \
7714864e 98 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.r sample.r
e9877ed3 99@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_3 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_3)
b17c1746
DE
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
e9877ed3 107COND_MONOLITHIC_0___WXLIB_CORE_p = \
a1bf307a 108 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
e9877ed3 109@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
ceec2216 110COND_MONOLITHIC_0___WXLIB_NET_p = \
a1bf307a 111 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
112@COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p)
113COND_MONOLITHIC_0___WXLIB_BASE_p = \
a1bf307a 114 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216 115@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
e9877ed3 116COND_MONOLITHIC_1___WXLIB_MONO_p = \
a1bf307a 117 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
e9877ed3 118@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
b17c1746
DE
119@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
120@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
ceec2216 121@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
122@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
123@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
ceec2216 124@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
125@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
126@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
ceec2216 127@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 128@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
ceec2216 129@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 130@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
7714864e 131@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
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)
b17c1746 135@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
ceec2216 136@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
cbd63f42
VS
137
138### Targets: ###
139
b328fad3 140all: client$(EXEEXT) $(__client_bundle___depname) server$(EXEEXT) $(__server_bundle___depname)
cbd63f42 141
b17c1746
DE
142install: all
143
144uninstall:
145
146install-strip: install
147
fcf61db4 148clean:
ab892b95 149 rm -rf ./.deps ./.pch
e9877ed3 150 rm -f ./*.o
b328fad3 151 rm -f client$(EXEEXT)
ab892b95 152 rm -rf client.app
b328fad3 153 rm -f server$(EXEEXT)
ab892b95 154 rm -rf server.app
250700e4 155
b17c1746
DE
156distclean: clean
157 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
158
b328fad3 159client$(EXEEXT): $(CLIENT_OBJECTS) $(__client___win32rc)
ec08d395 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)
250700e4
RD
161 $(__client___mac_rezcmd)
162 $(__client___mac_setfilecmd)
ec08d395 163 $(__client___os2_emxbindcmd)
ab892b95
VS
164 $(SAMPLES_RPATH_POSTLINK)
165
7714864e 166client.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
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/" \
75a0a7b7 174 -e "s/VERSION/$(WX_VERSION)/" \
0b0efa9a 175 $(top_srcdir)/src/mac/carbon/Info.plist.in >client.app/Contents/Info.plist
ab892b95
VS
176
177
178 echo -n "APPL????" >client.app/Contents/PkgInfo
179
180
b328fad3 181 ln -f client$(EXEEXT) client.app/Contents/MacOS/client
ab892b95
VS
182
183
7714864e 184 cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.rsrc client.app/Contents/Resources/client.rsrc
c4839ccf 185 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns client.app/Contents/Resources/wxmac.icns
ab892b95 186
c4839ccf 187@COND_PLATFORM_MACOSX_1@client_bundle: $(____client_BUNDLE_TGT_REF_DEP)
250700e4 188
b328fad3 189server$(EXEEXT): $(SERVER_OBJECTS) $(__server___win32rc)
ec08d395 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)
250700e4
RD
191 $(__server___mac_rezcmd)
192 $(__server___mac_setfilecmd)
ec08d395 193 $(__server___os2_emxbindcmd)
ab892b95
VS
194 $(SAMPLES_RPATH_POSTLINK)
195
7714864e 196server.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
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/" \
75a0a7b7 204 -e "s/VERSION/$(WX_VERSION)/" \
0b0efa9a 205 $(top_srcdir)/src/mac/carbon/Info.plist.in >server.app/Contents/Info.plist
ab892b95
VS
206
207
208 echo -n "APPL????" >server.app/Contents/PkgInfo
209
210
b328fad3 211 ln -f server$(EXEEXT) server.app/Contents/MacOS/server
ab892b95
VS
212
213
7714864e 214 cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.rsrc server.app/Contents/Resources/server.rsrc
c4839ccf 215 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns server.app/Contents/Resources/wxmac.icns
ab892b95 216
c4839ccf 217@COND_PLATFORM_MACOSX_1@server_bundle: $(____server_BUNDLE_TGT_REF_DEP)
cbd63f42 218
b17c1746
DE
219client_client.o: $(srcdir)/client.cpp
220 $(CXXC) -c -o $@ $(CLIENT_CXXFLAGS) $<
221
222client_client_rc.o: $(srcdir)/client.rc
c3255f5f 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
b17c1746 224
250700e4 225server_server.o: $(srcdir)/server.cpp
b328fad3 226 $(CXXC) -c -o $@ $(SERVER_CXXFLAGS) $<
3af038c0 227
250700e4 228server_server_rc.o: $(srcdir)/server.rc
c3255f5f 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
cbd63f42
VS
230
231
232# Include dependency info, if present:
49b0a3aa 233@IF_GNU_MAKE@-include .deps/*.d
cbd63f42 234
b17c1746 235.PHONY: all install uninstall clean distclean client_bundle server_bundle