Subject: FYI: installation of kernel includes has changed.
To: None <current-users@NetBSD.ORG>
From: Chris G. Demetriou <>
List: current-users
Date: 06/12/1998 16:30:37
FYI, the way kernel include files are installed has changed.

'make includes' in the 'sys' subtree now traverses into
subdirectories, each of which installs its own appropriate include
files.  This means that it's easier to install a small chunk of
changed include files (e.g. a new /sys/vm), and the installation
process is much more flexible.

The additional flexibility opens options in terms of which headers get
installed when (i.e. on which machines), and also allows us to keep
the kernel from installing headers which will never be useful to
user-land programs.

There are really only two user-visible changes that result from this,
assuming people install includes normally:

	(1) instead of installing machine-dependent header files in
	    /usr/include/machine, the new code installs them in
	    /usr/include/${MACHINE}, and makes a symlink from machine
	    to ${MACHINE}.  (Expand ${MACHINE} as make would.  8-)

	(2) there was at least one bug in the old code, with respect
	    to installing includes when SYS_INCLUDE=symlinks was set.
	    The new code doesn't suffer from the bug, but doesn't
	    necessarily do the correct thing for all purposes, either.

You will need to 'make install' src/share/mk, to get a new make
template used by the kernel makefiles.