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