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