freebsd-dev/sbin/ffsinfo/Makefile
Robert Watson 942d2e0205 Commit 1 of 2 to fix ffsinfo(8) for UFS2.
Update ffsinfo(8) to use new UFS2 support in the growfs(8) debugging
functions.  Largely consists of renaming fields and types to be aware
of the UFS1/UFS2 distinction, relying on libufs(3) to open and sanity
check the device/file/label accessed.

Since libufs(3) now handles label/UFS interactions, remove -L argument.

Note: when submitted, this patch had substantial style changes.  I've
attempted to remove the restyling from the patch to separate the
functional and style changes.

Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
PR:		bin/53517
2003-08-14 18:55:31 +00:00

22 lines
401 B
Makefile

# @(#)Makefile 8.8 (Berkeley) 6/21/2000
#
# $TSHeader: src/sbin/ffsinfo/Makefile,v 1.3 2000/12/05 19:45:10 tomsoft Exp $
# $FreeBSD$
#
MAINTAINER= tomsoft@FreeBSD.ORG, chm@FreeBSD.ORG
GROWFS= ${.CURDIR}/../growfs
.PATH: ${GROWFS}
PROG= ffsinfo
SRCS= ffsinfo.c debug.c
MAN= ffsinfo.8
WARNS?= 0
CFLAGS+=-DFS_DEBUG -I${GROWFS}
DPADD= ${LIBUFS}
LDADD= -lufs
.include <bsd.prog.mk>