freebsd-skq/usr.bin/fstat/Makefile
lulf c55024b789 - Add ZFS-support to fstat(1). This allows ZFS-filsystems to be including in
the open file-listing. It is added as a separate source file, so it can
  respect WITH_/WITHOUT_CDDL as compile-flags.
- The warnlevel of the Makefile was decreased to quell solaris #pragma
  warnings.
- Expect that fstat(1) doesn't work with kernel compiled with
  DEBUG_VFS_LOCKS/DEBUG_LOCKS for now.

Approved by:	pjd (mentor)
2007-11-05 23:15:03 +00:00

24 lines
320 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
.include <bsd.own.mk>
PROG= fstat
SRCS= cd9660.c fstat.c msdosfs.c
DPADD= ${LIBKVM}
LDADD= -lkvm
BINGRP= kmem
BINMODE=2555
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>