summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2008-04-29 06:48:00 +0000
committerru <ru@FreeBSD.org>2008-04-29 06:48:00 +0000
commit2f007af8077d32f602bef4ba826e379ef66d6665 (patch)
treef30085e6aff1c406e3ed4c8eaef556277c0b1d31 /usr.bin/fstat/Makefile
parent4121b0c965df199689f538ea14e1851ac66a1c37 (diff)
downloadFreeBSD-src-2f007af8077d32f602bef4ba826e379ef66d6665.zip
FreeBSD-src-2f007af8077d32f602bef4ba826e379ef66d6665.tar.gz
- 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]
Diffstat (limited to 'usr.bin/fstat/Makefile')
-rw-r--r--usr.bin/fstat/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/fstat/Makefile b/usr.bin/fstat/Makefile
index bcf4df8..45d0e45 100644
--- a/usr.bin/fstat/Makefile
+++ b/usr.bin/fstat/Makefile
@@ -18,7 +18,9 @@ CFLAGS+=-D_KVM_VNODE
CFLAGS+= -DZFS
OBJS+= zfs/zfs.o
SUBDIR= zfs
-zfs/zfs.o: zfs
+${PROG}: zfs
+zfs/zfs.o:
+ @cd ${.CURDIR}/zfs && ${MAKE} zfs.o
.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud