]>
Commit | Line | Data |
---|---|---|
cbd63f42 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
6e0fbb3d | 3 | # Bakefile 0.2.3 (http://www.bakefile.org) |
cbd63f42 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
7 | ||
8 | @MAKE_SET@ | |
9 | ||
3af038c0 VS |
10 | prefix = @prefix@ |
11 | exec_prefix = @exec_prefix@ | |
6e0fbb3d | 12 | datarootdir = @datarootdir@ |
b1169abb | 13 | INSTALL = @INSTALL@ |
b17c1746 | 14 | EXEEXT = @EXEEXT@ |
8ced02f6 DE |
15 | WINDRES = @WINDRES@ |
16 | REZ = @REZ@ | |
b17c1746 DE |
17 | SETFILE = @SETFILE@ |
18 | NM = @NM@ | |
69199aad | 19 | BK_DEPS = @BK_DEPS@ |
b17c1746 DE |
20 | srcdir = @srcdir@ |
21 | top_srcdir = @top_srcdir@ | |
69199aad | 22 | LIBS = @LIBS@ |
b17c1746 | 23 | LDFLAGS_GUI = @LDFLAGS_GUI@ |
3af038c0 | 24 | CXX = @CXX@ |
cbd63f42 | 25 | CXXFLAGS = @CXXFLAGS@ |
b17c1746 DE |
26 | CPPFLAGS = @CPPFLAGS@ |
27 | LDFLAGS = @LDFLAGS@ | |
589e20d0 | 28 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ |
b17c1746 DE |
29 | TOOLKIT = @TOOLKIT@ |
30 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
31 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
8ced02f6 | 32 | TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@ |
cbd63f42 | 33 | EXTRALIBS = @EXTRALIBS@ |
6c974d0b | 34 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ |
444833b3 | 35 | CXXWARNINGS = @CXXWARNINGS@ |
250700e4 | 36 | HOST_SUFFIX = @HOST_SUFFIX@ |
3af038c0 | 37 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ |
ab892b95 | 38 | SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@ |
69199aad | 39 | wx_top_builddir = @wx_top_builddir@ |
cbd63f42 | 40 | |
fcf61db4 VS |
41 | ### Variables: ### |
42 | ||
b17c1746 | 43 | DESTDIR = |
ae4ccf12 | 44 | WX_RELEASE = 2.9 |
25bb1412 | 45 | WX_VERSION = $(WX_RELEASE).0 |
69199aad | 46 | LIBDIRNAME = $(wx_top_builddir)/lib |
7dc467c5 | 47 | IPCCLIENT_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
8c9f8f91 | 48 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ |
444833b3 CE |
49 | -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \ |
50 | $(CPPFLAGS) $(CXXFLAGS) | |
7dc467c5 VZ |
51 | IPCCLIENT_OBJECTS = \ |
52 | $(__ipcclient___win32rc) \ | |
53 | $(__ipc) \ | |
54 | ipcclient_client.o | |
55 | IPCSERVER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ | |
8c9f8f91 | 56 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ |
444833b3 CE |
57 | -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \ |
58 | $(CPPFLAGS) $(CXXFLAGS) | |
7dc467c5 VZ |
59 | IPCSERVER_OBJECTS = \ |
60 | $(__ipcserver___win32rc) \ | |
61 | $(__ipc) \ | |
62 | ipcserver_server.o | |
ebe887ed VZ |
63 | BASEIPCCLIENT_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
64 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
65 | -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CXXWARNINGS) $(CPPFLAGS) \ | |
66 | $(CXXFLAGS) | |
67 | BASEIPCCLIENT_OBJECTS = \ | |
68 | baseipcclient_baseclient.o | |
69 | BASEIPCSERVER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ | |
70 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
71 | -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CXXWARNINGS) $(CPPFLAGS) \ | |
72 | $(CXXFLAGS) | |
73 | BASEIPCSERVER_OBJECTS = \ | |
74 | baseipcserver_baseserver.o | |
fcf61db4 | 75 | |
cbd63f42 VS |
76 | ### Conditionally set variables: ### |
77 | ||
b328fad3 | 78 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
69199aad | 79 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) |
3af038c0 VS |
80 | @COND_USE_GUI_0@PORTNAME = base |
81 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
b1169abb | 82 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon |
076f10e0 VS |
83 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d |
84 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
3af038c0 | 85 | @COND_UNICODE_1@WXUNICODEFLAG = u |
fcf61db4 | 86 | @COND_WXUNIV_1@WXUNIVNAME = univ |
0e3165d7 DE |
87 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) |
88 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) | |
89 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI) | |
90 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI = | |
ebe887ed | 91 | @COND_USE_GUI_1@__ipcclient___depname = ipcclient$(EXEEXT) |
6e0fbb3d | 92 | @COND_PLATFORM_MAC_0@__ipcclient___mac_setfilecmd = @true |
7dc467c5 VZ |
93 | @COND_PLATFORM_MAC_1@__ipcclient___mac_setfilecmd = \ |
94 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C ipcclient$(EXEEXT) | |
95 | @COND_PLATFORM_MAC_1@__ipcclient___mac_rezcmd = $(__MACOSX_RESOURCES_p_2) | |
96 | COND_PLATFORM_OS2_1___ipcclient___os2_emxbindcmd = $(NM) ipcclient$(EXEEXT) | \ | |
97 | if grep -q pmwin.763 ; then emxbind -ep ipcclient$(EXEEXT) ; fi | |
98 | @COND_PLATFORM_OS2_1@__ipcclient___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___ipcclient___os2_emxbindcmd) | |
99 | @COND_PLATFORM_WIN32_1@__ipcclient___win32rc = ipcclient_sample_rc.o | |
100 | @COND_PLATFORM_MACOSX_1@__ipcclient_bundle___depname = ipcclient_bundle | |
101 | @COND_TOOLKIT_COCOA@____ipcclient_BUNDLE_TGT_REF_DEP = \ | |
102 | @COND_TOOLKIT_COCOA@ ipcclient.app/Contents/PkgInfo | |
103 | @COND_TOOLKIT_MAC@____ipcclient_BUNDLE_TGT_REF_DEP = \ | |
104 | @COND_TOOLKIT_MAC@ ipcclient.app/Contents/PkgInfo | |
ebe887ed | 105 | @COND_USE_GUI_1@__ipcserver___depname = ipcserver$(EXEEXT) |
6e0fbb3d | 106 | @COND_PLATFORM_MAC_0@__ipcserver___mac_setfilecmd = @true |
7dc467c5 VZ |
107 | @COND_PLATFORM_MAC_1@__ipcserver___mac_setfilecmd = \ |
108 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C ipcserver$(EXEEXT) | |
109 | @COND_PLATFORM_MAC_1@__ipcserver___mac_rezcmd = $(__MACOSX_RESOURCES_p_3) | |
110 | COND_PLATFORM_OS2_1___ipcserver___os2_emxbindcmd = $(NM) ipcserver$(EXEEXT) | \ | |
111 | if grep -q pmwin.763 ; then emxbind -ep ipcserver$(EXEEXT) ; fi | |
112 | @COND_PLATFORM_OS2_1@__ipcserver___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___ipcserver___os2_emxbindcmd) | |
113 | @COND_PLATFORM_WIN32_1@__ipcserver___win32rc = ipcserver_sample_rc.o | |
114 | @COND_PLATFORM_MACOSX_1@__ipcserver_bundle___depname = ipcserver_bundle | |
115 | @COND_TOOLKIT_COCOA@____ipcserver_BUNDLE_TGT_REF_DEP = \ | |
116 | @COND_TOOLKIT_COCOA@ ipcserver.app/Contents/PkgInfo | |
117 | @COND_TOOLKIT_MAC@____ipcserver_BUNDLE_TGT_REF_DEP = \ | |
118 | @COND_TOOLKIT_MAC@ ipcserver.app/Contents/PkgInfo | |
ebe887ed VZ |
119 | @COND_PLATFORM_MAC_0@__baseipcclient___mac_setfilecmd = @true |
120 | @COND_PLATFORM_MAC_1@__baseipcclient___mac_setfilecmd \ | |
121 | @COND_PLATFORM_MAC_1@ = $(SETFILE) -t APPL baseipcclient$(EXEEXT) | |
122 | @COND_PLATFORM_MAC_0@__baseipcserver___mac_setfilecmd = @true | |
123 | @COND_PLATFORM_MAC_1@__baseipcserver___mac_setfilecmd \ | |
124 | @COND_PLATFORM_MAC_1@ = $(SETFILE) -t APPL baseipcserver$(EXEEXT) | |
8ced02f6 | 125 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_2 = $(REZ) -d __DARWIN__ -t APPL -d \ |
8c9f8f91 JS |
126 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) \ |
127 | $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) -i $(srcdir) $(__DLLFLAG_p_0) -i \ | |
8ced02f6 | 128 | $(srcdir)/../../samples $(__RCDEFDIR_p) -i $(top_srcdir)/include -o \ |
7dc467c5 | 129 | ipcclient$(EXEEXT) Carbon.r sample.r |
b17c1746 | 130 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_2 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_2) |
8ced02f6 | 131 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_3 = $(REZ) -d __DARWIN__ -t APPL -d \ |
8c9f8f91 JS |
132 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) \ |
133 | $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) -i $(srcdir) $(__DLLFLAG_p_0) -i \ | |
8ced02f6 | 134 | $(srcdir)/../../samples $(__RCDEFDIR_p) -i $(top_srcdir)/include -o \ |
7dc467c5 | 135 | ipcserver$(EXEEXT) Carbon.r sample.r |
b17c1746 | 136 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_3 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_3) |
b17c1746 | 137 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_0 = -d __WXUNIVERSAL__ |
ebe887ed | 138 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_7 = --define __WXUNIVERSAL__ |
8c9f8f91 | 139 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_0 = -d wxNO_EXCEPTIONS |
ebe887ed | 140 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_7 = --define wxNO_EXCEPTIONS |
8c9f8f91 | 141 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_0 = -d wxNO_RTTI |
ebe887ed | 142 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_7 = --define wxNO_RTTI |
8c9f8f91 | 143 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_0 = -d wxNO_THREADS |
ebe887ed | 144 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_7 = --define wxNO_THREADS |
b17c1746 | 145 | @COND_SHARED_1@__DLLFLAG_p_0 = -d WXUSINGDLL |
ebe887ed | 146 | @COND_SHARED_1@__DLLFLAG_p_7 = --define WXUSINGDLL |
8ced02f6 DE |
147 | @COND_TOOLKIT_MSW@__RCDEFDIR_p = -i \ |
148 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) | |
149 | @COND_TOOLKIT_MSW@__RCDEFDIR_p_0 = --include-dir \ | |
150 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) | |
7dc467c5 | 151 | @COND_PLATFORM_OS2_1@__ipc = $(top_srcdir)/include/wx/os2/wx.res |
b17c1746 | 152 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ |
a1bf307a | 153 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 | 154 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) |
b17c1746 DE |
155 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ |
156 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
ceec2216 | 157 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
158 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ |
159 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
ceec2216 | 160 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
161 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ |
162 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
ceec2216 | 163 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ebe887ed VZ |
164 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ |
165 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
166 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
167 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
168 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
169 | COND_MONOLITHIC_0___WXLIB_NET_p = \ | |
170 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX) | |
171 | @COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p) | |
172 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ | |
173 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
174 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) | |
175 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
176 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
177 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
b17c1746 | 178 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
ceec2216 | 179 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 RL |
180 | COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \ |
181 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
182 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p) | |
b17c1746 | 183 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ |
ceec2216 | 184 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
cbd63f42 VS |
185 | |
186 | ### Targets: ### | |
187 | ||
ebe887ed | 188 | all: $(__ipcclient___depname) $(__ipcclient_bundle___depname) $(__ipcserver___depname) $(__ipcserver_bundle___depname) baseipcclient$(EXEEXT) baseipcserver$(EXEEXT) |
cbd63f42 | 189 | |
b17c1746 DE |
190 | install: all |
191 | ||
192 | uninstall: | |
193 | ||
194 | install-strip: install | |
195 | ||
cbd63f42 | 196 | clean: |
ab892b95 | 197 | rm -rf ./.deps ./.pch |
076f10e0 | 198 | rm -f ./*.o |
7dc467c5 VZ |
199 | rm -f ipcclient$(EXEEXT) |
200 | rm -rf ipcclient.app | |
201 | rm -f ipcserver$(EXEEXT) | |
202 | rm -rf ipcserver.app | |
ebe887ed VZ |
203 | rm -f baseipcclient$(EXEEXT) |
204 | rm -f baseipcserver$(EXEEXT) | |
d179e30b | 205 | |
b17c1746 | 206 | distclean: clean |
b14abf14 | 207 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile |
b17c1746 | 208 | |
ebe887ed VZ |
209 | @COND_USE_GUI_1@ipcclient$(EXEEXT): $(IPCCLIENT_OBJECTS) $(__ipcclient___win32rc) |
210 | @COND_USE_GUI_1@ $(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) | |
211 | @COND_USE_GUI_1@ $(__ipcclient___mac_rezcmd) | |
212 | @COND_USE_GUI_1@ $(__ipcclient___mac_setfilecmd) | |
213 | @COND_USE_GUI_1@ $(__ipcclient___os2_emxbindcmd) | |
214 | @COND_USE_GUI_1@ $(SAMPLES_RPATH_POSTLINK) | |
ab892b95 | 215 | |
ebe887ed | 216 | ipcclient.app/Contents/PkgInfo: $(__ipcclient___depname) $(top_srcdir)/src/mac/carbon/Info.plist.in $(top_srcdir)/src/mac/carbon/wxmac.icns |
7dc467c5 VZ |
217 | mkdir -p ipcclient.app/Contents |
218 | mkdir -p ipcclient.app/Contents/MacOS | |
219 | mkdir -p ipcclient.app/Contents/Resources | |
ab892b95 VS |
220 | |
221 | ||
222 | sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
7dc467c5 | 223 | -e "s/EXECUTABLE/ipcclient/" \ |
75a0a7b7 | 224 | -e "s/VERSION/$(WX_VERSION)/" \ |
7dc467c5 | 225 | $(top_srcdir)/src/mac/carbon/Info.plist.in >ipcclient.app/Contents/Info.plist |
ab892b95 VS |
226 | |
227 | ||
7dc467c5 | 228 | echo -n "APPL????" >ipcclient.app/Contents/PkgInfo |
ab892b95 VS |
229 | |
230 | ||
7dc467c5 | 231 | ln -f ipcclient$(EXEEXT) ipcclient.app/Contents/MacOS/ipcclient |
ab892b95 VS |
232 | |
233 | ||
7dc467c5 | 234 | cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns ipcclient.app/Contents/Resources/wxmac.icns |
ab892b95 | 235 | |
7dc467c5 | 236 | @COND_PLATFORM_MACOSX_1@ipcclient_bundle: $(____ipcclient_BUNDLE_TGT_REF_DEP) |
d179e30b | 237 | |
ebe887ed VZ |
238 | @COND_USE_GUI_1@ipcserver$(EXEEXT): $(IPCSERVER_OBJECTS) $(__ipcserver___win32rc) |
239 | @COND_USE_GUI_1@ $(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) | |
240 | @COND_USE_GUI_1@ $(__ipcserver___mac_rezcmd) | |
241 | @COND_USE_GUI_1@ $(__ipcserver___mac_setfilecmd) | |
242 | @COND_USE_GUI_1@ $(__ipcserver___os2_emxbindcmd) | |
243 | @COND_USE_GUI_1@ $(SAMPLES_RPATH_POSTLINK) | |
ab892b95 | 244 | |
ebe887ed | 245 | ipcserver.app/Contents/PkgInfo: $(__ipcserver___depname) $(top_srcdir)/src/mac/carbon/Info.plist.in $(top_srcdir)/src/mac/carbon/wxmac.icns |
7dc467c5 VZ |
246 | mkdir -p ipcserver.app/Contents |
247 | mkdir -p ipcserver.app/Contents/MacOS | |
248 | mkdir -p ipcserver.app/Contents/Resources | |
ab892b95 VS |
249 | |
250 | ||
251 | sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
7dc467c5 | 252 | -e "s/EXECUTABLE/ipcserver/" \ |
75a0a7b7 | 253 | -e "s/VERSION/$(WX_VERSION)/" \ |
7dc467c5 | 254 | $(top_srcdir)/src/mac/carbon/Info.plist.in >ipcserver.app/Contents/Info.plist |
ab892b95 VS |
255 | |
256 | ||
7dc467c5 | 257 | echo -n "APPL????" >ipcserver.app/Contents/PkgInfo |
ab892b95 VS |
258 | |
259 | ||
7dc467c5 | 260 | ln -f ipcserver$(EXEEXT) ipcserver.app/Contents/MacOS/ipcserver |
ab892b95 VS |
261 | |
262 | ||
7dc467c5 | 263 | cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns ipcserver.app/Contents/Resources/wxmac.icns |
ab892b95 | 264 | |
7dc467c5 | 265 | @COND_PLATFORM_MACOSX_1@ipcserver_bundle: $(____ipcserver_BUNDLE_TGT_REF_DEP) |
cbd63f42 | 266 | |
ebe887ed VZ |
267 | baseipcclient$(EXEEXT): $(BASEIPCCLIENT_OBJECTS) |
268 | $(CXX) -o $@ $(BASEIPCCLIENT_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(LIBS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) | |
269 | ||
270 | $(__baseipcclient___mac_setfilecmd) | |
271 | $(SAMPLES_RPATH_POSTLINK) | |
272 | ||
273 | baseipcserver$(EXEEXT): $(BASEIPCSERVER_OBJECTS) | |
274 | $(CXX) -o $@ $(BASEIPCSERVER_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(LIBS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) | |
275 | ||
276 | $(__baseipcserver___mac_setfilecmd) | |
277 | $(SAMPLES_RPATH_POSTLINK) | |
278 | ||
7dc467c5 | 279 | ipcclient_sample_rc.o: $(srcdir)/../../samples/sample.rc |
ebe887ed | 280 | $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_7) $(__EXCEPTIONS_DEFINE_p_7) $(__RTTI_DEFINE_p_7) $(__THREAD_DEFINE_p_7) --include-dir $(srcdir) $(__DLLFLAG_p_7) --include-dir $(srcdir)/../../samples $(__RCDEFDIR_p_0) --include-dir $(top_srcdir)/include |
b17c1746 | 281 | |
7dc467c5 VZ |
282 | ipcclient_client.o: $(srcdir)/client.cpp |
283 | $(CXXC) -c -o $@ $(IPCCLIENT_CXXFLAGS) $(srcdir)/client.cpp | |
b17c1746 | 284 | |
7dc467c5 | 285 | ipcserver_sample_rc.o: $(srcdir)/../../samples/sample.rc |
ebe887ed | 286 | $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_7) $(__EXCEPTIONS_DEFINE_p_7) $(__RTTI_DEFINE_p_7) $(__THREAD_DEFINE_p_7) --include-dir $(srcdir) $(__DLLFLAG_p_7) --include-dir $(srcdir)/../../samples $(__RCDEFDIR_p_0) --include-dir $(top_srcdir)/include |
cbd63f42 | 287 | |
7dc467c5 VZ |
288 | ipcserver_server.o: $(srcdir)/server.cpp |
289 | $(CXXC) -c -o $@ $(IPCSERVER_CXXFLAGS) $(srcdir)/server.cpp | |
cbd63f42 | 290 | |
ebe887ed VZ |
291 | baseipcclient_baseclient.o: $(srcdir)/baseclient.cpp |
292 | $(CXXC) -c -o $@ $(BASEIPCCLIENT_CXXFLAGS) $(srcdir)/baseclient.cpp | |
293 | ||
294 | baseipcserver_baseserver.o: $(srcdir)/baseserver.cpp | |
295 | $(CXXC) -c -o $@ $(BASEIPCSERVER_CXXFLAGS) $(srcdir)/baseserver.cpp | |
296 | ||
cbd63f42 VS |
297 | |
298 | # Include dependency info, if present: | |
49b0a3aa | 299 | @IF_GNU_MAKE@-include .deps/*.d |
cbd63f42 | 300 | |
7dc467c5 | 301 | .PHONY: all install uninstall clean distclean ipcclient_bundle ipcserver_bundle |