Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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:= icedtea6
  5. PKG_VERSION:= 1.10
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= fd3f35e8a8a2ef9a64c035ed66cea06d 2d2bbbb0f9b81f1fec41ec730da8a933
  8. PKG_DESCR:= OpenJDK Java VM
  9. PKG_SECTION:= lang
  10. PKG_URL:= http://icedtea.classpath.org/
  11. PKG_SITES:= http://icedtea.classpath.org/download/source/ \
  12. http://download.java.net/openjdk/jdk6/promoted/b22/
  13. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz openjdk-6-src-b22-28_feb_2011.tar.gz
  14. PKG_SUBPKGS:= OPENJDK
  15. PKG_CHOICES_OPENJDK:= ZERO SHARK CACAO JAMVM
  16. PKGCD_ZERO:= zero-assembly backend
  17. PKGCD_SHARK:= JIT backend
  18. PKGCD_CACAO:= Cacao JIT backend
  19. PKGCD_JAMVM:= JamVM backend
  20. include $(TOPDIR)/mk/package.mk
  21. $(eval $(call PKG_template,OPENJDK,openjdk,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. ifeq ($(ADK_PACKAGE_OPENJDK_ZERO),y)
  23. CONFIGURE_ARGS+= --enable-zero
  24. endif
  25. ifeq ($(ADK_PACKAGE_OPENJDK_SHARK),y)
  26. CONFIGURE_ARGS+= --enable-shark
  27. endif
  28. CONFIGURE_ARGS+= --disable-docs \
  29. --enable-bootstrap \
  30. --with-jdk-home=$(STAGING_HOST_DIR)/lib/jvm \
  31. --with-xalan2-jar=/opt/local/share/java/xalan.jar \
  32. --with-xalan2-serializer-jar=/opt/local/share/java/serializer.jar \
  33. --with-xerces2-jar=/opt/local/share/java/xercesImpl.jar \
  34. --with-openjdk-src-zip=$(TOPDIR)/dl/openjdk-6-src-b22-28_feb_2011.tar.gz \
  35. --with-ecj-jar=$(TOPDIR)/dl/ecj.jar \
  36. --with-gcj \
  37. --without-rhino \
  38. --disable-xrender \
  39. --disable-nss
  40. openjdk-install:
  41. $(INSTALL_DIR) $(IDIR_OPENJDK)/usr/bin
  42. include ${TOPDIR}/mk/pkg-bottom.mk