c423c00a1a
add/find/remove of C structures. Any structure having a unique, arbitrarily-typed key member can be hashed by adding a UT_hash_handle member to the structure and calling these macros.
13 lines
331 B
Makefile
13 lines
331 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1 2015/10/07 12:33:16 adam Exp $
|
|
|
|
BUILDLINK_TREE+= uthash
|
|
|
|
.if !defined(UTHASH_BUILDLINK3_MK)
|
|
UTHASH_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.uthash+= uthash>=1.9.9
|
|
BUILDLINK_PKGSRCDIR.uthash?= ../../devel/uthash
|
|
BUILDLINK_DEPMETHOD.uthash?= build
|
|
.endif # UTHASH_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -uthash
|