]> git.saurik.com Git - wxWidgets.git/blob - samples/sockets/Makefile.in
reversed order of configurations to make the IDE happy about the default one
[wxWidgets.git] / samples / sockets / Makefile.in
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.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 CPPFLAGS = @CPPFLAGS@
14 CXX = @CXX@
15 CXXFLAGS = @CXXFLAGS@
16 EXEEXT = @EXEEXT@
17 EXTRALIBS = @EXTRALIBS@
18 EXTRALIBS_GUI = @EXTRALIBS_GUI@
19 HOST_SUFFIX = @HOST_SUFFIX@
20 LDFLAGS = @LDFLAGS@
21 LDFLAGS_GUI = @LDFLAGS_GUI@
22 NM = @NM@
23 RESCOMP = @RESCOMP@
24 SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
25 SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
26 SETFILE = @SETFILE@
27 TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
28 TOOLKIT = @TOOLKIT@
29 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
30 TOOLKIT_VERSION = @TOOLKIT_VERSION@
31 srcdir = @srcdir@
32 top_builddir = @top_builddir@
33 top_srcdir = @top_srcdir@
34
35 ### Variables: ###
36
37 CLIENT_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
38 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
39 -I$(srcdir)/../../samples $(CXXFLAGS)
40 CLIENT_OBJECTS = \
41 client_client.o \
42 $(__client___win32rc)
43 DESTDIR =
44 LIBDIRNAME = $(top_builddir)lib
45 SERVER_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
46 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
47 -I$(srcdir)/../../samples $(CXXFLAGS)
48 SERVER_OBJECTS = \
49 server_server.o \
50 $(__server___win32rc)
51 WX_VERSION = 2.5.1
52
53 ### Conditionally set variables: ###
54
55 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
56 @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
57 @COND_USE_GUI_0@PORTNAME = base
58 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
59 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
60 @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
61 @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
62 @COND_UNICODE_1@WXUNICODEFLAG = u
63 @COND_WXUNIV_1@WXUNIVNAME = univ
64 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
65 @COND_SHARED_1@__DLLFLAG_p_0 = --define WXUSINGDLL
66 @COND_SHARED_1@__DLLFLAG_p_6 = -d WXUSINGDLL
67 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
68 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
69 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
70 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
71 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
72 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
73 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
74 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
75 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
76 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
77 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
78 @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
79 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
80 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
81 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
82 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
83 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
84 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_2 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
85 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_0) -i $(top_srcdir)/include -i $(srcdir) \
86 $(__DLLFLAG_p_6) -i $(srcdir)/../../samples -o client$(EXEEXT) Carbon.r \
87 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r
88 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_2 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_2)
89 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_3 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
90 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_0) -i $(top_srcdir)/include -i $(srcdir) \
91 $(__DLLFLAG_p_6) -i $(srcdir)/../../samples -o server$(EXEEXT) Carbon.r \
92 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r
93 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_3 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_3)
94 @COND_MONOLITHIC_0@__WXLIB_BASE_p = \
95 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
96 COND_MONOLITHIC_0___WXLIB_CORE_p = \
97 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
98 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
99 COND_MONOLITHIC_1___WXLIB_MONO_p = \
100 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
101 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
102 @COND_MONOLITHIC_0@__WXLIB_NET_p = \
103 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_net-2.5$(HOST_SUFFIX)
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_PLATFORM_MAC_1@__client___mac_rezcmd = $(__MACOSX_RESOURCES_p_2)
108 @COND_PLATFORM_MAC_1@__client___mac_setfilecmd = \
109 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C client$(EXEEXT)
110 COND_PLATFORM_OS2_1___client___os2_emxbindcmd = $(NM) client$(EXEEXT) | if grep \
111 -q pmwin.763 ; then emxbind -ep client$(EXEEXT) ; fi
112 @COND_PLATFORM_OS2_1@__client___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___client___os2_emxbindcmd)
113 @COND_PLATFORM_WIN32_1@__client___win32rc = client_client_rc.o
114 @COND_PLATFORM_MACOSX_1@__client_bundle___depname = client_bundle
115 @COND_PLATFORM_MAC_1@__server___mac_rezcmd = $(__MACOSX_RESOURCES_p_3)
116 @COND_PLATFORM_MAC_1@__server___mac_setfilecmd = \
117 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C server$(EXEEXT)
118 COND_PLATFORM_OS2_1___server___os2_emxbindcmd = $(NM) server$(EXEEXT) | if grep \
119 -q pmwin.763 ; then emxbind -ep server$(EXEEXT) ; fi
120 @COND_PLATFORM_OS2_1@__server___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___server___os2_emxbindcmd)
121 @COND_PLATFORM_WIN32_1@__server___win32rc = server_server_rc.o
122 @COND_PLATFORM_MACOSX_1@__server_bundle___depname = server_bundle
123
124 ### Targets: ###
125
126 all: client$(EXEEXT) $(__client_bundle___depname) server$(EXEEXT) $(__server_bundle___depname)
127
128 clean:
129 rm -rf ./.deps ./.pch
130 rm -f ./*.o
131 rm -f client$(EXEEXT)
132 rm -rf client.app
133 rm -f server$(EXEEXT)
134 rm -rf server.app
135
136 client$(EXEEXT): $(CLIENT_OBJECTS) $(__client___win32rc)
137 $(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)
138 $(__client___mac_rezcmd)
139 $(__client___mac_setfilecmd)
140 $(__client___os2_emxbindcmd)
141 $(SAMPLES_RPATH_POSTLINK)
142
143 client.app/Contents/PkgInfo: client$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/wxmac.icns
144 mkdir -p client.app/Contents
145 mkdir -p client.app/Contents/MacOS
146 mkdir -p client.app/Contents/Resources
147
148
149 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
150 -e "s/EXECUTABLE/client/" \
151 -e "s/VERSION/$(WX_VERSION)/" \
152 $(top_srcdir)/src/mac/Info.plist.in >client.app/Contents/Info.plist
153
154
155 echo -n "APPL????" >client.app/Contents/PkgInfo
156
157
158 ln -f client$(EXEEXT) client.app/Contents/MacOS/client
159
160
161 ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc client.app/Contents/Resources/client.rsrc
162 ln -f $(top_srcdir)/src/mac/wxmac.icns client.app/Contents/Resources/wxmac.icns
163
164 @COND_PLATFORM_MACOSX_1@client_bundle: client.app/Contents/PkgInfo
165
166 client_client.o: $(srcdir)/client.cpp
167 $(CXXC) -c -o $@ $(CLIENT_CXXFLAGS) $<
168
169 client_client_rc.o: $(srcdir)/client.rc
170 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_6) --include-dir $(top_srcdir)/include --include-dir $(srcdir) $(__DLLFLAG_p_0) --include-dir $(srcdir)/../../samples
171
172 distclean: clean
173 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
174
175 install: all
176
177 install-strip: install
178
179 server$(EXEEXT): $(SERVER_OBJECTS) $(__server___win32rc)
180 $(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)
181 $(__server___mac_rezcmd)
182 $(__server___mac_setfilecmd)
183 $(__server___os2_emxbindcmd)
184 $(SAMPLES_RPATH_POSTLINK)
185
186 server.app/Contents/PkgInfo: server$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/wxmac.icns
187 mkdir -p server.app/Contents
188 mkdir -p server.app/Contents/MacOS
189 mkdir -p server.app/Contents/Resources
190
191
192 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
193 -e "s/EXECUTABLE/server/" \
194 -e "s/VERSION/$(WX_VERSION)/" \
195 $(top_srcdir)/src/mac/Info.plist.in >server.app/Contents/Info.plist
196
197
198 echo -n "APPL????" >server.app/Contents/PkgInfo
199
200
201 ln -f server$(EXEEXT) server.app/Contents/MacOS/server
202
203
204 ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc server.app/Contents/Resources/server.rsrc
205 ln -f $(top_srcdir)/src/mac/wxmac.icns server.app/Contents/Resources/wxmac.icns
206
207 @COND_PLATFORM_MACOSX_1@server_bundle: server.app/Contents/PkgInfo
208
209 server_server.o: $(srcdir)/server.cpp
210 $(CXXC) -c -o $@ $(SERVER_CXXFLAGS) $<
211
212 server_server_rc.o: $(srcdir)/server.rc
213 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_6) --include-dir $(top_srcdir)/include --include-dir $(srcdir) $(__DLLFLAG_p_0) --include-dir $(srcdir)/../../samples
214
215 uninstall:
216
217
218 # Include dependency info, if present:
219 @IF_GNU_MAKE@-include .deps/*.d
220
221 .PHONY: all clean client_bundle distclean install server_bundle uninstall