freebsd-dev/usr.bin/fstat/Makefile
Ruslan Ermilov 24c9b0c84e - Fix makefile so it doesn't break the build in some corner cases. [1]
- Remove an extra copy of zfs.c.

Reported by:	yar [1]
2008-04-29 06:48:00 +00:00

27 lines
388 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
# XXX This is a hack.
.if ${MK_CDDL} != "no"
CFLAGS+= -DZFS
OBJS+= zfs/zfs.o
SUBDIR= zfs
${PROG}: zfs
zfs/zfs.o:
@cd ${.CURDIR}/zfs && ${MAKE} zfs.o
.endif
.include <bsd.prog.mk>