Commit 39658cd8 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

Makefile.am: Make the VLC-release.app target libtool aware.

parent 28965709
...@@ -431,14 +431,20 @@ VLC-release.app: vlc ...@@ -431,14 +431,20 @@ VLC-release.app: vlc
$(top_builddir)/VLC-release.app; \ $(top_builddir)/VLC-release.app; \
rm -Rf $(top_builddir)/tmp rm -Rf $(top_builddir)/tmp
$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS
$(INSTALL) $(top_builddir)/vlc \ $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/lib
$(top_builddir)/VLC-release.app/Contents/MacOS/VLC $(INSTALL) $(top_builddir)/.libs/vlc \
ln -sf ./VLC $(top_builddir)/VLC-release.app/Contents/MacOS/clivlc $(top_builddir)/VLC.app/Contents/MacOS/VLC
$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/modules $(INSTALL) $(top_builddir)/src/.libs/libvlc.1.dylib \
$(top_builddir)/VLC.app/Contents/MacOS/lib/libvlc.dylib
install_name_tool -change /usr/local/lib/libvlc.1.dylib \
@executable_path/lib/libvlc.dylib \
$(top_builddir)/VLC.app/Contents/MacOS/VLC
ln -sf ./VLC $(top_builddir)/VLC.app/Contents/MacOS/clivlc
$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/modules
for i in "" `$(VLC_CONFIG) --target plugin` ; do \ for i in "" `$(VLC_CONFIG) --target plugin` ; do \
if test -n "$$i" ; \ if test -n "$$i" ; \
then $(INSTALL) "$$i$(LIBEXT)" \ then ln -sfn "`pwd`/`dirname $$i`/.libs/`basename $$i`$(LIBEXT)" \
"$(top_builddir)/VLC-release.app/Contents/MacOS/modules" ; \ "$(top_builddir)/VLC.app/Contents/MacOS/modules" ; \
fi ; done fi ; done
if test -d $(srcdir)/extras/contrib/vlc-lib; then \ if test -d $(srcdir)/extras/contrib/vlc-lib; then \
mkdir -p $(top_builddir)/VLC-release.app/Contents/MacOS/lib ; \ mkdir -p $(top_builddir)/VLC-release.app/Contents/MacOS/lib ; \
...@@ -572,7 +578,9 @@ VLC.app: vlc ...@@ -572,7 +578,9 @@ VLC.app: vlc
$(top_builddir)/VLC.app/Contents/MacOS/VLC $(top_builddir)/VLC.app/Contents/MacOS/VLC
$(INSTALL) $(top_builddir)/src/.libs/libvlc.1.dylib \ $(INSTALL) $(top_builddir)/src/.libs/libvlc.1.dylib \
$(top_builddir)/VLC.app/Contents/MacOS/lib/libvlc.dylib $(top_builddir)/VLC.app/Contents/MacOS/lib/libvlc.dylib
install_name_tool -change /usr/local/lib/libvlc.1.dylib @executable_path/lib/libvlc.dylib $(top_builddir)/VLC.app/Contents/MacOS/VLC install_name_tool -change /usr/local/lib/libvlc.1.dylib \
@executable_path/lib/libvlc.dylib \
$(top_builddir)/VLC.app/Contents/MacOS/VLC
ln -sf ./VLC $(top_builddir)/VLC.app/Contents/MacOS/clivlc ln -sf ./VLC $(top_builddir)/VLC.app/Contents/MacOS/clivlc
$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/modules $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/modules
for i in "" `$(VLC_CONFIG) --target plugin` ; do \ for i in "" `$(VLC_CONFIG) --target plugin` ; do \
......
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