and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
22 lines
635 B
Makefile
22 lines
635 B
Makefile
# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:51 jlam Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
GLUT_BUILDLINK3_MK:= ${GLUT_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= glut
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nglut}
|
|
BUILDLINK_PACKAGES+= glut
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}glut
|
|
|
|
.if !empty(GLUT_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.glut+= glut>=3.4.2
|
|
BUILDLINK_ABI_DEPENDS.glut+= glut>=6.4.1nb1
|
|
BUILDLINK_PKGSRCDIR.glut?= ../../graphics/glut
|
|
.endif # GLUT_BUILDLINK3_MK
|
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|