summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/fstat/Makefile')
-rw-r--r--usr.bin/fstat/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/usr.bin/fstat/Makefile b/usr.bin/fstat/Makefile
index 8ca57b9..baff3eb 100644
--- a/usr.bin/fstat/Makefile
+++ b/usr.bin/fstat/Makefile
@@ -1,6 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
+.include <bsd.own.mk>
+
PROG= fstat
SRCS= cd9660.c fstat.c msdosfs.c
DPADD= ${LIBKVM}
@@ -11,4 +13,11 @@ WARNS?= 6
CFLAGS+=-D_KVM_VNODE
+.if ${MK_CDDL} != "no"
+CFLAGS+= -DZFS
+OBJS+= zfs/zfs.o
+SUBDIR= zfs
+zfs/zfs.o: zfs
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud