1 # $NetBSD: x11.version.mk,v 1.9 2007/09/30 12:25:48 rillig Exp $
3 # This file must not be included directly.
5 # XXX: How is it used then?
7 # User-settable variables:
10 # The X11 distribution that is used for building X11 packages.
13 # * native: use the native X11 distribution
14 # * modular: use modular Xorg from pkgsrc
16 # Default: native, unless defined for a specific operating system
17 # in mk/platform/${OPSYS}.mk.
19 # Variables provided by this file:
21 # X11_PKGSRCDIR.${X11_TYPE}
22 # The directory where the buildlink3.mk or builtin.mk files can
23 # be found for the X11 distribution.
25 # BUILTIN_X11_TYPE.${X11_TYPE}
26 # The X11_TYPE of the native X11 distribution detected on the
29 # Variables that _may_ be defined by this file. These variables
30 # should be checked to exist before they are used:
32 # BUILTIN_X11_VERSION.${X11_TYPE}
33 # The version number of the native X11 distribution detected on
38 _USER_VARS.x11= X11_TYPE X11BASE
39 _PKG_VARS.x11= USE_X11BASE
40 _SYS_VARS.x11= X11_PKGSRCDIR.${X11_TYPE} BUILTIN_X11_TYPE.${X11_TYPE} BUILTIN_X11_VERSION.${X11_TYPE}
42 X11_PKGSRCDIR.native= ../../pkgtools/x11-links
44 .include "${X11_PKGSRCDIR.${X11_TYPE}}/version.mk"