Add the release component to headers
[zfs.git] / include / sys / Makefile.am
index 59e1371..083e121 100644 (file)
@@ -42,18 +42,19 @@ COMMON_H = \
        $(top_srcdir)/include/sys/u8_textprep.h \
        $(top_srcdir)/include/sys/uberblock.h \
        $(top_srcdir)/include/sys/uberblock_impl.h \
+       $(top_srcdir)/include/sys/uio_impl.h \
        $(top_srcdir)/include/sys/unique.h \
        $(top_srcdir)/include/sys/uuid.h \
        $(top_srcdir)/include/sys/vdev_disk.h \
        $(top_srcdir)/include/sys/vdev_file.h \
        $(top_srcdir)/include/sys/vdev.h \
        $(top_srcdir)/include/sys/vdev_impl.h \
+       $(top_srcdir)/include/sys/xvattr.h \
        $(top_srcdir)/include/sys/zap.h \
        $(top_srcdir)/include/sys/zap_impl.h \
        $(top_srcdir)/include/sys/zap_leaf.h \
        $(top_srcdir)/include/sys/zfs_acl.h \
        $(top_srcdir)/include/sys/zfs_context.h \
-       $(top_srcdir)/include/sys/zfs_ctldir.h \
        $(top_srcdir)/include/sys/zfs_debug.h \
        $(top_srcdir)/include/sys/zfs_dir.h \
        $(top_srcdir)/include/sys/zfs_fuid.h \
@@ -62,6 +63,7 @@ COMMON_H = \
        $(top_srcdir)/include/sys/zfs_stat.h \
        $(top_srcdir)/include/sys/zfs_vfsops.h \
        $(top_srcdir)/include/sys/zfs_znode.h \
+       $(top_srcdir)/include/sys/zfs_vnops.h \
        $(top_srcdir)/include/sys/zil.h \
        $(top_srcdir)/include/sys/zil_impl.h \
        $(top_srcdir)/include/sys/zio_checksum.h \
@@ -71,9 +73,9 @@ COMMON_H = \
        $(top_srcdir)/include/sys/zrlock.h
 
 KERNEL_H = \
-       $(top_srcdir)/include/sys/blkdev.h \
        $(top_srcdir)/include/sys/zfs_ioctl.h \
        $(top_srcdir)/include/sys/zfs_onexit.h \
+       ${top_srcdir}/include/sys/zpl.h \
        $(top_srcdir)/include/sys/zvol.h
 
 USER_H =
@@ -86,6 +88,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H)
 endif
 
 if CONFIG_KERNEL
-kerneldir = /usr/src/zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION)/sys
+kerneldir = /usr/src/zfs-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE)/$(LINUX_VERSION)/sys
 kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
 endif