1
0

Makefile 802 B

123456789101112131415161718192021222324252627282930313233
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. include ../rules.mk
  5. include $(TOPDIR)/toolchain/gmp/Makefile.inc
  6. include Makefile.inc
  7. include ${TOPDIR}/mk/buildhlp.mk
  8. ifeq (${ADK_MAKE_PARALLEL},y)
  9. MPFR_MAKEOPTS+= -j${ADK_MAKE_JOBS}
  10. endif
  11. $(WRKBUILD)/.headers:
  12. $(WRKBUILD)/.configured:
  13. (cd $(WRKBUILD); \
  14. $(WRKBUILD)/configure \
  15. --prefix=$(STAGING_HOST_DIR) \
  16. --with-gmp-build=$(GMP_BUILD_DIR) \
  17. --disable-shared \
  18. --enable-static \
  19. );
  20. touch $@
  21. $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
  22. $(MAKE) ${MPFR_MAKEOPTS} -C $(WRKBUILD) all
  23. touch $@
  24. $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
  25. $(MAKE) -C $(WRKBUILD) install
  26. touch $@
  27. include ${TOPDIR}/mk/toolchain.mk