summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-07 21:21:35 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-07 21:21:35 +0200
commit72502048605f35642f421bd256021dbd93482728 (patch)
tree71cba6df0416fc429171cef5b53f24057ef60275 /misc
parent7fb0e4d32e5a7ccc121c42e043db795286e1a567 (diff)
parentb56784ba37622f28147b6a10c7ba77f9c9fbf2f7 (diff)
downloadxine-lib-72502048605f35642f421bd256021dbd93482728.tar.gz
xine-lib-72502048605f35642f421bd256021dbd93482728.tar.bz2
Merge changes from main repository.
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile.common34
1 files changed, 22 insertions, 12 deletions
diff --git a/misc/Makefile.common b/misc/Makefile.common
index aa5ec1013..d23ea5b5e 100644
--- a/misc/Makefile.common
+++ b/misc/Makefile.common
@@ -5,6 +5,9 @@ xineincludedir = $(includedir)/xine
xineplugdir = $(XINE_PLUGINDIR)
xineplug_ldflags = $(NOUNDEF) -avoid-version -module
+xinepostdir = $(XINE_PLUGINDIR)/post
+vidixdir = $(XINE_PLUGINDIR)/vidix
+
$(XINE_LIB):
@cd $(top_srcdir)/src/xine-engine && $(MAKE)
@@ -15,14 +18,18 @@ install-data-hook:
fi; \
fi; \
if test -x /usr/bin/chcon -a "`id -u`" -eq 0; then \
- list='$(lib_LTLIBRARIES)'; \
- if test -n "$$list" ; then \
+ list='$(xineplug_LTLIBRARIES)'; \
for p in $$list; do \
p="`echo $$p | sed -e 's/\.la$$/\.so/g;s|^.*/||'`"; \
- echo " chcon system_u:object_r:texrel_shlib_t $(DESTDIR)$(libdir)/$$p"; \
- chcon system_u:object_r:texrel_shlib_t $(DESTDIR)$(libdir)/$$p || :; \
+ echo " chcon system_u:object_r:texrel_shlib_t $(DESTDIR)$(xineplugdir)/$$p"; \
+ chcon system_u:object_r:texrel_shlib_t $(DESTDIR)$(xineplugdir)/$$p || :; \
+ done; \
+ list='$(xinepost_LTLIBRARIES)'; \
+ for p in $$list; do \
+ p="`echo $$p | sed -e 's/\.la$$/\.so/g;s|^.*/||'`"; \
+ echo " chcon system_u:object_r:texrel_shlib_t $(DESTDIR)$(xinepostdir)/$$p"; \
+ chcon system_u:object_r:texrel_shlib_t $(DESTDIR)$(xinepostdir)/$$p || :; \
done; \
- fi; \
fi
pass1:
@@ -42,18 +49,21 @@ install-debug: debug
$(MAKE) $(AM_MAKEFLAGS) install-data-hook
uninstall-hook:
- @if echo '$(libdir)' | egrep ^'$(XINE_PLUGINDIR)' >/dev/null; then \
- list='$(lib_LTLIBRARIES)'; for p in $$list; do \
- p="`echo $$p | sed -e 's/\.la$$/\.so/g;s|^.*/||'`"; \
- echo " rm -f $(DESTDIR)$(libdir)/$$p"; \
- rm -f $(DESTDIR)$(libdir)/$$p; \
- done; \
- fi
@list='$(xineplug_LTLIBRARIES)'; for p in $$list; do \
p="`echo $$p | sed -e 's/\.la$$/\.so/g;s|^.*/||'`"; \
echo " rm -f $(DESTDIR)$(xineplugdir)/$$p"; \
rm -f $(DESTDIR)$(xineplugdir)/$$p; \
done;
+ @list='$(xinepost_LTLIBRARIES)'; for p in $$list; do \
+ p="`echo $$p | sed -e 's/\.la$$/\.so/g;s|^.*/||'`"; \
+ echo " rm -f $(DESTDIR)$(xinepostdir)/$$p"; \
+ rm -f $(DESTDIR)$(xinepostdir)/$$p; \
+ done;
+ @list='$(vidix_LTLIBRARIES)'; for p in $$list; do \
+ p="`echo $$p | sed -e 's/\.la$$/\.so/g;s|^.*/||'`"; \
+ echo " rm -f $(DESTDIR)$(vidixdir)/$$p"; \
+ rm -f $(DESTDIR)$(vidixdir)/$$p; \
+ done;
mostlyclean-generic:
-rm -f *~ \#* .*~ .\#*