a58711550d
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
19 lines
397 B
Makefile
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>
|