crisv32 needs latest gcc from git
[openadk.git] / toolchain / mpfr / Makefile
blobe24867a5a7f08664d543e817cf9ad987d8620810
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
5 include ../rules.mk
6 include Makefile.inc
7 include ${ADK_TOPDIR}/mk/buildhlp.mk
9 ifeq (${ADK_MAKE_PARALLEL},y)
10 MPFR_MAKEOPTS+= -j${ADK_MAKE_JOBS}
11 endif
13 $(WRKBUILD)/.configured:
14 (cd $(WRKBUILD); \
15 $(WRKBUILD)/configure \
16 --prefix=$(STAGING_HOST_DIR)/usr \
17 --with-gmp=$(STAGING_HOST_DIR)/usr \
18 --disable-shared \
19 --enable-static \
21 touch $@
23 $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
24 $(MAKE) ${MPFR_MAKEOPTS} -C $(WRKBUILD) all
25 touch $@
27 $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
28 $(MAKE) -C $(WRKBUILD) install
29 touch $@
31 include ${ADK_TOPDIR}/mk/toolchain.mk