aboutsummaryrefslogtreecommitdiff
path: root/lib/libbluray
diff options
context:
space:
mode:
authorStefan Saraev <stefan@saraev.ca>2015-12-06 18:05:15 +0200
committerStefan Saraev <stefan@saraev.ca>2015-12-07 15:55:26 +0200
commitcd10d84e085541e8371795efcd9e21dee823e1a1 (patch)
treec436cddcb93e7f8d941bc0ad50a9eafc1f80e8a6 /lib/libbluray
parent32af4975182bdb9e07559862731810067c020bf0 (diff)
cleanup lib/
Diffstat (limited to 'lib/libbluray')
-rw-r--r--lib/libbluray/Makefile63
1 files changed, 0 insertions, 63 deletions
diff --git a/lib/libbluray/Makefile b/lib/libbluray/Makefile
deleted file mode 100644
index 4385541675..0000000000
--- a/lib/libbluray/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# libbluray build script for OSX darwin.
-#
-# A quick and dirty Makefile to download/build and install libbluray
-#
-# Darwin:
-# 10.4u.sdk is targeted so we can run on the AppleTV. Macports is assumed to
-# be used and the required lib depends installed.
-#
-# Linux: builds using the existing libbluray make system
-#
-# Usage:
-# make
-# sudo make install
-#
-# Darwin only:
-# make install_xbmc
-
-# get OS type from shell
-OSTYPE = $(shell uname)
-
-ifeq ($(OSTYPE),Darwin)
- prefix=/opt/local
- CFLAGS=-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I /opt/local/include
- LDFLAGS=-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -L/opt/local/lib
- CPPFLAGS=-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I /opt/local/include
-else
- prefix=/usr/local
-endif
-
-ifeq ($(OSTYPE),Darwin)
- LIBBLURAY = libbluray/src/.libs/libbluray.dylib
-else
- LIBBLURAY = libbluray/src/.libs/libbluray.so
-endif
-
-all:: $(LIBBLURAY)
-
-$(LIBBLURAY): libbluray/configure
- make -C libbluray
-
-libbluray/configure:
- if [ ! -d libbluray ]; then git clone git://git.videolan.org/libbluray.git; fi
- cd libbluray; ./bootstrap
-ifeq ($(OSTYPE),Darwin)
- cd libbluray; ./configure --prefix=$(prefix) --exec-prefix=$(prefix) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"
-else
- cd libbluray; ./configure --prefix=$(prefix) --exec-prefix=$(prefix)
-endif
-
-ifeq ($(OSTYPE),Darwin)
-install_xbmc: $(LIBBLURAY)
- cp $(LIBBLURAY) ../../system/
-endif
-
-install:
- make -C libbluray install
-
-clean:
- make -C libbluray clean
-
-distclean::
- rm -rf libbluray