diff options
author | davilla <davilla@4pi.com> | 2011-06-13 15:39:36 -0400 |
---|---|---|
committer | davilla <davilla@4pi.com> | 2011-06-13 15:48:04 -0400 |
commit | b3b9944641b55013e20502176ec0f1dd9ef5f1c0 (patch) | |
tree | 77244de6e0c1315215ea4bdf285fdccbb9308a3c /tools | |
parent | b7f58ad5b70f4cee43af326ee6e684726b928ac2 (diff) |
[osx/ios] refactor darwin depends make for boost
Diffstat (limited to 'tools')
-rw-r--r-- | tools/darwin/depends/boost/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/tools/darwin/depends/boost/Makefile b/tools/darwin/depends/boost/Makefile index 30d50690d6..0aea7f68f0 100644 --- a/tools/darwin/depends/boost/Makefile +++ b/tools/darwin/depends/boost/Makefile @@ -6,14 +6,12 @@ VERSION=1_44_0 SOURCE=$(LIBNAME)_$(VERSION) ARCHIVE=$(SOURCE).tar.bz2 -LIBDYLIB=$(PREFIX)/lib/libboost_thread.a - -all: $(LIBDYLIB) +all: .installed $(TARBALLS_LOCATION)/$(ARCHIVE): $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE) -$(LIBDYLIB): $(TARBALLS_LOCATION)/$(ARCHIVE) +.installed: $(TARBALLS_LOCATION)/$(ARCHIVE) rm -rf $(SOURCE) $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) echo $(SOURCE) > .gitignore @@ -22,15 +20,11 @@ $(LIBDYLIB): $(TARBALLS_LOCATION)/$(ARCHIVE) user-config.jam.in >> $(SOURCE)/tools/build/v2/user-config.jam cd $(SOURCE); ./bootstrap.sh --prefix=$(PREFIX) --with-libraries=thread cd $(SOURCE); ./bjam --prefix=$(PREFIX) $(bjam_args) install + touch .installed clean: - cd $(SOURCE); ./bjam --clean - rm -rf $(PREFIX)/include/boost - rm -f $(PREFIX)/lib/libboost* - rm -f .installed + rm -rf $(SOURCE) .installed distclean:: - rm -rf $(PREFIX)/include/boost - rm -f $(PREFIX)/lib/libboost* rm -rf $(SOURCE) .installed |