freebsd-skq/bin/df/Makefile
Poul-Henning Kamp 532aff98f6 Remove the private code for reading UFS superblocks, this does not belong
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.
2002-05-12 19:24:09 +00:00

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>