1
0

Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= libgc
  5. PKG_VERSION:= 7.4.0
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 61f8fc6991f8cb003a0d3c7d251c5b9a76093615ef793e0c588a4661e0b5e283
  8. PKG_DESCR:= garbage collector library
  9. PKG_SECTION:= libs/misc
  10. PKG_BUILDDEP:= libatomic_ops
  11. HOST_BUILDDEP:= libatomic_ops-host libgc-host
  12. PKG_URL:= http://www.hboehm.info/gc/
  13. PKG_SITES:= http://www.hboehm.info/gc/gc_source/
  14. PKG_OPTS:= dev
  15. DISTFILES:= gc-${PKG_VERSION}.tar.gz
  16. WRKDIST= ${WRKDIR}/gc-${PKG_VERSION}
  17. include $(ADK_TOPDIR)/mk/host.mk
  18. include $(ADK_TOPDIR)/mk/package.mk
  19. $(eval $(call HOST_template,LIBGC,libgc,$(PKG_VERSION)-${PKG_RELEASE}))
  20. $(eval $(call PKG_template,LIBGC,libgc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. TARGET_CPPFLAGS+= -DNO_GETCONTEXT
  22. libgc-install:
  23. $(INSTALL_DIR) $(IDIR_LIBGC)/usr/lib
  24. $(CP) $(WRKINST)/usr/lib/libgc*.so* \
  25. $(IDIR_LIBGC)/usr/lib
  26. include ${ADK_TOPDIR}/mk/host-bottom.mk
  27. include ${ADK_TOPDIR}/mk/pkg-bottom.mk