Makefile 753 B

12345678910111213141516171819202122232425
  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. include ${TOPDIR}/toolchain/gmp/Makefile.inc
  5. PKG_NAME:= gmp
  6. PKG_DESCR:= GNU multiprecision arithmetic library
  7. PKG_SECTION:= libs
  8. PKG_URL:= http://gmplib.org/
  9. PKG_BUILDDEP:= autotool flex-host bison-host
  10. PKG_LIBNAME:= libgmp
  11. PKG_OPTS:= dev
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,LIBGMP,libgmp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  14. AUTOTOOL_STYLE:= autoreconf
  15. libgmp-install:
  16. ${INSTALL_DIR} ${IDIR_LIBGMP}/usr/lib
  17. ${CP} ${WRKINST}/usr/lib/libgmp.so* ${IDIR_LIBGMP}/usr/lib
  18. include ${TOPDIR}/mk/pkg-bottom.mk