c55024b789
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)
24 lines
320 B
Makefile
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>
|