aboutsummaryrefslogtreecommitdiff
path: root/tools/osx
diff options
context:
space:
mode:
authorS. Davilla <davilla@4pi.com>2011-03-15 20:57:14 -0400
committerS. Davilla <davilla@4pi.com>2011-03-15 23:32:38 -0400
commitcc45e8b6177b468af101b7ba3355c85e13984fbe (patch)
treea59ef2a757cd2cedbc8cc5753ae7057be0ff011a /tools/osx
parent641431cb474a4c8db7a7959fbb120149168aa634 (diff)
[osx] fixed osx-depends python makefile to build once
Diffstat (limited to 'tools/osx')
-rw-r--r--tools/osx/osx-depends/boost/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/tools/osx/osx-depends/boost/Makefile b/tools/osx/osx-depends/boost/Makefile
index a11094031b..bd0c3c5161 100644
--- a/tools/osx/osx-depends/boost/Makefile
+++ b/tools/osx/osx-depends/boost/Makefile
@@ -12,32 +12,28 @@ SOURCE=$(LIBNAME)_$(VERSION)
# download location and format
BASE_URL=http://mirrors.xbmc.org/build-deps/darwin-libs
TARBALLS_LOCATION=/Users/Shared/xbmc-depends/tarballs
+
RETRIEVE_TOOL=/usr/bin/curl
RETRIEVE_TOOL_FLAGS=-Ls --create-dirs --output $(TARBALLS_LOCATION)/$(ARCHIVE)
ARCHIVE=$(SOURCE).tar.bz2
ARCHIVE_TOOL=tar
ARCHIVE_TOOL_FLAGS=xf
-LIBDYLIB=$(PREFIX)/lib/libboost_thread-mt.a
+LIBDYLIB=$(PREFIX)/lib/libboost_thread.dylib
-all: $(LIBDYLIB) .installed
+all: $(LIBDYLIB)
$(TARBALLS_LOCATION)/$(ARCHIVE):
$(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-$(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
+$(LIBDYLIB): $(TARBALLS_LOCATION)/$(ARCHIVE)
rm -rf $(SOURCE)
$(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
echo $(SOURCE) > .gitignore
cat user-config.jam-osx-10.4_i386.in >> $(SOURCE)/tools/build/v2/user-config.jam
-
-$(LIBDYLIB): $(SOURCE)
cd $(SOURCE); ./bootstrap.sh --prefix=$(PREFIX) --with-libraries=thread
cd $(SOURCE); ./bjam --prefix=$(PREFIX) toolset=darwin-4.0 --architecture=x86 address-model=32 target-os=darwin macosx-version=10.4 macosx-version-min=10.4 --link=static install
-.installed:
- touch $@
-
clean:
cd $(SOURCE); ./bjam --clean
rm -rf $(PREFIX)/include/boost