aboutsummaryrefslogtreecommitdiff
path: root/cddl/share
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/share')
-rw-r--r--cddl/share/Makefile13
-rw-r--r--cddl/share/zfs/Makefile9
-rw-r--r--cddl/share/zfs/compatibility.d/Makefile28
3 files changed, 50 insertions, 0 deletions
diff --git a/cddl/share/Makefile b/cddl/share/Makefile
new file mode 100644
index 000000000000..68670ffbe7e0
--- /dev/null
+++ b/cddl/share/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+.include <src.opts.mk>
+
+SUBDIR= ${_zfs}
+
+.if ${MK_ZFS} != "no"
+_zfs= zfs
+.endif
+
+SUBDIR_PARALLEL=
+
+.include <bsd.subdir.mk>
diff --git a/cddl/share/zfs/Makefile b/cddl/share/zfs/Makefile
new file mode 100644
index 000000000000..98e10b60aae6
--- /dev/null
+++ b/cddl/share/zfs/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+.include <src.opts.mk>
+
+SUBDIR= compatibility.d
+
+SUBDIR_PARALLEL=
+
+.include <bsd.subdir.mk>
diff --git a/cddl/share/zfs/compatibility.d/Makefile b/cddl/share/zfs/compatibility.d/Makefile
new file mode 100644
index 000000000000..6531430ef050
--- /dev/null
+++ b/cddl/share/zfs/compatibility.d/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
+
+.PATH: ${ZFSTOP}/cmd/zpool/compatibility.d
+
+FILES= \
+ compat-2018 \
+ compat-2019 \
+ compat-2020 \
+ compat-2021 \
+ freebsd-11.0 \
+ freebsd-11.2 \
+ freebsd-11.3 \
+ freenas-9.10.2 \
+ grub2 \
+ openzfsonosx-1.7.0 \
+ openzfsonosx-1.8.1 \
+ openzfsonosx-1.9.3 \
+ openzfs-2.0-freebsd \
+ openzfs-2.0-linux \
+ zol-0.6.5 \
+ zol-0.7 \
+ zol-0.8
+
+FILESDIR= ${SHAREDIR}/zfs/compatibility.d
+
+.include <bsd.prog.mk>