]>
Commit | Line | Data |
---|---|---|
cbd63f42 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
506e9b7e | 3 | # Bakefile 0.2.5 (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 | 15 | WINDRES = @WINDRES@ |
b17c1746 DE |
16 | SETFILE = @SETFILE@ |
17 | NM = @NM@ | |
69199aad | 18 | BK_DEPS = @BK_DEPS@ |
b17c1746 DE |
19 | srcdir = @srcdir@ |
20 | top_srcdir = @top_srcdir@ | |
69199aad | 21 | LIBS = @LIBS@ |
b17c1746 | 22 | LDFLAGS_GUI = @LDFLAGS_GUI@ |
3af038c0 | 23 | CXX = @CXX@ |
cbd63f42 | 24 | CXXFLAGS = @CXXFLAGS@ |
b17c1746 DE |
25 | CPPFLAGS = @CPPFLAGS@ |
26 | LDFLAGS = @LDFLAGS@ | |
589e20d0 | 27 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ |
b17c1746 DE |
28 | TOOLKIT = @TOOLKIT@ |
29 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
30 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
8ced02f6 | 31 | TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@ |
cbd63f42 | 32 | EXTRALIBS = @EXTRALIBS@ |
6c974d0b | 33 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ |
444833b3 | 34 | CXXWARNINGS = @CXXWARNINGS@ |
250700e4 | 35 | HOST_SUFFIX = @HOST_SUFFIX@ |
3af038c0 | 36 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ |
ab892b95 | 37 | SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@ |
69199aad | 38 | wx_top_builddir = @wx_top_builddir@ |
cbd63f42 | 39 | |
fcf61db4 VS |
40 | ### Variables: ### |
41 | ||
b17c1746 | 42 | DESTDIR = |
ae4ccf12 | 43 | WX_RELEASE = 2.9 |
25bb1412 | 44 | WX_VERSION = $(WX_RELEASE).0 |
69199aad | 45 | LIBDIRNAME = $(wx_top_builddir)/lib |
8c9f8f91 JS |
46 | CLIENT_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
47 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
444833b3 CE |
48 | -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \ |
49 | $(CPPFLAGS) $(CXXFLAGS) | |
e9877ed3 | 50 | CLIENT_OBJECTS = \ |
a4ad36cd | 51 | $(os2_lib_res) \ |
e9877ed3 VS |
52 | client_client.o \ |
53 | $(__client___win32rc) | |
8c9f8f91 JS |
54 | SERVER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
55 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
444833b3 CE |
56 | -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \ |
57 | $(CPPFLAGS) $(CXXFLAGS) | |
e9877ed3 | 58 | SERVER_OBJECTS = \ |
a4ad36cd | 59 | $(os2_lib_res) \ |
e9877ed3 VS |
60 | server_server.o \ |
61 | $(__server___win32rc) | |
2804f77d VZ |
62 | BASECLIENT_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
63 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
64 | -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CXXWARNINGS) $(CPPFLAGS) \ | |
65 | $(CXXFLAGS) | |
66 | BASECLIENT_OBJECTS = \ | |
67 | baseclient_baseclient.o | |
68 | BASESERVER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ | |
69 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
70 | -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CXXWARNINGS) $(CPPFLAGS) \ | |
71 | $(CXXFLAGS) | |
72 | BASESERVER_OBJECTS = \ | |
73 | baseserver_baseserver.o | |
fcf61db4 | 74 | |
cbd63f42 VS |
75 | ### Conditionally set variables: ### |
76 | ||
b328fad3 | 77 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
69199aad | 78 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) |
3af038c0 VS |
79 | @COND_USE_GUI_0@PORTNAME = base |
80 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
b1169abb | 81 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon |
8ece421c | 82 | @COND_BUILD_debug_DEBUG_FLAG_default@WXDEBUGFLAG = d |
25a73439 | 83 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d |
3af038c0 | 84 | @COND_UNICODE_1@WXUNICODEFLAG = u |
fcf61db4 | 85 | @COND_WXUNIV_1@WXUNIVNAME = univ |
0e3165d7 DE |
86 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) |
87 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) | |
88 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI) | |
89 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI = | |
2804f77d | 90 | @COND_USE_GUI_1@__client___depname = client$(EXEEXT) |
6e0fbb3d | 91 | @COND_PLATFORM_MAC_0@__client___mac_setfilecmd = @true |
b17c1746 | 92 | @COND_PLATFORM_MAC_1@__client___mac_setfilecmd = \ |
509f339a | 93 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL client$(EXEEXT) |
b17c1746 DE |
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) | |
e8352927 VS |
97 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@__client_app_Contents_PkgInfo___depname \ |
98 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ = client.app/Contents/PkgInfo | |
99 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@__client_bundle___depname = client_bundle | |
c4839ccf | 100 | @COND_TOOLKIT_COCOA@____client_BUNDLE_TGT_REF_DEP = \ |
e8352927 | 101 | @COND_TOOLKIT_COCOA@ $(__client_app_Contents_PkgInfo___depname) |
7664a67f KO |
102 | @COND_TOOLKIT_MAC@____client_BUNDLE_TGT_REF_DEP = \ |
103 | @COND_TOOLKIT_MAC@ $(__client_app_Contents_PkgInfo___depname) | |
1aac44b9 SC |
104 | @COND_TOOLKIT_OSX_CARBON@____client_BUNDLE_TGT_REF_DEP \ |
105 | @COND_TOOLKIT_OSX_CARBON@ = $(__client_app_Contents_PkgInfo___depname) | |
106 | @COND_TOOLKIT_OSX_COCOA@____client_BUNDLE_TGT_REF_DEP \ | |
107 | @COND_TOOLKIT_OSX_COCOA@ = $(__client_app_Contents_PkgInfo___depname) | |
108 | @COND_TOOLKIT_OSX_IPHONE@____client_BUNDLE_TGT_REF_DEP \ | |
109 | @COND_TOOLKIT_OSX_IPHONE@ = $(__client_app_Contents_PkgInfo___depname) | |
b17c1746 | 110 | @COND_PLATFORM_WIN32_1@__client___win32rc = client_client_rc.o |
2804f77d | 111 | @COND_USE_GUI_1@__server___depname = server$(EXEEXT) |
6e0fbb3d | 112 | @COND_PLATFORM_MAC_0@__server___mac_setfilecmd = @true |
b17c1746 | 113 | @COND_PLATFORM_MAC_1@__server___mac_setfilecmd = \ |
509f339a | 114 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL server$(EXEEXT) |
b17c1746 DE |
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) | |
e8352927 VS |
118 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@__server_app_Contents_PkgInfo___depname \ |
119 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ = server.app/Contents/PkgInfo | |
120 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@__server_bundle___depname = server_bundle | |
c4839ccf | 121 | @COND_TOOLKIT_COCOA@____server_BUNDLE_TGT_REF_DEP = \ |
e8352927 | 122 | @COND_TOOLKIT_COCOA@ $(__server_app_Contents_PkgInfo___depname) |
7664a67f KO |
123 | @COND_TOOLKIT_MAC@____server_BUNDLE_TGT_REF_DEP = \ |
124 | @COND_TOOLKIT_MAC@ $(__server_app_Contents_PkgInfo___depname) | |
1aac44b9 SC |
125 | @COND_TOOLKIT_OSX_CARBON@____server_BUNDLE_TGT_REF_DEP \ |
126 | @COND_TOOLKIT_OSX_CARBON@ = $(__server_app_Contents_PkgInfo___depname) | |
127 | @COND_TOOLKIT_OSX_COCOA@____server_BUNDLE_TGT_REF_DEP \ | |
128 | @COND_TOOLKIT_OSX_COCOA@ = $(__server_app_Contents_PkgInfo___depname) | |
129 | @COND_TOOLKIT_OSX_IPHONE@____server_BUNDLE_TGT_REF_DEP \ | |
130 | @COND_TOOLKIT_OSX_IPHONE@ = $(__server_app_Contents_PkgInfo___depname) | |
b17c1746 | 131 | @COND_PLATFORM_WIN32_1@__server___win32rc = server_server_rc.o |
6e0fbb3d | 132 | @COND_PLATFORM_MAC_0@__baseclient___mac_setfilecmd = @true |
2804f77d VZ |
133 | @COND_PLATFORM_MAC_1@__baseclient___mac_setfilecmd = \ |
134 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL baseclient$(EXEEXT) | |
6e0fbb3d | 135 | @COND_PLATFORM_MAC_0@__baseserver___mac_setfilecmd = @true |
2804f77d VZ |
136 | @COND_PLATFORM_MAC_1@__baseserver___mac_setfilecmd = \ |
137 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL baseserver$(EXEEXT) | |
509f339a KO |
138 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_0 = --define __WXUNIVERSAL__ |
139 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_0 = --define wxNO_EXCEPTIONS | |
140 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_0 = --define wxNO_RTTI | |
141 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_0 = --define wxNO_THREADS | |
142 | @COND_SHARED_1@__DLLFLAG_p_0 = --define WXUSINGDLL | |
143 | @COND_TOOLKIT_MSW@__RCDEFDIR_p = --include-dir \ | |
8ced02f6 | 144 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) |
b17c1746 | 145 | @COND_PLATFORM_OS2_1@os2_lib_res = $(top_srcdir)/include/wx/os2/wx.res |
e9877ed3 | 146 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ |
a1bf307a | 147 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) |
e9877ed3 | 148 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) |
8ece421c VZ |
149 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \ |
150 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \ | |
151 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
152 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \ | |
153 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \ | |
154 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
155 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \ | |
156 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \ | |
157 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
2804f77d VZ |
158 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ |
159 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
160 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
161 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
162 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
163 | COND_MONOLITHIC_0___WXLIB_NET_p = \ | |
164 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX) | |
165 | @COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p) | |
166 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ | |
167 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
168 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) | |
169 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
170 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
171 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
8ece421c VZ |
172 | @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \ |
173 | @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
174 | COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \ | |
ceec2216 | 175 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
8ece421c VZ |
176 | @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p) |
177 | @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \ | |
178 | @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
cbd63f42 VS |
179 | |
180 | ### Targets: ### | |
181 | ||
2804f77d | 182 | all: $(__client___depname) $(__client_bundle___depname) $(__server___depname) $(__server_bundle___depname) baseclient$(EXEEXT) baseserver$(EXEEXT) |
cbd63f42 | 183 | |
8ece421c | 184 | install: |
b17c1746 DE |
185 | |
186 | uninstall: | |
187 | ||
188 | install-strip: install | |
189 | ||
fcf61db4 | 190 | clean: |
ab892b95 | 191 | rm -rf ./.deps ./.pch |
e9877ed3 | 192 | rm -f ./*.o |
b328fad3 | 193 | rm -f client$(EXEEXT) |
ab892b95 | 194 | rm -rf client.app |
b328fad3 | 195 | rm -f server$(EXEEXT) |
ab892b95 | 196 | rm -rf server.app |
2804f77d VZ |
197 | rm -f baseclient$(EXEEXT) |
198 | rm -f baseserver$(EXEEXT) | |
250700e4 | 199 | |
b17c1746 | 200 | distclean: clean |
b14abf14 | 201 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile |
b17c1746 | 202 | |
2804f77d | 203 | @COND_USE_GUI_1@client$(EXEEXT): $(CLIENT_OBJECTS) $(__client___win32rc) |
8ece421c | 204 | @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) |
509f339a | 205 | @COND_USE_GUI_1@ |
2804f77d VZ |
206 | @COND_USE_GUI_1@ $(__client___mac_setfilecmd) |
207 | @COND_USE_GUI_1@ $(__client___os2_emxbindcmd) | |
208 | @COND_USE_GUI_1@ $(SAMPLES_RPATH_POSTLINK) | |
ab892b95 | 209 | |
2383c21c | 210 | @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 |
e8352927 VS |
211 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p client.app/Contents |
212 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p client.app/Contents/MacOS | |
213 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p client.app/Contents/Resources | |
214 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
215 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
216 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
217 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/EXECUTABLE/client/" \ | |
218 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/VERSION/$(WX_VERSION)/" \ | |
2383c21c | 219 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >client.app/Contents/Info.plist |
e8352927 VS |
220 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ |
221 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
222 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ echo -n "APPL????" >client.app/Contents/PkgInfo | |
223 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
224 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
225 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ ln -f client$(EXEEXT) client.app/Contents/MacOS/client | |
226 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
227 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
2383c21c | 228 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns client.app/Contents/Resources/wxmac.icns |
ab892b95 | 229 | |
e8352927 | 230 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@client_bundle: $(____client_BUNDLE_TGT_REF_DEP) |
250700e4 | 231 | |
2804f77d | 232 | @COND_USE_GUI_1@server$(EXEEXT): $(SERVER_OBJECTS) $(__server___win32rc) |
8ece421c | 233 | @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) |
509f339a | 234 | @COND_USE_GUI_1@ |
2804f77d VZ |
235 | @COND_USE_GUI_1@ $(__server___mac_setfilecmd) |
236 | @COND_USE_GUI_1@ $(__server___os2_emxbindcmd) | |
237 | @COND_USE_GUI_1@ $(SAMPLES_RPATH_POSTLINK) | |
ab892b95 | 238 | |
2383c21c | 239 | @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 |
e8352927 VS |
240 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p server.app/Contents |
241 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p server.app/Contents/MacOS | |
242 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p server.app/Contents/Resources | |
243 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
244 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
245 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
246 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/EXECUTABLE/server/" \ | |
247 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/VERSION/$(WX_VERSION)/" \ | |
2383c21c | 248 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >server.app/Contents/Info.plist |
e8352927 VS |
249 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ |
250 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
251 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ echo -n "APPL????" >server.app/Contents/PkgInfo | |
252 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
253 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
254 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ ln -f server$(EXEEXT) server.app/Contents/MacOS/server | |
255 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
256 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
2383c21c | 257 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns server.app/Contents/Resources/wxmac.icns |
ab892b95 | 258 | |
e8352927 | 259 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@server_bundle: $(____server_BUNDLE_TGT_REF_DEP) |
cbd63f42 | 260 | |
2804f77d | 261 | baseclient$(EXEEXT): $(BASECLIENT_OBJECTS) |
8ece421c | 262 | $(CXX) -o $@ $(BASECLIENT_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS) |
2804f77d VZ |
263 | |
264 | $(__baseclient___mac_setfilecmd) | |
265 | $(SAMPLES_RPATH_POSTLINK) | |
266 | ||
267 | baseserver$(EXEEXT): $(BASESERVER_OBJECTS) | |
8ece421c | 268 | $(CXX) -o $@ $(BASESERVER_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS) |
2804f77d VZ |
269 | |
270 | $(__baseserver___mac_setfilecmd) | |
271 | $(SAMPLES_RPATH_POSTLINK) | |
272 | ||
b17c1746 | 273 | client_client.o: $(srcdir)/client.cpp |
b14abf14 | 274 | $(CXXC) -c -o $@ $(CLIENT_CXXFLAGS) $(srcdir)/client.cpp |
b17c1746 DE |
275 | |
276 | client_client_rc.o: $(srcdir)/client.rc | |
509f339a | 277 | $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_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 |
b17c1746 | 278 | |
250700e4 | 279 | server_server.o: $(srcdir)/server.cpp |
b14abf14 | 280 | $(CXXC) -c -o $@ $(SERVER_CXXFLAGS) $(srcdir)/server.cpp |
3af038c0 | 281 | |
250700e4 | 282 | server_server_rc.o: $(srcdir)/server.rc |
509f339a | 283 | $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_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 |
2804f77d VZ |
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 | |
cbd63f42 VS |
290 | |
291 | ||
509f339a KO |
292 | $(srcdir)/include/wx/stc/stc.h: \ |
293 | $(srcdir)/src/stc/scintilla/include/Scintilla.iface \ | |
294 | $(srcdir)/src/stc/stc.cpp.in \ | |
295 | $(srcdir)/src/stc/stc.h.in \ | |
296 | $(srcdir)/src/stc/gen_iface.py | |
297 | cd $(srcdir)/src/stc && ./gen_iface.py | |
298 | monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \ | |
299 | $(srcdir)/include/wx/stc/stc.h | |
300 | ||
cbd63f42 | 301 | # Include dependency info, if present: |
8ece421c | 302 | @IF_GNU_MAKE@-include ./.deps/*.d |
cbd63f42 | 303 | |
b17c1746 | 304 | .PHONY: all install uninstall clean distclean client_bundle server_bundle |