Makefile 768 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 $(TOPDIR)/toolchain/gmp/Makefile.inc
  6. include Makefile.inc
  7. include ${TOPDIR}/mk/buildhlp.mk
  8. $(WRKBUILD)/.headers:
  9. $(WRKBUILD)/.configured:
  10. (cd $(WRKBUILD); \
  11. $(WRKBUILD)/configure \
  12. --prefix=$(STAGING_TOOLS) \
  13. --build=$(GNU_HOST_NAME) \
  14. --host=$(GNU_HOST_NAME) \
  15. --with-gmp-build=$(GMP_BUILD_DIR) \
  16. --disable-shared \
  17. --enable-static \
  18. );
  19. touch $@
  20. $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
  21. $(MAKE) -C $(WRKBUILD) all
  22. touch $@
  23. $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
  24. $(MAKE) -C $(WRKBUILD) install
  25. touch $@
  26. include ${TOPDIR}/mk/toolchain.mk