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
27 lines
776 B
Makefile
27 lines
776 B
Makefile
# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:13 jlam Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
XAW3D_BUILDLINK3_MK:= ${XAW3D_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= Xaw3d
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NXaw3d}
|
|
BUILDLINK_PACKAGES+= Xaw3d
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Xaw3d
|
|
|
|
.if !empty(XAW3D_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.Xaw3d+= Xaw3d>=1.5
|
|
BUILDLINK_ABI_DEPENDS.Xaw3d?= Xaw3d>=1.5Enb1
|
|
BUILDLINK_PKGSRCDIR.Xaw3d?= ../../x11/Xaw3d
|
|
.endif # XAW3D_BUILDLINK3_MK
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "../../mk/x11.buildlink3.mk"
|
|
|
|
LIBXAW?= -L${BUILDLINK_PREFIX.Xaw3d}/lib \
|
|
${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.Xaw3d}/lib \
|
|
-lXaw3d
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|