mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
install header files required development with libzfs_core
libzfs_core provides a rather limited but committed (stable) interface for working with ZFS. We install libzfs_core shared library but we do not install header files required for developing programs that use the library. This change is to install the required header files libzfs_core.h, libnvpair.h and sys/nvpair.h. The headers are installed into the same locations as on illumos. Reviewed by: mav, markj Differential Revision: https://reviews.freebsd.org/D8005
This commit is contained in:
parent
94dce59911
commit
dca5dd6894
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=307131
|
@ -237,6 +237,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..."
|
||||
|
|
Loading…
Reference in a new issue