diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-11 03:14:02 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-11 03:21:01 -0400 |
commit | 273a1084ba1512f0b024f0a337fbdf3de74e5d68 (patch) | |
tree | ad677dcf77b0660b2a2effa3eab957a3dd31742e /lib/Makefile | |
parent | 6b77e6868c44b372cdac951fd6360249437f0a5f (diff) | |
download | fork-ledger-273a1084ba1512f0b024f0a337fbdf3de74e5d68.tar.gz fork-ledger-273a1084ba1512f0b024f0a337fbdf3de74e5d68.tar.bz2 fork-ledger-273a1084ba1512f0b024f0a337fbdf3de74e5d68.zip |
Added a buildlibs phase, for rebuilding Boost
The advantage here is that it setups up the compiler path correctly.
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/lib/Makefile b/lib/Makefile index 066bc670..67b45485 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -7,22 +7,21 @@ STOW_ROOT = /usr/local/stow -HERE = $(shell pwd) - -BOOST_VER = 1_38_0 +BOOST_SOURCE = boost +BOOST_VERSION = 1_38_0 # architecture=combined boost-release: - (cd boost && \ - bjam release -j3 --prefix=$(STOW_ROOT)/boost_$(BOOST_VER) \ - --build-dir=$(HERE)/boost_$(BOOST_VER)/build --toolset=darwin \ - --build-type=complete install) + (cd $(BOOST_SOURCE) && \ + bjam release -j3 --prefix=$(STOW_ROOT)/boost_$(BOOST_VERSION) \ + --build-dir=$(HOME)/Products/boost_$(BOOST_VERSION) \ + --toolset=darwin --build-type=complete install) boost-debug: - (cd boost && \ - bjam debug -j3 --prefix=$(STOW_ROOT)/boost_$(BOOST_VER) \ - --build-dir=$(HERE)/boost_$(BOOST_VER)/build --toolset=darwin \ - --build-type=complete \ + (cd $(BOOST_SOURCE) && \ + bjam debug -j3 --prefix=$(STOW_ROOT)/boost_$(BOOST_VERSION) \ + --build-dir=$(HOME)/Products/boost_$(BOOST_VERSION) \ + --toolset=darwin --build-type=complete \ define=_GLIBCXX_DEBUG=1 install) boost-build: boost-release boost-debug @@ -47,3 +46,5 @@ cppunit-debug: make install) cppunit-build: cppunit-release cppunit-debug + +build-all: cppunit-build boost-build |