]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use INCS for non-sys/ libnvpair and libzfs_core includes
authorKyle Evans <kevans@FreeBSD.org>
Mon, 13 Aug 2018 03:38:32 +0000 (03:38 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Mon, 13 Aug 2018 03:38:32 +0000 (03:38 +0000)
commitce33c57d6ca45b41af9fcc416498d86a77674729
tree3f35166151bdee353d1d59db0c95f026b3161ed4
parent20a3cbe1f8fd26ba7210ff15b00b3008aea4a407
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.

MFC after: 1 week
cddl/lib/libnvpair/Makefile
cddl/lib/libzfs_core/Makefile
include/Makefile