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
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
/
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
30 $(INSTALL_DIR
) $(IDIR_LIBGC
)/usr
/lib
31 $(CP
) $(WRKINST
)/usr
/lib
/libgc
*.so
* \
34 include ${ADK_TOPDIR}/mk
/host-bottom.mk
35 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk