summaryrefslogtreecommitdiff
path: root/net/gnet/buildlink2.mk
blob: 475652341d71d6d80e234263c5fb53d4382203ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $NetBSD: buildlink2.mk,v 1.6 2004/02/14 17:56:05 minskim Exp $
#
# This Makefile fragment is included by packages that use gnet.
#

.if !defined(GNET_BUILDLINK2_MK)
GNET_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=			gnet
BUILDLINK_DEPENDS.gnet?=		gnet>=2.0.3nb1
BUILDLINK_PKGSRCDIR.gnet?=		../../net/gnet

EVAL_PREFIX+=	BUILDLINK_PREFIX.gnet=gnet
BUILDLINK_PREFIX.gnet_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.gnet+=	include/gnet-2.0/*.h
BUILDLINK_FILES.gnet+=	lib/gnet-2.0/include/gnetconfig.h
BUILDLINK_FILES.gnet+=	lib/libgnet-2.0.*

.include "../../devel/glib2/buildlink2.mk"

BUILDLINK_TARGETS+=	gnet-buildlink

gnet-buildlink: _BUILDLINK_USE

.endif	# GNET_BUILDLINK2_MK