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
:= 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
/
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