diff options
author | davilla <davilla@svn> | 2010-06-18 16:31:24 +0000 |
---|---|---|
committer | davilla <davilla@svn> | 2010-06-18 16:31:24 +0000 |
commit | 428037bde7576538b76e16516f8875e11ff45e89 (patch) | |
tree | ea0add03a648cc27b361306d2758fc162265caf9 /lib/libvpx | |
parent | 64bc746c8133adc476b43687285465f2126312da (diff) |
changed, target /opt/local for libvpx install location so XBMC build system will see it
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31180 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'lib/libvpx')
-rw-r--r-- | lib/libvpx/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libvpx/Makefile b/lib/libvpx/Makefile index f391bafaed..117eb637c5 100644 --- a/lib/libvpx/Makefile +++ b/lib/libvpx/Makefile @@ -4,7 +4,8 @@ # A quick and dirty Makefile to download and build libvpx # # Darwin: libvpx is built as an static lib for linkage with FFmpeg. -# x86-darwin8-gcc is targeted so we can run on the AppleTV. +# x86-darwin8-gcc is targeted so we can run on the AppleTV. +# prefix is /opt/local so XBMC's build system will pick it up. # # Usage: # make @@ -16,6 +17,7 @@ LIBVPX_LIB = $(LIBVPX_SRC)/libvpx.a # get OS type from shell OSTYPE = $(shell uname) ifeq ($(OSTYPE),Darwin) +PREFIX = --prefix=/opt/local TARGET = --target=x86-darwin8-gcc endif @@ -27,8 +29,10 @@ $(LIBVPX_LIB): $(LIBVPX_SRC)/Makefile $(LIBVPX_SRC)/Makefile: wget http://webm.googlecode.com/files/$(LIBVPX_SRC).tar.bz2 tar -xjf $(LIBVPX_SRC).tar.bz2 - cd $(LIBVPX_SRC); ./configure --enable-vp8 --disable-examples $(TARGET) - + cd $(LIBVPX_SRC); ./configure $(PREFIX) $(TARGET) --disable-examples --enable-vp8 + +install: + make -C $(LIBVPX_SRC) install clean: make -C $(LIBVPX_SRC) clean |