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