pkgsrc/devel/pthread-stublib/buildlink3.mk
jlam c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
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
2006-07-08 23:10:35 +00:00

31 lines
1.1 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:47 jlam Exp $
# XXX
# XXX This file was created automatically using createbuildlink-3.10.
# XXX After this file has been verified as correct, the comment lines
# XXX beginning with "XXX" should be removed. Please do not commit
# XXX unverified buildlink3.mk files.
# XXX
# XXX Packages that only install static libraries or headers should
# XXX include the following line:
# XXX
# XXX BUILDLINK_DEPMETHOD.pthread-stublib?= build
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PTHREAD_STUBLIB_BUILDLINK3_MK:= ${PTHREAD_STUBLIB_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= pthread-stublib
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npthread-stublib}
BUILDLINK_PACKAGES+= pthread-stublib
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pthread-stublib
.if !empty(PTHREAD_STUBLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pthread-stublib+= pthread-stublib>=1.0
BUILDLINK_PKGSRCDIR.pthread-stublib?= ../../devel/pthread-stublib
.endif # PTHREAD_STUBLIB_BUILDLINK3_MK
IS_BUILTIN.pthread-stublib=no
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}