freebsd-nq/sbin/newfs/Makefile
Maxim Sobolev 32bdc2b685 Use expand_number(3) from libutil instead of home-grown function to parse
human-friendly power-of-two numbers (i.e. 2k, 5M etc).

Suggested by:	many
MFC after:	1 week
2010-03-03 19:25:28 +00:00

21 lines
402 B
Makefile

# @(#)Makefile 8.2 (Berkeley) 3/27/94
# $FreeBSD$
.PATH: ${.CURDIR}/../../sys/geom
PROG= newfs
DPADD= ${LIBUFS} ${LIBUTIL}
LDADD= -lufs -lutil
SRCS= newfs.c mkfs.c geom_bsd_enc.c
WARNS?= 3
MAN= newfs.8
.include <bsd.prog.mk>
test: ${PROG}
sh ${.CURDIR}/runtest01.sh
sh ${.CURDIR}/runtest00.sh | tee _.test
diff --ignore-matching-lines=FreeBSD _.test ${.CURDIR}/ref.test
echo All Tests Passed