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