1
0

Makefile 719 B

123456789101112131415161718192021222324
  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/mpfr/Makefile.inc
  5. PKG_NAME:= mpfr
  6. PKG_DESCR:= multi precision library
  7. PKG_SECTION:= libs
  8. PKG_BUILDDEP:= gmp
  9. PKG_URL:= http://www.mpfr.org/
  10. PKG_OPTS:= dev
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,MPFR,mpfr,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  13. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  14. mpfr-install:
  15. ${INSTALL_DIR} ${IDIR_MPFR}/usr/lib
  16. ${CP} ${WRKINST}/usr/lib/libmpfr.so* ${IDIR_MPFR}/usr/lib
  17. include ${TOPDIR}/mk/pkg-bottom.mk