]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r337696: Use INCS for non-sys/ libnvpair and libzfs_core includes
authorkevans <kevans@FreeBSD.org>
Mon, 20 Aug 2018 00:53:38 +0000 (00:53 +0000)
committerkevans <kevans@FreeBSD.org>
Mon, 20 Aug 2018 00:53:38 +0000 (00:53 +0000)
commit7aa37f3bfab6c528da3d083290a5d4ad842c71d9
tree0a051d0831fa2303da3e9327de2da16ef49715cd
parent10be16b97ea3437daa80fa4f8d719820a320e37a
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.
cddl/lib/libnvpair/Makefile
cddl/lib/libzfs_core/Makefile
include/Makefile