HomeFreeBSD

MFC r337696: Use INCS for non-sys/ libnvpair and libzfs_core includes

Description

MFC r337696: Use INCS for non-sys/ libnvpair and libzfs_core includes

While nothing was wrong with libnvpair.h, libzfs_core.h was only guarded by
MK_CDDL rather than MK_CDDL && MK_ZFS. Rather than ugl'if'ying
include/Makefile to impose the extra restriction, just move the non-sys/
includes into INCS with the respect lib builds.

This has the added bonus of allowing third party packagers to try and split
these libs out of the FreeBSD-runtime package, if they are so inclined.

The sys/ include was left alone- generally userland libraries shouldn't
install kernel headers.

Details

Provenance
kevansAuthored on
Parents
rS338079: MFC r337666: getopt_long(3): Document behavior, optstring leading characters
Branches
Unknown
Tags
Unknown