freebsd-dev/sbin/bsdlabel/Makefile
Ulrich Spörlein a58711550d Widen fields that display partition offset/length.
This makes partitions between 50GiB and 2TiB (16TiB for 4k drives) print
correctly aligned.

While here, fix type of secsize. g_sectorsize() returns ssize_t, don't
store this in an unsigned var. Bump WARNS to 6.

MFC after:	4 weeks
2011-03-10 08:24:33 +00:00

19 lines
397 B
Makefile

# @(#)Makefile 8.2 (Berkeley) 3/17/94
# $FreeBSD$
.PATH: ${.CURDIR}/../../sys/geom
PROG= bsdlabel
SRCS= bsdlabel.c geom_bsd_enc.c
MAN+= bsdlabel.8
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
MLINKS= bsdlabel.8 disklabel.8
.endif
DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF}
LDADD= -lgeom -lbsdxml -lsbuf
.include <bsd.prog.mk>