Makefile 703 B

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