Makefile 721 B

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