mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
532aff98f6
in df(1) when we have multiple filesystem types, and the complications of handling UFS2 pushes this over the edge. Use the .../mount/extern.h to get prototypes of the functions we borrow from there. Constify things to match. (why aren't these functions in a lib anyway ?) Make everything static and set WARNS?=5. The way the "df diskdevice" thing works for unmounted diskdevices is not very general. Sponsored by: DARPA & NAI Labs.
17 lines
214 B
Makefile
17 lines
214 B
Makefile
# @(#)Makefile 8.3 (Berkeley) 5/8/95
|
|
# $FreeBSD$
|
|
|
|
PROG= df
|
|
SRCS= df.c vfslist.c
|
|
|
|
MOUNT= ${.CURDIR}/../../sbin/mount
|
|
CFLAGS+= -I${MOUNT}
|
|
.PATH: ${MOUNT}
|
|
|
|
DPADD= ${LIBM}
|
|
LDADD= -lm
|
|
|
|
WARNS?= 5
|
|
|
|
.include <bsd.prog.mk>
|