binutils: fix default
[openadk.git] / package / libgc / Makefile
blob5971082e0793d118f29ca51cd40bd8e5b380fabf
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:= 7.4.0
8 PKG_RELEASE:= 2
9 PKG_HASH:= 61f8fc6991f8cb003a0d3c7d251c5b9a76093615ef793e0c588a4661e0b5e283
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