]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.2.9 (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 | 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_XML = @EXTRALIBS_XML@ | |
34 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
35 | CXXWARNINGS = @CXXWARNINGS@ | |
36 | HOST_SUFFIX = @HOST_SUFFIX@ | |
37 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ | |
38 | wx_top_builddir = @wx_top_builddir@ | |
39 | ||
40 | ### Variables: ### | |
41 | ||
42 | DESTDIR = | |
43 | WX_RELEASE = 2.9 | |
44 | WX_VERSION = $(WX_RELEASE).5 | |
45 | LIBDIRNAME = $(wx_top_builddir)/lib | |
46 | CLIENT_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_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 | CLIENT_OBJECTS = \ | |
51 | $(__client___win32rc) \ | |
52 | $(os2_lib_res) \ | |
53 | client_client.o | |
54 | SERVER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_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 | SERVER_OBJECTS = \ | |
59 | $(__server___win32rc) \ | |
60 | $(os2_lib_res) \ | |
61 | server_server.o | |
62 | BASECLIENT_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ | |
63 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
64 | $(__THREAD_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CXXWARNINGS) \ | |
65 | $(CPPFLAGS) $(CXXFLAGS) | |
66 | BASECLIENT_OBJECTS = \ | |
67 | baseclient_baseclient.o | |
68 | BASESERVER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ | |
69 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
70 | $(__THREAD_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CXXWARNINGS) \ | |
71 | $(CPPFLAGS) $(CXXFLAGS) | |
72 | BASESERVER_OBJECTS = \ | |
73 | baseserver_baseserver.o | |
74 | ||
75 | ### Conditionally set variables: ### | |
76 | ||
77 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) | |
78 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) | |
79 | @COND_USE_GUI_0@PORTNAME = base | |
80 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
81 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
82 | @COND_BUILD_debug@WXDEBUGFLAG = d | |
83 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
84 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
85 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) | |
86 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) \ | |
87 | @COND_MONOLITHIC_1@ $(EXTRALIBS_XML) $(EXTRALIBS_GUI) | |
88 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI) | |
89 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI = | |
90 | @COND_USE_GUI_1@__client___depname = client$(EXEEXT) | |
91 | @COND_PLATFORM_MAC_0@__client___mac_setfilecmd = @true | |
92 | @COND_PLATFORM_MAC_1@__client___mac_setfilecmd = \ | |
93 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL client$(EXEEXT) | |
94 | COND_PLATFORM_OS2_1___client___os2_emxbindcmd = $(NM) client$(EXEEXT) | if grep \ | |
95 | -q pmwin.763 ; then emxbind -ep client$(EXEEXT) ; fi | |
96 | @COND_PLATFORM_OS2_1@__client___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___client___os2_emxbindcmd) | |
97 | @COND_PLATFORM_WIN32_1@__client___win32rc = client_sample_rc.o | |
98 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@__client_app_Contents_PkgInfo___depname \ | |
99 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ = client.app/Contents/PkgInfo | |
100 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@__client_bundle___depname = client_bundle | |
101 | @COND_TOOLKIT_COCOA@____client_BUNDLE_TGT_REF_DEP = \ | |
102 | @COND_TOOLKIT_COCOA@ $(__client_app_Contents_PkgInfo___depname) | |
103 | @COND_TOOLKIT_MAC@____client_BUNDLE_TGT_REF_DEP = \ | |
104 | @COND_TOOLKIT_MAC@ $(__client_app_Contents_PkgInfo___depname) | |
105 | @COND_TOOLKIT_OSX_CARBON@____client_BUNDLE_TGT_REF_DEP \ | |
106 | @COND_TOOLKIT_OSX_CARBON@ = $(__client_app_Contents_PkgInfo___depname) | |
107 | @COND_TOOLKIT_OSX_COCOA@____client_BUNDLE_TGT_REF_DEP \ | |
108 | @COND_TOOLKIT_OSX_COCOA@ = $(__client_app_Contents_PkgInfo___depname) | |
109 | @COND_TOOLKIT_OSX_IPHONE@____client_BUNDLE_TGT_REF_DEP \ | |
110 | @COND_TOOLKIT_OSX_IPHONE@ = $(__client_app_Contents_PkgInfo___depname) | |
111 | @COND_USE_GUI_1@__server___depname = server$(EXEEXT) | |
112 | @COND_PLATFORM_MAC_0@__server___mac_setfilecmd = @true | |
113 | @COND_PLATFORM_MAC_1@__server___mac_setfilecmd = \ | |
114 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL server$(EXEEXT) | |
115 | COND_PLATFORM_OS2_1___server___os2_emxbindcmd = $(NM) server$(EXEEXT) | if grep \ | |
116 | -q pmwin.763 ; then emxbind -ep server$(EXEEXT) ; fi | |
117 | @COND_PLATFORM_OS2_1@__server___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___server___os2_emxbindcmd) | |
118 | @COND_PLATFORM_WIN32_1@__server___win32rc = server_sample_rc.o | |
119 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@__server_app_Contents_PkgInfo___depname \ | |
120 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ = server.app/Contents/PkgInfo | |
121 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@__server_bundle___depname = server_bundle | |
122 | @COND_TOOLKIT_COCOA@____server_BUNDLE_TGT_REF_DEP = \ | |
123 | @COND_TOOLKIT_COCOA@ $(__server_app_Contents_PkgInfo___depname) | |
124 | @COND_TOOLKIT_MAC@____server_BUNDLE_TGT_REF_DEP = \ | |
125 | @COND_TOOLKIT_MAC@ $(__server_app_Contents_PkgInfo___depname) | |
126 | @COND_TOOLKIT_OSX_CARBON@____server_BUNDLE_TGT_REF_DEP \ | |
127 | @COND_TOOLKIT_OSX_CARBON@ = $(__server_app_Contents_PkgInfo___depname) | |
128 | @COND_TOOLKIT_OSX_COCOA@____server_BUNDLE_TGT_REF_DEP \ | |
129 | @COND_TOOLKIT_OSX_COCOA@ = $(__server_app_Contents_PkgInfo___depname) | |
130 | @COND_TOOLKIT_OSX_IPHONE@____server_BUNDLE_TGT_REF_DEP \ | |
131 | @COND_TOOLKIT_OSX_IPHONE@ = $(__server_app_Contents_PkgInfo___depname) | |
132 | @COND_PLATFORM_MAC_0@__baseclient___mac_setfilecmd = @true | |
133 | @COND_PLATFORM_MAC_1@__baseclient___mac_setfilecmd = \ | |
134 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL baseclient$(EXEEXT) | |
135 | @COND_MONOLITHIC_1@__LIB_PNG_IF_MONO_p = $(__LIB_PNG_p) | |
136 | @COND_PLATFORM_MAC_0@__baseserver___mac_setfilecmd = @true | |
137 | @COND_PLATFORM_MAC_1@__baseserver___mac_setfilecmd = \ | |
138 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL baseserver$(EXEEXT) | |
139 | @COND_MONOLITHIC_1@__LIB_PNG_IF_MONO_p_1 = $(__LIB_PNG_p) | |
140 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_0 = --define __WXUNIVERSAL__ | |
141 | @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p_0 = --define wxDEBUG_LEVEL=0 | |
142 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_0 = --define wxNO_EXCEPTIONS | |
143 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_0 = --define wxNO_RTTI | |
144 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_0 = --define wxNO_THREADS | |
145 | @COND_SHARED_1@__DLLFLAG_p_0 = --define WXUSINGDLL | |
146 | @COND_TOOLKIT_MSW@__RCDEFDIR_p = --include-dir \ | |
147 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) | |
148 | @COND_PLATFORM_OS2_1@os2_lib_res = $(top_srcdir)/include/wx/os2/wx.res | |
149 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
150 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) | |
151 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) | |
152 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \ | |
153 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \ | |
154 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
155 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \ | |
156 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \ | |
157 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
158 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
159 | @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0 | |
160 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
161 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
162 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
163 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
164 | COND_MONOLITHIC_0___WXLIB_NET_p = \ | |
165 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX) | |
166 | @COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p) | |
167 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ | |
168 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
169 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) | |
170 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
171 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
172 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
173 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \ | |
174 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \ | |
175 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
176 | @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \ | |
177 | @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
178 | COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \ | |
179 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
180 | @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p) | |
181 | @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \ | |
182 | @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
183 | ||
184 | ### Targets: ### | |
185 | ||
186 | all: $(__client___depname) $(__client_bundle___depname) $(__server___depname) $(__server_bundle___depname) baseclient$(EXEEXT) baseserver$(EXEEXT) | |
187 | ||
188 | install: | |
189 | ||
190 | uninstall: | |
191 | ||
192 | install-strip: install | |
193 | ||
194 | clean: | |
195 | rm -rf ./.deps ./.pch | |
196 | rm -f ./*.o | |
197 | rm -f client$(EXEEXT) | |
198 | rm -rf client.app | |
199 | rm -f server$(EXEEXT) | |
200 | rm -rf server.app | |
201 | rm -f baseclient$(EXEEXT) | |
202 | rm -f baseserver$(EXEEXT) | |
203 | ||
204 | distclean: clean | |
205 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
206 | ||
207 | @COND_USE_GUI_1@client$(EXEEXT): $(CLIENT_OBJECTS) $(__client___win32rc) | |
208 | @COND_USE_GUI_1@ $(CXX) -o $@ $(CLIENT_OBJECTS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__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) $(LIBS) | |
209 | @COND_USE_GUI_1@ | |
210 | @COND_USE_GUI_1@ $(__client___mac_setfilecmd) | |
211 | @COND_USE_GUI_1@ $(__client___os2_emxbindcmd) | |
212 | ||
213 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@client.app/Contents/PkgInfo: $(__client___depname) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns | |
214 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p client.app/Contents | |
215 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p client.app/Contents/MacOS | |
216 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p client.app/Contents/Resources | |
217 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
218 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
219 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
220 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/EXECUTABLE/client/" \ | |
221 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/VERSION/$(WX_VERSION)/" \ | |
222 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >client.app/Contents/Info.plist | |
223 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
224 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
225 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ /bin/echo "APPL????" >client.app/Contents/PkgInfo | |
226 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
227 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
228 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ ln -f client$(EXEEXT) client.app/Contents/MacOS/client | |
229 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
230 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
231 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns client.app/Contents/Resources/wxmac.icns | |
232 | ||
233 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@client_bundle: $(____client_BUNDLE_TGT_REF_DEP) | |
234 | ||
235 | @COND_USE_GUI_1@server$(EXEEXT): $(SERVER_OBJECTS) $(__server___win32rc) | |
236 | @COND_USE_GUI_1@ $(CXX) -o $@ $(SERVER_OBJECTS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__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) $(LIBS) | |
237 | @COND_USE_GUI_1@ | |
238 | @COND_USE_GUI_1@ $(__server___mac_setfilecmd) | |
239 | @COND_USE_GUI_1@ $(__server___os2_emxbindcmd) | |
240 | ||
241 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@server.app/Contents/PkgInfo: $(__server___depname) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns | |
242 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p server.app/Contents | |
243 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p server.app/Contents/MacOS | |
244 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p server.app/Contents/Resources | |
245 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
246 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
247 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
248 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/EXECUTABLE/server/" \ | |
249 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/VERSION/$(WX_VERSION)/" \ | |
250 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >server.app/Contents/Info.plist | |
251 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
252 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
253 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ /bin/echo "APPL????" >server.app/Contents/PkgInfo | |
254 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
255 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
256 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ ln -f server$(EXEEXT) server.app/Contents/MacOS/server | |
257 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
258 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
259 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns server.app/Contents/Resources/wxmac.icns | |
260 | ||
261 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@server_bundle: $(____server_BUNDLE_TGT_REF_DEP) | |
262 | ||
263 | baseclient$(EXEEXT): $(BASECLIENT_OBJECTS) | |
264 | $(CXX) -o $@ $(BASECLIENT_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS) | |
265 | ||
266 | $(__baseclient___mac_setfilecmd) | |
267 | ||
268 | baseserver$(EXEEXT): $(BASESERVER_OBJECTS) | |
269 | $(CXX) -o $@ $(BASESERVER_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_p_1) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS) | |
270 | ||
271 | $(__baseserver___mac_setfilecmd) | |
272 | ||
273 | client_sample_rc.o: $(srcdir)/../../samples/sample.rc | |
274 | $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) --include-dir $(srcdir) $(__DLLFLAG_p_0) --include-dir $(srcdir)/../../samples $(__RCDEFDIR_p) --include-dir $(top_srcdir)/include | |
275 | ||
276 | client_client.o: $(srcdir)/client.cpp | |
277 | $(CXXC) -c -o $@ $(CLIENT_CXXFLAGS) $(srcdir)/client.cpp | |
278 | ||
279 | server_sample_rc.o: $(srcdir)/../../samples/sample.rc | |
280 | $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) --include-dir $(srcdir) $(__DLLFLAG_p_0) --include-dir $(srcdir)/../../samples $(__RCDEFDIR_p) --include-dir $(top_srcdir)/include | |
281 | ||
282 | server_server.o: $(srcdir)/server.cpp | |
283 | $(CXXC) -c -o $@ $(SERVER_CXXFLAGS) $(srcdir)/server.cpp | |
284 | ||
285 | baseclient_baseclient.o: $(srcdir)/baseclient.cpp | |
286 | $(CXXC) -c -o $@ $(BASECLIENT_CXXFLAGS) $(srcdir)/baseclient.cpp | |
287 | ||
288 | baseserver_baseserver.o: $(srcdir)/baseserver.cpp | |
289 | $(CXXC) -c -o $@ $(BASESERVER_CXXFLAGS) $(srcdir)/baseserver.cpp | |
290 | ||
291 | ||
292 | # Include dependency info, if present: | |
293 | @IF_GNU_MAKE@-include ./.deps/*.d | |
294 | ||
295 | .PHONY: all install uninstall clean distclean client_bundle server_bundle |