pkgsrc/devel/ptl2/buildlink2.mk
jlam 011e4075f8 Use BUILDLINK_CPPFLAGS.<pkg> and BUILDLINK_LDFLAGS.<pkg> as standard names
for the extra CPPFLAGS and LDFLAGS needed by packages that include these
buildlink2.mk files.
2002-09-23 02:28:36 +00:00

23 lines
645 B
Makefile

# $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