1 # $NetBSD: x11.builtin.mk,v 1.3 2008/10/05 21:36:35 cube Exp $
3 # x11.builtin.mk will include the builtin.mk file from the appropriate
6 # BUILTIN_PKG and USE_BUILTIN.<BUILTIN_PKG> must be defined by the caller
8 .if
${X11_TYPE} == "modular"
9 USE_BUILTIN.
${BUILTIN_PKG}= no
12 # XXX make(1) idiosyncrasy
13 # 'CHECK_BUILTIN.${BUILTIN_PKG}?= no' will overwrite the value on older
14 # version of make (in NetBSD's base system, prior to 20080331).
15 .if
!defined
(CHECK_BUILTIN.
${BUILTIN_PKG})
16 CHECK_BUILTIN.
${BUILTIN_PKG}= no
19 .if
!empty
(CHECK_BUILTIN.
${BUILTIN_PKG}:M
[Nn
][Oo
])
20 . if
!empty
(USE_BUILTIN.
${BUILTIN_PKG}:M
[Yy
][Ee
][Ss
])
22 BUILDLINK_PREFIX.
${BUILTIN_PKG}= ${X11BASE}
24 .
include "../../mk/x11.buildlink3.mk"
25 .
include "../../mk/x11.version.mk"
26 .
include "${X11_PKGSRCDIR.${X11_TYPE}}/builtin.mk"