Makefile 723 B

12345678910111213141516171819202122232425262728293031
  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 Makefile.inc
  6. include ${TOPDIR}/mk/buildhlp.mk
  7. ifeq (${ADK_MAKE_PARALLEL},y)
  8. MPFR_MAKEOPTS+= -j${ADK_MAKE_JOBS}
  9. endif
  10. $(WRKBUILD)/.headers:
  11. $(WRKBUILD)/.configured:
  12. (cd $(WRKBUILD); \
  13. $(WRKBUILD)/configure \
  14. --prefix=$(STAGING_HOST_DIR)/usr \
  15. --disable-shared \
  16. --enable-static \
  17. );
  18. touch $@
  19. $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
  20. $(MAKE) ${MPFR_MAKEOPTS} -C $(WRKBUILD) all
  21. touch $@
  22. $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
  23. $(MAKE) -C $(WRKBUILD) install
  24. touch $@
  25. include ${TOPDIR}/mk/toolchain.mk