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