aboutsummaryrefslogtreecommitdiff
path: root/cddl
diff options
context:
space:
mode:
Diffstat (limited to 'cddl')
-rw-r--r--cddl/lib/libspl/Makefile6
-rw-r--r--cddl/usr.sbin/zhack/Makefile7
2 files changed, 8 insertions, 5 deletions
diff --git a/cddl/lib/libspl/Makefile b/cddl/lib/libspl/Makefile
index 13fd6d96f2af..d8d997c6f377 100644
--- a/cddl/lib/libspl/Makefile
+++ b/cddl/lib/libspl/Makefile
@@ -16,16 +16,16 @@ SRCS = \
os/freebsd/zone.c \
page.c \
timestamp.c \
- tunables.c \
include/sys/list.h \
include/sys/list_impl.h
-# These functions are not required when bootstrapping and the atomic code
-# will not compile when building on macOS.
+# These functions are not required when bootstrapping and the atomic code,
+# among others, will not compile when building on macOS.
.if !defined(BOOTSTRAPPING)
SRCS += \
atomic.c \
getexecname.c \
+ tunables.c \
os/freebsd/getexecname.c \
os/freebsd/gethostid.c \
os/freebsd/getmntany.c \
diff --git a/cddl/usr.sbin/zhack/Makefile b/cddl/usr.sbin/zhack/Makefile
index c4fc25dcfb8f..69d561b3407b 100644
--- a/cddl/usr.sbin/zhack/Makefile
+++ b/cddl/usr.sbin/zhack/Makefile
@@ -1,8 +1,11 @@
-.PATH: ${SRCTOP}/sys/contrib/openzfs/cmd
+ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
+
+.PATH: ${ZFSTOP}/cmd
+.PATH: ${ZFSTOP}/man/man1
PACKAGE= zfs
PROG= zhack
-MAN=
+MAN= zhack.1
WARNS?= 0
CSTD= c99