summaryrefslogtreecommitdiff
path: root/devel/ptl2/buildlink2.mk
blob: 708072857070908421847e32d9dc54a6280bd891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: buildlink2.mk,v 1.3 2002/09/23 02:28:38 jlam Exp $

.if !defined(PTL2_BUILDLINK2_MK)
PTL2_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		ptl2
BUILDLINK_DEPENDS.ptl2?=	ptl>=2.1.7
BUILDLINK_PKGSRCDIR.ptl2?=	../../devel/ptl2

EVAL_PREFIX+=			BUILDLINK_PREFIX.ptl2=ptl
BUILDLINK_PREFIX.ptl2_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.ptl2=		PTL/include/*/*/*.h
BUILDLINK_FILES.ptl2+=		PTL/include/*/*.h
BUILDLINK_FILES.ptl2+=		PTL/include/*.h
BUILDLINK_FILES.ptl2+=		lib/libPTL.*

BUILDLINK_CPPFLAGS.ptl2=	-I${BUILDLINK_PREFIX.ptl2}/PTL/include

BUILDLINK_TARGETS+=	ptl2-buildlink

ptl2-buildlink: _BUILDLINK_USE

.endif	# PTL2_BUILDLINK2_MK