]>
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 |
8c9f8f91 JS |
47 | CLIENT_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
48 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
444833b3 CE |
49 | -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \ |
50 | $(CPPFLAGS) $(CXXFLAGS) | |
e9877ed3 | 51 | CLIENT_OBJECTS = \ |
a4ad36cd | 52 | $(os2_lib_res) \ |
e9877ed3 VS |
53 | client_client.o \ |
54 | $(__client___win32rc) | |
8c9f8f91 JS |
55 | SERVER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
56 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
444833b3 CE |
57 | -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \ |
58 | $(CPPFLAGS) $(CXXFLAGS) | |
e9877ed3 | 59 | SERVER_OBJECTS = \ |
a4ad36cd | 60 | $(os2_lib_res) \ |
e9877ed3 VS |
61 | server_server.o \ |
62 | $(__server___win32rc) | |
2804f77d VZ |
63 | BASECLIENT_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 | BASECLIENT_OBJECTS = \ | |
68 | baseclient_baseclient.o | |
69 | BASESERVER_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 | BASESERVER_OBJECTS = \ | |
74 | baseserver_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 |
25a73439 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 = | |
2804f77d | 91 | @COND_USE_GUI_1@__client___depname = client$(EXEEXT) |
6e0fbb3d | 92 | @COND_PLATFORM_MAC_0@__client___mac_setfilecmd = @true |
b17c1746 DE |
93 | @COND_PLATFORM_MAC_1@__client___mac_setfilecmd = \ |
94 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C client$(EXEEXT) | |
95 | @COND_PLATFORM_MAC_1@__client___mac_rezcmd = $(__MACOSX_RESOURCES_p_2) | |
96 | COND_PLATFORM_OS2_1___client___os2_emxbindcmd = $(NM) client$(EXEEXT) | if grep \ | |
97 | -q pmwin.763 ; then emxbind -ep client$(EXEEXT) ; fi | |
98 | @COND_PLATFORM_OS2_1@__client___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___client___os2_emxbindcmd) | |
99 | @COND_PLATFORM_MACOSX_1@__client_bundle___depname = client_bundle | |
c4839ccf JS |
100 | @COND_TOOLKIT_COCOA@____client_BUNDLE_TGT_REF_DEP = \ |
101 | @COND_TOOLKIT_COCOA@ client.app/Contents/PkgInfo | |
102 | @COND_TOOLKIT_MAC@____client_BUNDLE_TGT_REF_DEP = \ | |
103 | @COND_TOOLKIT_MAC@ client.app/Contents/PkgInfo | |
b17c1746 | 104 | @COND_PLATFORM_WIN32_1@__client___win32rc = client_client_rc.o |
2804f77d | 105 | @COND_USE_GUI_1@__server___depname = server$(EXEEXT) |
6e0fbb3d | 106 | @COND_PLATFORM_MAC_0@__server___mac_setfilecmd = @true |
b17c1746 DE |
107 | @COND_PLATFORM_MAC_1@__server___mac_setfilecmd = \ |
108 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C server$(EXEEXT) | |
109 | @COND_PLATFORM_MAC_1@__server___mac_rezcmd = $(__MACOSX_RESOURCES_p_3) | |
110 | COND_PLATFORM_OS2_1___server___os2_emxbindcmd = $(NM) server$(EXEEXT) | if grep \ | |
111 | -q pmwin.763 ; then emxbind -ep server$(EXEEXT) ; fi | |
112 | @COND_PLATFORM_OS2_1@__server___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___server___os2_emxbindcmd) | |
113 | @COND_PLATFORM_MACOSX_1@__server_bundle___depname = server_bundle | |
c4839ccf JS |
114 | @COND_TOOLKIT_COCOA@____server_BUNDLE_TGT_REF_DEP = \ |
115 | @COND_TOOLKIT_COCOA@ server.app/Contents/PkgInfo | |
116 | @COND_TOOLKIT_MAC@____server_BUNDLE_TGT_REF_DEP = \ | |
117 | @COND_TOOLKIT_MAC@ server.app/Contents/PkgInfo | |
b17c1746 | 118 | @COND_PLATFORM_WIN32_1@__server___win32rc = server_server_rc.o |
6e0fbb3d | 119 | @COND_PLATFORM_MAC_0@__baseclient___mac_setfilecmd = @true |
2804f77d VZ |
120 | @COND_PLATFORM_MAC_1@__baseclient___mac_setfilecmd = \ |
121 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL baseclient$(EXEEXT) | |
6e0fbb3d | 122 | @COND_PLATFORM_MAC_0@__baseserver___mac_setfilecmd = @true |
2804f77d VZ |
123 | @COND_PLATFORM_MAC_1@__baseserver___mac_setfilecmd = \ |
124 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL baseserver$(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 DE |
128 | $(srcdir)/../../samples $(__RCDEFDIR_p) -i $(top_srcdir)/include -o \ |
129 | client$(EXEEXT) Carbon.r sample.r | |
e9877ed3 | 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 DE |
134 | $(srcdir)/../../samples $(__RCDEFDIR_p) -i $(top_srcdir)/include -o \ |
135 | server$(EXEEXT) Carbon.r sample.r | |
e9877ed3 | 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__ |
2804f77d | 138 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_7 = --define __WXUNIVERSAL__ |
8c9f8f91 | 139 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_0 = -d wxNO_EXCEPTIONS |
2804f77d | 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 |
2804f77d | 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 |
2804f77d | 144 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_7 = --define wxNO_THREADS |
b17c1746 | 145 | @COND_SHARED_1@__DLLFLAG_p_0 = -d WXUSINGDLL |
2804f77d | 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) | |
b17c1746 | 151 | @COND_PLATFORM_OS2_1@os2_lib_res = $(top_srcdir)/include/wx/os2/wx.res |
e9877ed3 | 152 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ |
a1bf307a | 153 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) |
e9877ed3 | 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) |
2804f77d 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 | ||
2804f77d | 188 | all: $(__client___depname) $(__client_bundle___depname) $(__server___depname) $(__server_bundle___depname) baseclient$(EXEEXT) baseserver$(EXEEXT) |
cbd63f42 | 189 | |
b17c1746 DE |
190 | install: all |
191 | ||
192 | uninstall: | |
193 | ||
194 | install-strip: install | |
195 | ||
fcf61db4 | 196 | clean: |
ab892b95 | 197 | rm -rf ./.deps ./.pch |
e9877ed3 | 198 | rm -f ./*.o |
b328fad3 | 199 | rm -f client$(EXEEXT) |
ab892b95 | 200 | rm -rf client.app |
b328fad3 | 201 | rm -f server$(EXEEXT) |
ab892b95 | 202 | rm -rf server.app |
2804f77d VZ |
203 | rm -f baseclient$(EXEEXT) |
204 | rm -f baseserver$(EXEEXT) | |
250700e4 | 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 | |
2804f77d VZ |
209 | @COND_USE_GUI_1@client$(EXEEXT): $(CLIENT_OBJECTS) $(__client___win32rc) |
210 | @COND_USE_GUI_1@ $(CXX) -o $@ $(CLIENT_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@ $(__client___mac_rezcmd) | |
212 | @COND_USE_GUI_1@ $(__client___mac_setfilecmd) | |
213 | @COND_USE_GUI_1@ $(__client___os2_emxbindcmd) | |
214 | @COND_USE_GUI_1@ $(SAMPLES_RPATH_POSTLINK) | |
ab892b95 | 215 | |
2804f77d | 216 | client.app/Contents/PkgInfo: $(__client___depname) $(top_srcdir)/src/mac/carbon/Info.plist.in $(top_srcdir)/src/mac/carbon/wxmac.icns |
ab892b95 VS |
217 | mkdir -p client.app/Contents |
218 | mkdir -p client.app/Contents/MacOS | |
219 | mkdir -p client.app/Contents/Resources | |
220 | ||
221 | ||
222 | sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
223 | -e "s/EXECUTABLE/client/" \ | |
75a0a7b7 | 224 | -e "s/VERSION/$(WX_VERSION)/" \ |
0b0efa9a | 225 | $(top_srcdir)/src/mac/carbon/Info.plist.in >client.app/Contents/Info.plist |
ab892b95 VS |
226 | |
227 | ||
228 | echo -n "APPL????" >client.app/Contents/PkgInfo | |
229 | ||
230 | ||
b328fad3 | 231 | ln -f client$(EXEEXT) client.app/Contents/MacOS/client |
ab892b95 VS |
232 | |
233 | ||
c4839ccf | 234 | cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns client.app/Contents/Resources/wxmac.icns |
ab892b95 | 235 | |
c4839ccf | 236 | @COND_PLATFORM_MACOSX_1@client_bundle: $(____client_BUNDLE_TGT_REF_DEP) |
250700e4 | 237 | |
2804f77d VZ |
238 | @COND_USE_GUI_1@server$(EXEEXT): $(SERVER_OBJECTS) $(__server___win32rc) |
239 | @COND_USE_GUI_1@ $(CXX) -o $@ $(SERVER_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@ $(__server___mac_rezcmd) | |
241 | @COND_USE_GUI_1@ $(__server___mac_setfilecmd) | |
242 | @COND_USE_GUI_1@ $(__server___os2_emxbindcmd) | |
243 | @COND_USE_GUI_1@ $(SAMPLES_RPATH_POSTLINK) | |
ab892b95 | 244 | |
2804f77d | 245 | server.app/Contents/PkgInfo: $(__server___depname) $(top_srcdir)/src/mac/carbon/Info.plist.in $(top_srcdir)/src/mac/carbon/wxmac.icns |
ab892b95 VS |
246 | mkdir -p server.app/Contents |
247 | mkdir -p server.app/Contents/MacOS | |
248 | mkdir -p server.app/Contents/Resources | |
249 | ||
250 | ||
251 | sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
252 | -e "s/EXECUTABLE/server/" \ | |
75a0a7b7 | 253 | -e "s/VERSION/$(WX_VERSION)/" \ |
0b0efa9a | 254 | $(top_srcdir)/src/mac/carbon/Info.plist.in >server.app/Contents/Info.plist |
ab892b95 VS |
255 | |
256 | ||
257 | echo -n "APPL????" >server.app/Contents/PkgInfo | |
258 | ||
259 | ||
b328fad3 | 260 | ln -f server$(EXEEXT) server.app/Contents/MacOS/server |
ab892b95 VS |
261 | |
262 | ||
c4839ccf | 263 | cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns server.app/Contents/Resources/wxmac.icns |
ab892b95 | 264 | |
c4839ccf | 265 | @COND_PLATFORM_MACOSX_1@server_bundle: $(____server_BUNDLE_TGT_REF_DEP) |
cbd63f42 | 266 | |
2804f77d VZ |
267 | baseclient$(EXEEXT): $(BASECLIENT_OBJECTS) |
268 | $(CXX) -o $@ $(BASECLIENT_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 | $(__baseclient___mac_setfilecmd) | |
271 | $(SAMPLES_RPATH_POSTLINK) | |
272 | ||
273 | baseserver$(EXEEXT): $(BASESERVER_OBJECTS) | |
274 | $(CXX) -o $@ $(BASESERVER_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 | $(__baseserver___mac_setfilecmd) | |
277 | $(SAMPLES_RPATH_POSTLINK) | |
278 | ||
b17c1746 | 279 | client_client.o: $(srcdir)/client.cpp |
b14abf14 | 280 | $(CXXC) -c -o $@ $(CLIENT_CXXFLAGS) $(srcdir)/client.cpp |
b17c1746 DE |
281 | |
282 | client_client_rc.o: $(srcdir)/client.rc | |
2804f77d | 283 | $(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 | 284 | |
250700e4 | 285 | server_server.o: $(srcdir)/server.cpp |
b14abf14 | 286 | $(CXXC) -c -o $@ $(SERVER_CXXFLAGS) $(srcdir)/server.cpp |
3af038c0 | 287 | |
250700e4 | 288 | server_server_rc.o: $(srcdir)/server.rc |
2804f77d VZ |
289 | $(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 |
290 | ||
291 | baseclient_baseclient.o: $(srcdir)/baseclient.cpp | |
292 | $(CXXC) -c -o $@ $(BASECLIENT_CXXFLAGS) $(srcdir)/baseclient.cpp | |
293 | ||
294 | baseserver_baseserver.o: $(srcdir)/baseserver.cpp | |
295 | $(CXXC) -c -o $@ $(BASESERVER_CXXFLAGS) $(srcdir)/baseserver.cpp | |
cbd63f42 VS |
296 | |
297 | ||
298 | # Include dependency info, if present: | |
49b0a3aa | 299 | @IF_GNU_MAKE@-include .deps/*.d |
cbd63f42 | 300 | |
b17c1746 | 301 | .PHONY: all install uninstall clean distclean client_bundle server_bundle |