Makefile 724 B

1234567891011121314151617181920212223
  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:= multiprecision arithmetic library
  7. PKG_SECTION:= libs/misc
  8. PKG_URL:= http://gmplib.org/
  9. PKG_BUILDDEP:= m4-host 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. libgmp-install:
  15. ${INSTALL_DIR} ${IDIR_LIBGMP}/usr/lib
  16. ${CP} ${WRKINST}/usr/lib/libgmp.so* ${IDIR_LIBGMP}/usr/lib
  17. include ${TOPDIR}/mk/pkg-bottom.mk