mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 21:06:00 +00:00
handles DVDKIT_SHARED, compile and install libmpdvdkit.so
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5816 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
27a59e4c70
commit
55fe447584
21
Makefile
21
Makefile
@ -102,12 +102,19 @@ else
|
||||
COMMON_DEPS += libvo/libvo.a
|
||||
endif
|
||||
ifeq ($(DVDKIT),yes)
|
||||
ifeq ($(DVDKIT_SHARED),yes)
|
||||
COMMON_DEPS += libmpdvdkit/libmpdvdkit.so
|
||||
else
|
||||
COMMON_DEPS += libmpdvdkit/libmpdvdkit.a
|
||||
endif
|
||||
endif
|
||||
|
||||
libmpdvdkit/libmpdvdkit.a:
|
||||
$(MAKE) -C libmpdvdkit
|
||||
|
||||
libmpdvdkit/libmpdvdkit.so:
|
||||
$(MAKE) -C libmpdvdkit libmpdvdkit.so
|
||||
|
||||
loader/libloader.a:
|
||||
$(MAKE) -C loader
|
||||
|
||||
@ -234,7 +241,12 @@ endif
|
||||
@if test -f $(CONFDIR)/codecs.conf.old ; then mv -f $(CONFDIR)/codecs.conf.old $(CONFDIR)/codecs.conf.older ; fi
|
||||
@if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi
|
||||
$(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf
|
||||
|
||||
ifeq ($(DVDKIT),yes)
|
||||
ifeq ($(DVDKIT_SHARED),yes)
|
||||
if test ! -d $(LIBDIR) ; then mkdir -p $(LIBDIR) ; fi
|
||||
$(INSTALL) -m 755 -s libmpdvdkit/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so
|
||||
endif
|
||||
endif
|
||||
ifeq ($(CSS_USE),yes)
|
||||
@echo "Following task requires root privs. If it fails don't panic"
|
||||
@echo "however it means you can't use fibmap_mplayer."
|
||||
@ -264,13 +276,6 @@ depend:
|
||||
$(CC) -MM $(CFLAGS) mplayer.c mencoder.c $(SRCS_MPLAYER) $(SRCS_MENCODER) 1>.depend
|
||||
@for a in $(PARTS); do $(MAKE) -C $$a dep; done
|
||||
|
||||
# ./configure must be run if it changed in CVS
|
||||
config.h: configure
|
||||
@echo "############################################################"
|
||||
@echo "####### Please run ./configure again - it's changed! #######"
|
||||
@echo "############################################################"
|
||||
@exit 1
|
||||
|
||||
# do not rebuild after cvs commits if .developer file is present!
|
||||
|
||||
# rebuild at every config.h/config.mak change:
|
||||
|
Loading…
Reference in New Issue
Block a user