aboutsummaryrefslogtreecommitdiff
path: root/tools/osx/osx-depends/libGLEW/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/osx/osx-depends/libGLEW/Makefile')
-rw-r--r--tools/osx/osx-depends/libGLEW/Makefile56
1 files changed, 0 insertions, 56 deletions
diff --git a/tools/osx/osx-depends/libGLEW/Makefile b/tools/osx/osx-depends/libGLEW/Makefile
deleted file mode 100644
index 69a8dad518..0000000000
--- a/tools/osx/osx-depends/libGLEW/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-# A quick and dirty Makefile to download/build and install
-#
-# Usage:
-# make
-# sudo make install
-
-include ../config.mk
-
-# lib name, version
-LIBNAME=glew
-VERSION=1.5.8
-SOURCE=$(LIBNAME)-$(VERSION)
-# download location and format
-BASE_URL=http://mirrors.xbmc.org/build-deps/darwin-libs
-ARCHIVE=$(SOURCE).tgz
-TARBALLS_LOCATION=/Users/Shared/xbmc-depends/tarballs
-RETRIEVE_TOOL=/usr/bin/curl
-RETRIEVE_TOOL_FLAGS=-Ls --create-dirs --output $(TARBALLS_LOCATION)/$(ARCHIVE)
-ARCHIVE_TOOL=tar
-ARCHIVE_TOOL_FLAGS=xf
-
-# configuration settings
-export GLEW_DEST=$(PREFIX)
-export CC.ARCH=/usr/bin/gcc-4.0
-export CFLAGS.ARCH=$(CFLAGS)
-export LDFLAGS.ARCH=$(LDFLAGS)
-
-LIBDYLIB=$(SOURCE)/.libs/$(LIBNAME).dylib
-
-CLEAN_FILES=$(ARCHIVE) $(SOURCE)
-
-all: $(LIBDYLIB) .installed
-
-$(TARBALLS_LOCATION)/$(ARCHIVE):
- $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-
-$(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
- -rm -rf $(SOURCE)
- $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
- echo $(SOURCE) > .gitignore
- cd $(SOURCE); patch -p0 < ../01-Makefile.patch
- cd $(SOURCE); patch -p0 < ../02-Makefile.darwin.patch
-
-$(LIBDYLIB): $(SOURCE)
- make -C $(SOURCE)
-
-.installed:
- make -C $(SOURCE) install
- touch $@
-
-clean:
- make -C $(SOURCE) clean
- rm .installed
-
-distclean::
- rm -rf $(SOURCE) .installed