summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2016-10-28 15:15:51 +0000
committeravg <avg@FreeBSD.org>2016-10-28 15:15:51 +0000
commit4afc5744575d456111a31171ea678e829e77cae2 (patch)
treee2cedabf530a5f5332da9fba08f6b873f29d9ccc /include
parentf7937939f0e61a4fcb87a5bcf502f529d3063229 (diff)
downloadFreeBSD-src-4afc5744575d456111a31171ea678e829e77cae2.zip
FreeBSD-src-4afc5744575d456111a31171ea678e829e77cae2.tar.gz
MFC r307131: install header files required development with libzfs_core
Diffstat (limited to 'include')
-rw-r--r--include/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/Makefile b/include/Makefile
index 1c2bf39..449cdf4 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -236,6 +236,17 @@ copies:
cd ${.CURDIR}/../sys/rpc; \
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 types.h \
${DESTDIR}${INCLUDEDIR}/rpc
+.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:
@${ECHO} "Setting up symlinks to kernel source tree..."
OpenPOWER on IntegriCloud