pkgsrc/lang/Cg-compiler/buildlink3.mk
jlam 9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00

20 lines
648 B
Makefile

# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:21 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CG_COMPILER_BUILDLINK3_MK:= ${CG_COMPILER_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= Cg-compiler
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NCg-compiler}
BUILDLINK_PACKAGES+= Cg-compiler
BUILDLINK_ORDER+= Cg-compiler
.if !empty(CG_COMPILER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Cg-compiler+= Cg-compiler>=1.2.1
BUILDLINK_ABI_DEPENDS.Cg-compiler?= Cg-compiler>=1.3beta2nb1
BUILDLINK_PKGSRCDIR.Cg-compiler?= ../../lang/Cg-compiler
.endif # CG_COMPILER_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}