aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/Makefile.am')
-rw-r--r--include/linux/Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/Makefile.am b/include/linux/Makefile.am
new file mode 100644
index 000000000..0ea6cfeda
--- /dev/null
+++ b/include/linux/Makefile.am
@@ -0,0 +1,20 @@
+COMMON_H =
+
+KERNEL_H = \
+ $(top_srcdir)/include/linux/dcache_compat.h \
+ $(top_srcdir)/include/linux/xattr_compat.h \
+ $(top_srcdir)/include/linux/vfs_compat.h
+
+USER_H =
+
+EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
+
+if CONFIG_USER
+libzfsdir = $(includedir)/libzfs/linux
+libzfs_HEADERS = $(COMMON_H) $(USER_H)
+endif
+
+if CONFIG_KERNEL
+kerneldir = /usr/src/zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION)/linux
+kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
+endif