freebsd-dev/sbin/bsdlabel/Makefile
Ulrich Spörlein 1cc06c674e Remove bsdlabel.5, which hasn't been installed in over 7 years
and contains little more than an out-dated copy of <sys/disklabel.h>
2011-03-10 08:23:58 +00:00

26 lines
493 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
WARNS?= 2
DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF}
LDADD= -lgeom -lbsdxml -lsbuf
.include <bsd.prog.mk>
test: ${PROG}
sh ${.CURDIR}/runtest.sh
testx: ${PROG}
sh -x ${.CURDIR}/runtest.sh