diff options
Diffstat (limited to 'tools/depends/target/boost/Makefile')
-rw-r--r-- | tools/depends/target/boost/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tools/depends/target/boost/Makefile b/tools/depends/target/boost/Makefile new file mode 100644 index 0000000000..f79a6d736b --- /dev/null +++ b/tools/depends/target/boost/Makefile @@ -0,0 +1,36 @@ +include ../../Makefile.include +DEPS= ../../Makefile.include add-arm-mem-barrier.patch fix-deprecated-swp.patch Makefile + +#Headers Only! +LIBNAME=boost +VERSION=1_44_0 +SOURCE=$(LIBNAME)_$(VERSION) +ARCHIVE=$(SOURCE).tar.bz2 + +all: .installed-$(PLATFORM) + +$(TARBALLS_LOCATION)/$(ARCHIVE): + cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE) + +$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS) + rm -rf $(PLATFORM); mkdir -p $(PLATFORM) + cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) + echo 'using gcc : : $(CC) : ' > $(PLATFORM)/tools/build/v2/user-config.jam + echo ' <cflags>"$(CFLAGS)"' >> $(PLATFORM)/tools/build/v2/user-config.jam + echo ' <cxxflags>"$(CXXFLAGS)"' >> $(PLATFORM)/tools/build/v2/user-config.jam + echo ' ;' >> $(PLATFORM)/tools/build/v2/user-config.jam + cd $(PLATFORM); patch -p1 < ../add-arm-mem-barrier.patch + cd $(PLATFORM); patch -p1 < ../fix-deprecated-swp.patch + cd $(PLATFORM); ./bootstrap.sh --prefix=$(PREFIX) + +.installed-$(PLATFORM): $(PLATFORM) + cd $(PLATFORM); ./bjam --prefix=$(PREFIX) toolset=gcc --toolset-root=$(TOOLCHAIN)/$(HOST)/bin --disable-icu \ + --without-date_time --without-filesystem --without-graph --without-graph_parallel --without-iostreams --without-math --without-mpi --without-program_options \ +--without-python --without-random --without-regex --without-serialization --without-signals --without-system --without-test --without-thread --without-wave install + touch .installed-$(PLATFORM) + +clean: + rm -rf $(PLATFORM) .installed-$(PLATFORM) + +distclean:: + rm -rf $(PLATFORM) .installed-$(PLATFORM) |