1
0

Makefile 1005 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. PKG_NAME:= jikes
  5. PKG_VERSION:= 1.22
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= cda958c7fef6b43b803e1d1ef9afcb85
  8. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=jikes/Jikes/1.22/}
  9. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
  10. include ../rules.mk
  11. install: ${STAGING_JAVA_HOST_DIR}/usr/bin/jikes
  12. $(WRKBUILD)/.configured: ${WRKDIST}/.prepared
  13. (cd $(WRKBUILD); ./configure --prefix=/usr);
  14. touch $@
  15. $(WRKBUILD)/.compiled: ${WRKDIST}/.configured
  16. ${MAKE} -C ${WRKBUILD} $(MAKE_TRACE)
  17. touch $@
  18. ${STAGING_JAVA_HOST_DIR}/usr/bin/jikes: $(WRKBUILD)/.compiled
  19. ${MAKE} -C ${WRKBUILD} DESTDIR=$(STAGING_JAVA_HOST_DIR) install $(MAKE_TRACE)
  20. $(CP) ${STAGING_JAVA_HOST_DIR}/usr/bin/jikes ${STAGING_JAVA_HOST_DIR}/usr/lib/jvm/bin/javac
  21. $(CP) ${STAGING_JAVA_HOST_DIR}/usr/bin/jikes ${STAGING_JAVA_HOST_DIR}/usr/lib/jvm/jre/bin/javac
  22. include $(TOPDIR)/mk/tools.mk