]> git.saurik.com Git - wxWidgets.git/blob - samples/ipc/Makefile.in
Clear -> ClearBackground
[wxWidgets.git] / samples / ipc / 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 RESCOMP = @RESCOMP@
23 SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
24 SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
25 SETFILE = @SETFILE@
26 TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
27 TOOLKIT = @TOOLKIT@
28 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
29 TOOLKIT_VERSION = @TOOLKIT_VERSION@
30 srcdir = @srcdir@
31 top_builddir = @top_builddir@
32 top_srcdir = @top_srcdir@
33
34 ### Variables: ###
35
36 CLIENT_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
37 -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) \
38 $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) \
39 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXFLAGS)
40 CLIENT_OBJECTS = \
41 $(__client___win32rc) \
42 client_client.o
43 LIBDIRNAME = $(top_builddir)lib
44 SERVER_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
45 -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) \
46 $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) \
47 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXFLAGS)
48 SERVER_OBJECTS = \
49 $(__server___win32rc) \
50 server_server.o
51
52 ### Conditionally set variables: ###
53
54 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
55 @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
56 @COND_USE_GUI_0@PORTNAME = base
57 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
58 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
59 @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
60 @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
61 @COND_UNICODE_1@WXUNICODEFLAG = u
62 @COND_WXUNIV_1@WXUNIVNAME = univ
63 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
64 @COND_SHARED_1@__DLLFLAG_p_0 = --define WXUSINGDLL
65 @COND_SHARED_1@__DLLFLAG_p_6 = -d WXUSINGDLL
66 @COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p = -I$(top_srcdir)/src/expat/lib
67 @COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p_0 = \
68 @COND_WXUSE_EXPAT_BUILTIN@ --include-dir $(top_srcdir)/src/expat/lib
69 @COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p_6 = -i $(top_srcdir)/src/expat/lib
70 @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p = -I$(top_srcdir)/src/jpeg
71 @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p_0 = \
72 @COND_WXUSE_LIBJPEG_BUILTIN@ --include-dir $(top_srcdir)/src/jpeg
73 @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p_6 = -i $(top_srcdir)/src/jpeg
74 @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p = -I$(top_srcdir)/src/odbc
75 @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p_0 = -i $(top_srcdir)/src/odbc
76 @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p_6 = \
77 @COND_WXUSE_ODBC_BUILTIN@ --include-dir $(top_srcdir)/src/odbc
78 @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p = -I$(top_srcdir)/src/png
79 @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p_0 = \
80 @COND_WXUSE_LIBPNG_BUILTIN@ --include-dir $(top_srcdir)/src/png
81 @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p_6 = -i $(top_srcdir)/src/png
82 @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p = -I$(top_srcdir)/src/regex
83 @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p_0 = -i $(top_srcdir)/src/regex
84 @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p_6 = \
85 @COND_WXUSE_REGEX_BUILTIN@ --include-dir $(top_srcdir)/src/regex
86 @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p = -I$(top_srcdir)/src/tiff
87 @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p_0 = -i $(top_srcdir)/src/tiff
88 @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p_6 = \
89 @COND_WXUSE_LIBTIFF_BUILTIN@ --include-dir $(top_srcdir)/src/tiff
90 @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p = -I$(top_srcdir)/src/zlib
91 @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p_0 = -i $(top_srcdir)/src/zlib
92 @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p_6 = \
93 @COND_WXUSE_ZLIB_BUILTIN@ --include-dir $(top_srcdir)/src/zlib
94 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
95 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
96 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
97 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
98 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
99 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
100 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
101 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
102 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
103 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
104 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
105 @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
106 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
107 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
108 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
109 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
110 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
111 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_2 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
112 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_0) -i $(top_srcdir)/include \
113 $(__INC_TIFF_p_0) $(__INC_JPEG_p_6) $(__INC_PNG_p_6) $(__INC_ZLIB_p_0) \
114 $(__INC_ODBC_p_0) $(__INC_REGEX_p_0) $(__INC_EXPAT_p_6) -i $(srcdir) \
115 $(__DLLFLAG_p_6) -i $(srcdir)/../../samples -o client$(EXEEXT) Carbon.r \
116 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
117 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_2 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_2)
118 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_3 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
119 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_0) -i $(top_srcdir)/include \
120 $(__INC_TIFF_p_0) $(__INC_JPEG_p_6) $(__INC_PNG_p_6) $(__INC_ZLIB_p_0) \
121 $(__INC_ODBC_p_0) $(__INC_REGEX_p_0) $(__INC_EXPAT_p_6) -i $(srcdir) \
122 $(__DLLFLAG_p_6) -i $(srcdir)/../../samples -o server$(EXEEXT) Carbon.r \
123 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
124 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_3 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_3)
125 @COND_MONOLITHIC_0@__WXLIB_BASE_p = \
126 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
127 COND_MONOLITHIC_0___WXLIB_CORE_p = \
128 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
129 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
130 COND_MONOLITHIC_1___WXLIB_MONO_p = \
131 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
132 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
133 @COND_MONOLITHIC_0@__WXLIB_NET_p = \
134 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_net-2.5$(HOST_SUFFIX)
135 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
136 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_0 = -d __WXUNIVERSAL__
137 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_6 = --define __WXUNIVERSAL__
138 @COND_PLATFORM_MAC_1@__client___mac_rezcmd = $(__MACOSX_RESOURCES_p_2)
139 @COND_PLATFORM_MAC_1@__client___mac_setfilecmd = \
140 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C client$(EXEEXT)
141 @COND_PLATFORM_WIN32_1@__client___win32rc = client_sample_rc.o
142 @COND_PLATFORM_MACOSX_1@__client_bundle___depname = client_bundle
143 @COND_PLATFORM_MAC_1@__server___mac_rezcmd = $(__MACOSX_RESOURCES_p_3)
144 @COND_PLATFORM_MAC_1@__server___mac_setfilecmd = \
145 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C server$(EXEEXT)
146 @COND_PLATFORM_WIN32_1@__server___win32rc = server_sample_rc.o
147 @COND_PLATFORM_MACOSX_1@__server_bundle___depname = server_bundle
148
149 ### Targets: ###
150
151 all: client$(EXEEXT) $(__client_bundle___depname) server$(EXEEXT) $(__server_bundle___depname)
152
153 clean:
154 rm -rf ./.deps ./.pch
155 rm -f ./*.o
156 rm -f client$(EXEEXT)
157 rm -rf client.app
158 rm -f server$(EXEEXT)
159 rm -rf server.app
160
161 client$(EXEEXT): $(CLIENT_OBJECTS) $(__client___win32rc)
162 $(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)
163 $(__client___mac_rezcmd)
164 $(__client___mac_setfilecmd)
165 $(SAMPLES_RPATH_POSTLINK)
166
167 client.app/Contents: client$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/wxmac.icns
168 mkdir -p client.app/Contents
169 mkdir -p client.app/Contents/MacOS
170 mkdir -p client.app/Contents/Resources
171
172
173 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
174 -e "s/EXECUTABLE/client/" \
175 -e "s/VERSION/2.5.0/" \
176 $(top_srcdir)/src/mac/Info.plist.in >client.app/Contents/Info.plist
177
178
179 echo -n "APPL????" >client.app/Contents/PkgInfo
180
181
182 ln -f client$(EXEEXT) client.app/Contents/MacOS/client
183
184
185 ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc client.app/Contents/Resources/client.rsrc
186 ln -f $(top_srcdir)/src/mac/wxmac.icns client.app/Contents/Resources/wxmac.icns
187
188 @COND_PLATFORM_MACOSX_1@client_bundle: client.app/Contents
189
190 client_client.o: $(srcdir)/client.cpp
191 $(CXXC) -c -o $@ $(CLIENT_CXXFLAGS) $<
192
193 client_sample_rc.o: $(srcdir)/../../samples/sample.rc
194 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_6) --include-dir $(top_srcdir)/include $(__INC_TIFF_p_6) $(__INC_JPEG_p_0) $(__INC_PNG_p_0) $(__INC_ZLIB_p_6) $(__INC_ODBC_p_6) $(__INC_REGEX_p_6) $(__INC_EXPAT_p_0) --include-dir $(srcdir) $(__DLLFLAG_p_0) --include-dir $(srcdir)/../../samples
195
196 distclean: clean
197 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
198
199 install: all
200
201 install-strip: install
202
203 server$(EXEEXT): $(SERVER_OBJECTS) $(__server___win32rc)
204 $(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)
205 $(__server___mac_rezcmd)
206 $(__server___mac_setfilecmd)
207 $(SAMPLES_RPATH_POSTLINK)
208
209 server.app/Contents: server$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/wxmac.icns
210 mkdir -p server.app/Contents
211 mkdir -p server.app/Contents/MacOS
212 mkdir -p server.app/Contents/Resources
213
214
215 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
216 -e "s/EXECUTABLE/server/" \
217 -e "s/VERSION/2.5.0/" \
218 $(top_srcdir)/src/mac/Info.plist.in >server.app/Contents/Info.plist
219
220
221 echo -n "APPL????" >server.app/Contents/PkgInfo
222
223
224 ln -f server$(EXEEXT) server.app/Contents/MacOS/server
225
226
227 ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc server.app/Contents/Resources/server.rsrc
228 ln -f $(top_srcdir)/src/mac/wxmac.icns server.app/Contents/Resources/wxmac.icns
229
230 @COND_PLATFORM_MACOSX_1@server_bundle: server.app/Contents
231
232 server_sample_rc.o: $(srcdir)/../../samples/sample.rc
233 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_6) --include-dir $(top_srcdir)/include $(__INC_TIFF_p_6) $(__INC_JPEG_p_0) $(__INC_PNG_p_0) $(__INC_ZLIB_p_6) $(__INC_ODBC_p_6) $(__INC_REGEX_p_6) $(__INC_EXPAT_p_0) --include-dir $(srcdir) $(__DLLFLAG_p_0) --include-dir $(srcdir)/../../samples
234
235 server_server.o: $(srcdir)/server.cpp
236 $(CXXC) -c -o $@ $(SERVER_CXXFLAGS) $<
237
238 uninstall:
239
240
241 # Include dependency info, if present:
242 @IF_GNU_MAKE@-include .deps/*.d
243
244 .PHONY: all clean client_bundle distclean install server_bundle uninstall