1
0

Makefile 995 B

123456789101112131415161718192021222324252627282930313233
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= cxxtools
  5. PKG_VERSION:= 2.2.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= aab00068ae5237435b37ac86f2ac7576
  8. PKG_DESCR:= collection of general-purpose c++ classes
  9. PKG_DEPENDS:= libstdcxx
  10. PKG_SECTION:= libs/misc
  11. PKG_URL:= http://www.tntnet.org/
  12. PKG_SITES:= http://www.tntnet.org/download/
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,CXXTOOLS,cxxtools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. ifeq ($(ADK_LINUX_XTENSA),y)
  18. CONFIGURE_ARGS+= --with-atomictype=generic
  19. endif
  20. CONFIGURE_ARGS+= --disable-demos \
  21. --disable-unittest
  22. cxxtools-install:
  23. ${INSTALL_DIR} ${IDIR_CXXTOOLS}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libcxxtools.so* ${IDIR_CXXTOOLS}/usr/lib
  25. include ${ADK_TOPDIR}/mk/pkg-bottom.mk