pkgsrc/devel/pth/buildlink2.mk
jlam e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00

21 lines
555 B
Makefile

# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:38:44 jlam Exp $
.if !defined(PTH_BUILDLINK2_MK)
PTH_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= pth
BUILDLINK_DEPENDS.pth?= pth>=1.4.0
BUILDLINK_PKGSRCDIR.pth?= ../../devel/pth
EVAL_PREFIX+= BUILDLINK_PREFIX.pth=pth
BUILDLINK_PREFIX.pth_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.pth= include/pth.h
BUILDLINK_FILES.pth+= include/pthread.h
BUILDLINK_FILES.pth+= lib/libpth.*
BUILDLINK_FILES.pth+= lib/libpthread.*
BUILDLINK_TARGETS+= pth-buildlink
pth-buildlink: _BUILDLINK_USE
.endif # PTH_BUILDLINK2_MK