1 include $(SRCDIR)/config/aros.cfg
7 ICU_PKGVERSION=$(subst .,_,$(ICU_VERSION))
10 --bindir=$(CROSSTOOLSDIR) \
11 --sbindir=$(CROSSTOOLSDIR) \
19 --with-data-packaging=static
21 ICU_REPOSITORY := http://download.icu-project.org/files/$(ICU_PKGNAME)/$(ICU_VERSION)
23 icu-installflag := $(CROSSTOOLSDIR)/.installflag-icu-$(ICU_VERSION)
26 tools-crosstools-icu :
27 @$(IF) ! $(TEST) -d $(CROSSTOOLSDIR) \
28 || ! $(TEST) -f $(icu-installflag) ; then \
29 $(RM) $(CROSSTOOLSDIR)/$(ICU_PKGNAME)/.files-touched \
30 && $(MAKE) -f ./mmakefile crosstools-icu--fetch \
31 && $(MAKE) -f ./mmakefile crosstools-icu--build_and_install-quick \
32 && $(TOUCH) $(icu-installflag) ; \
35 HOST_CXXFLAGS := $(subst -Wno-pointer-sign,, $(subst -Werror-implicit-function-declaration,, $(HOST_CXXFLAGS)))
37 # specify the gendir for icu to be in HOSTDIR so it ends up under CROSSTOOLSDIR, and can be reused
38 %fetch_and_build mmake=crosstools-icu package=$(ICU_PKGNAME) version=$(ICU_PKGVERSION)-src compiler=host \
39 package_repo="$(ICU_REPOSITORY)" suffixes="tgz" \
40 patch=yes srcdir=icu builddir=source gendir=$(CROSSTOOLSDIR) basedir= \
41 prefix="$(CROSSTOOLSDIR)" \
42 extraoptions="$(ICU_EXTRA_OPTS)" extracflags=$(ICU_FLAGS)