diff options
author | avg <avg@FreeBSD.org> | 2016-10-28 15:15:27 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2016-10-28 15:15:27 +0000 |
commit | a6bc08078584b54eb2378e5b79d13154e0e1793c (patch) | |
tree | 4b8691fd5521a56e15517db261d85c9852a5413b /include | |
parent | 60fc64af84ae1c1b31f4e16c5443e99c65865a5f (diff) | |
download | FreeBSD-src-a6bc08078584b54eb2378e5b79d13154e0e1793c.zip FreeBSD-src-a6bc08078584b54eb2378e5b79d13154e0e1793c.tar.gz |
MFC r307131: install header files required development with libzfs_core
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/Makefile b/include/Makefile index ebac882..0675bf2 100644 --- a/include/Makefile +++ b/include/Makefile @@ -236,6 +236,17 @@ copies: .PHONY .META cd ${.CURDIR}/../sys/teken; \ ${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 teken.h \ ${DESTDIR}${INCLUDEDIR}/teken +.if ${MK_CDDL} != "no" + cd ${.CURDIR}/../cddl/contrib/opensolaris/lib/libzfs_core/common; \ + ${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 libzfs_core.h \ + ${DESTDIR}${INCLUDEDIR} + cd ${.CURDIR}/../cddl/contrib/opensolaris/lib/libnvpair; \ + ${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 libnvpair.h \ + ${DESTDIR}${INCLUDEDIR} + cd ${.CURDIR}/../sys/cddl/contrib/opensolaris/uts/common/sys; \ + ${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 nvpair.h \ + ${DESTDIR}${INCLUDEDIR}/sys +.endif symlinks: .PHONY .META @${ECHO} "Setting up symlinks to kernel source tree..." |