Makefile 965 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. PKG_NAME:= pcc-libs
  5. PKG_VERSION:= 1.0.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a8dfcd6d3be512bc3f16f96c9abf132e
  8. PKG_DESCR:= Runtime for the Portable C Compiler
  9. PKG_SECTION:= lang
  10. PKG_URL:= http://pcc.ludd.ltu.se/
  11. PKG_SITES:= http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/
  12. PKG_ARCH_DEPENDS:= !arm !cris !mips
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,PCC_LIBS,pcc-libs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. # we cross-compile a native compiler for the target system
  17. CONFIGURE_ARGS+= --host=${REAL_GNU_TARGET_NAME}
  18. CONFIGURE_ARGS+= --target=${REAL_GNU_TARGET_NAME}
  19. pcc-libs-install:
  20. $(INSTALL_DIR) $(IDIR_PCC_LIBS)/usr/bin
  21. cd ${WRKINST} && cp -r * ${IDIR_PCC_LIBS}/
  22. include ${TOPDIR}/mk/pkg-bottom.mk