Makefile 841 B

123456789101112131415161718192021222324252627
  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. include ${ADK_TOPDIR}/toolchain/libelf/Makefile.inc
  5. PKG_NAME:= libelf
  6. PKG_DESCR:= elf library
  7. PKG_SECTION:= libs/misc
  8. PKG_SITES:= http://www.mr511.de/software/
  9. PKG_OPTS:= dev
  10. include ${ADK_TOPDIR}/mk/package.mk
  11. $(eval $(call PKG_template,LIBELF,libelf,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  12. CONFIGURE_ENV+= mr_cv_target_elf=yes \
  13. ac_cv_sizeof_long_long=8
  14. CONFIGURE_ARGS+= --enable-elf64=yes \
  15. --disable-sanity-checks
  16. FAKE_FLAGS+= instroot="${WRKINST}"
  17. libelf-install:
  18. ${INSTALL_DIR} ${IDIR_LIBELF}/usr/lib
  19. ${CP} ${WRKINST}/usr/lib/libelf.so* ${IDIR_LIBELF}/usr/lib/
  20. include ${ADK_TOPDIR}/mk/pkg-bottom.mk