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