Makefile 929 B

1234567891011121314151617181920212223242526272829
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,PCC_LIBS,pcc-libs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. # we cross-compile a native compiler for the target system
  16. CONFIGURE_ARGS+= --host=${REAL_GNU_TARGET_NAME}
  17. CONFIGURE_ARGS+= --target=${REAL_GNU_TARGET_NAME}
  18. pcc-libs-install:
  19. $(INSTALL_DIR) $(IDIR_PCC_LIBS)/usr/bin
  20. cd ${WRKINST} && cp -r * ${IDIR_PCC_LIBS}/
  21. include ${TOPDIR}/mk/pkg-bottom.mk