diff options
author | ru <ru@FreeBSD.org> | 2008-04-29 06:48:00 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2008-04-29 06:48:00 +0000 |
commit | 2f007af8077d32f602bef4ba826e379ef66d6665 (patch) | |
tree | f30085e6aff1c406e3ed4c8eaef556277c0b1d31 /usr.bin/fstat/Makefile | |
parent | 4121b0c965df199689f538ea14e1851ac66a1c37 (diff) | |
download | FreeBSD-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/Makefile | 4 |
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> |