binutils: update to 2.43.1
[openadk.git] / package / libgc / Makefile
blob61d170970ef62fd9d5336d3ccd89d0801604761e
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= libgc
7 PKG_VERSION:= 8.2.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 2540f7356cb74f6c5b75326c6d38a066edd796361fd7d4ed26e494d9856fed8f
10 PKG_DESCR:= garbage collector library
11 PKG_SECTION:= libs/misc
12 PKG_BUILDDEP:= libatomic_ops
13 HOST_BUILDDEP:= libatomic_ops-host libgc-host
14 PKG_URL:= http://www.hboehm.info/gc/
15 PKG_SITES:= http://www.hboehm.info/gc/gc_source/
16 PKG_OPTS:= dev
18 DISTFILES:= gc-${PKG_VERSION}.tar.gz
19 WRKDIST= ${WRKDIR}/gc-${PKG_VERSION}
21 include $(ADK_TOPDIR)/mk/host.mk
22 include $(ADK_TOPDIR)/mk/package.mk
24 $(eval $(call HOST_template,LIBGC,libgc,$(PKG_VERSION)-${PKG_RELEASE}))
25 $(eval $(call PKG_template,LIBGC,libgc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
27 TARGET_CPPFLAGS+= -DNO_GETCONTEXT
29 libgc-install:
30 $(INSTALL_DIR) $(IDIR_LIBGC)/usr/lib
31 $(CP) $(WRKINST)/usr/lib/libgc*.so* \
32 $(IDIR_LIBGC)/usr/lib
34 include ${ADK_TOPDIR}/mk/host-bottom.mk
35 include ${ADK_TOPDIR}/mk/pkg-bottom.mk