summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile.common39
-rw-r--r--misc/libxine.pc.in6
-rw-r--r--[-rwxr-xr-x]misc/relchk.sh.in0
3 files changed, 31 insertions, 14 deletions
diff --git a/misc/Makefile.common b/misc/Makefile.common
index b3772941f..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,13 +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 *~ \#* .*~ .\#*
diff --git a/misc/libxine.pc.in b/misc/libxine.pc.in
index 032eedfc1..c27e8aa94 100644
--- a/misc/libxine.pc.in
+++ b/misc/libxine.pc.in
@@ -7,5 +7,7 @@ Name: libxine
Description: The xine engine library
Version: @XINE_MAJOR@.@XINE_MINOR@.@XINE_SUB@
Requires:
-Libs: -L${libdir} -lxine @ZLIB_LIBS@ @NET_LIBS@ @PTHREAD_LIBS@ @LIBICONV@ @RT_LIBS@
-Cflags: -I${includedir} @PTHREAD_CFLAGS@
+Libs: -L${libdir} -lxine
+Libs.private: @ZLIB_LIBS@ @NET_LIBS@ @PTHREAD_LIBS@ @LIBICONV@ @RT_LIBS@
+Cflags: -I${includedir}
+Cflags.private: @PTHREAD_CFLAGS@
diff --git a/misc/relchk.sh.in b/misc/relchk.sh.in
index 242a97486..242a97486 100755..100644
--- a/misc/relchk.sh.in
+++ b/misc/relchk.sh.in