changed: Add logic to properly handle subtitles for stacked files
[vuplus_xbmc] / tools / depends / target / boost / Makefile
1 include ../../Makefile.include
2 DEPS= ../../Makefile.include add-arm-mem-barrier.patch fix-deprecated-swp.patch Makefile
3
4 #Headers Only!
5 LIBNAME=boost
6 VERSION=1_44_0
7 SOURCE=$(LIBNAME)_$(VERSION)
8 ARCHIVE=$(SOURCE).tar.bz2
9
10 all: .installed-$(PLATFORM)
11
12 $(TARBALLS_LOCATION)/$(ARCHIVE):
13         cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
14
15 $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
16         rm -rf $(PLATFORM); mkdir -p $(PLATFORM)
17         cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
18         echo 'using gcc : : $(CC) : ' > $(PLATFORM)/tools/build/v2/user-config.jam
19         echo '  <cflags>"$(CFLAGS)"' >> $(PLATFORM)/tools/build/v2/user-config.jam
20         echo '  <cxxflags>"$(CXXFLAGS)"' >> $(PLATFORM)/tools/build/v2/user-config.jam
21         echo '  ;' >> $(PLATFORM)/tools/build/v2/user-config.jam
22         cd $(PLATFORM); patch -p1 < ../add-arm-mem-barrier.patch
23         cd $(PLATFORM); patch -p1 < ../fix-deprecated-swp.patch
24         cd $(PLATFORM); ./bootstrap.sh --prefix=$(PREFIX)
25
26 .installed-$(PLATFORM): $(PLATFORM)
27         cd $(PLATFORM); ./bjam --prefix=$(PREFIX) toolset=gcc --toolset-root=$(TOOLCHAIN)/$(HOST)/bin --disable-icu \
28         --without-date_time --without-filesystem --without-graph --without-graph_parallel --without-iostreams --without-math --without-mpi --without-program_options \
29 --without-python --without-random --without-regex --without-serialization --without-signals --without-system --without-test --without-thread --without-wave install 
30         touch .installed-$(PLATFORM)
31
32 clean:
33         rm -rf $(PLATFORM) .installed-$(PLATFORM)
34
35 distclean::
36         rm -rf $(PLATFORM) .installed-$(PLATFORM)