Commit 67226ea2 authored by Eric Petit's avatar Eric Petit

configure.ac : added needed linking flags for BeOS/Zeta

 Makefile.am : cleaned make packages-beos
parent eb8fdde6
...@@ -524,7 +524,7 @@ package-beos: ...@@ -524,7 +524,7 @@ package-beos:
mkdir -p $(srcdir)/tmp/vlc mkdir -p $(srcdir)/tmp/vlc
cd $(srcdir) && \ cd $(srcdir) && \
cp vlc AUTHORS COPYING ChangeLog README THANKS NEWS tmp/vlc/ cp vlc AUTHORS COPYING ChangeLog README THANKS NEWS tmp/vlc/
# We cannot use ${PLUGIN_FILES}, it looks like it is too long for the BeOS shell... # We cannot use ${PLUGIN_FILES} as it looks like it is too "long" for the BeOS shell...
if [ `find $(srcdir)/modules -name "lib*_plugin.so" | wc -l` -gt 0 ]; then \ if [ `find $(srcdir)/modules -name "lib*_plugin.so" | wc -l` -gt 0 ]; then \
mkdir -p $(srcdir)/tmp/vlc/plugins; \ mkdir -p $(srcdir)/tmp/vlc/plugins; \
find $(srcdir)/modules -name "lib*_plugin.so" | xargs -i{} cp {} $(srcdir)/tmp/vlc/plugins/; \ find $(srcdir)/modules -name "lib*_plugin.so" | xargs -i{} cp {} $(srcdir)/tmp/vlc/plugins/; \
...@@ -533,7 +533,6 @@ package-beos: ...@@ -533,7 +533,6 @@ package-beos:
mkdir -p $(srcdir)/tmp/vlc/locale/$${i}/LC_MESSAGES ; \ mkdir -p $(srcdir)/tmp/vlc/locale/$${i}/LC_MESSAGES ; \
cp $(srcdir)/po/$${i}.gmo $(srcdir)/tmp/vlc/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \ cp $(srcdir)/po/$${i}.gmo $(srcdir)/tmp/vlc/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
done done
mkdir -p $(srcdir)/tmp/vlc/share
# Create package with debug symbols # Create package with debug symbols
mimeset -f $(srcdir)/tmp/vlc/* $(srcdir)/tmp/vlc/*/* mimeset -f $(srcdir)/tmp/vlc/* $(srcdir)/tmp/vlc/*/*
...@@ -542,12 +541,14 @@ package-beos: ...@@ -542,12 +541,14 @@ package-beos:
mv $(srcdir)/tmp/vlc-${VERSION}-BeOS-debug.zip $(srcdir)/ mv $(srcdir)/tmp/vlc-${VERSION}-BeOS-debug.zip $(srcdir)/
# Create package without debug symbols # Create package without debug symbols
strip $(srcdir)/tmp/vlc-${VERSION}/vlc mv $(srcdir)/tmp/vlc-${VERSION} $(srcdir)/tmp/vlc
if [ -d $(srcdir)/tmp/vlc-${VERSION}/plugins ]; then \ strip $(srcdir)/tmp/vlc/vlc
strip $(srcdir)/tmp/vlc-${VERSION}/plugins/lib*_plugin.so; \ if [ -d $(srcdir)/tmp/vlc/plugins ]; then \
strip $(srcdir)/tmp/vlc/plugins/lib*_plugin.so; \
fi fi
xres -o $(srcdir)/tmp/vlc-${VERSION}/vlc $(srcdir)/share/vlc_beos.rsrc xres -o $(srcdir)/tmp/vlc/vlc $(srcdir)/share/vlc_beos.rsrc
mimeset -f $(srcdir)/tmp/vlc-${VERSION}/* $(srcdir)/tmp/vlc-${VERSION}/*/* mimeset -f $(srcdir)/tmp/vlc/* $(srcdir)/tmp/vlc/*/*
mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION}
(cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS.zip vlc-${VERSION} ) (cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS.zip vlc-${VERSION} )
mv $(srcdir)/tmp/vlc-${VERSION}-BeOS.zip $(srcdir)/ mv $(srcdir)/tmp/vlc-${VERSION}-BeOS.zip $(srcdir)/
......
dnl Autoconf settings for vlc dnl Autoconf settings for vlc
dnl $Id: configure.ac,v 1.52 2003/08/02 14:06:22 gbazin Exp $ dnl $Id: configure.ac,v 1.53 2003/08/03 13:49:37 titer Exp $
AC_INIT(vlc,0.6.2-cvs) AC_INIT(vlc,0.6.2-cvs)
...@@ -138,9 +138,13 @@ case "${target_os}" in ...@@ -138,9 +138,13 @@ case "${target_os}" in
AX_ADD_LDFLAGS([vlc beos],[-lbe]) AX_ADD_LDFLAGS([vlc beos],[-lbe])
AX_ADD_CXXFLAGS([beos],[]) AX_ADD_CXXFLAGS([beos],[])
AX_ADD_LDFLAGS([beos],[-lmedia -ltranslation -ltracker -lgame]) AX_ADD_LDFLAGS([beos],[-lmedia -ltranslation -ltracker -lgame])
dnl Check if we have BONE (old net_server doesn't have libsocket.so)
dnl Check for BONE presence
AC_CHECK_LIB(socket, connect, AC_CHECK_LIB(socket, connect,
AX_ADD_LDFLAGS([vlc access_mms ipv4 httpd],[-lsocket -lbind])) AX_ADD_LDFLAGS([vlc access_mms ipv4 httpd],[-lsocket -lbind]))
dnl Check for Zeta
AC_CHECK_LIB(zeta, find_directory_r, AX_ADD_LDFLAGS([vlc beos],[-lzeta]))
;; ;;
*) *)
SYS="${target_os}" SYS="${target_os}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment