freebsd-dev/sbin/bsdlabel/Makefile

27 lines
504 B
Makefile
Raw Normal View History

# @(#)Makefile 8.2 (Berkeley) 3/17/94
# $FreeBSD$
.PATH: ${.CURDIR}/../../sys/geom
PROG= bsdlabel
SRCS= bsdlabel.c geom_bsd_enc.c
#MAN= bsdlabel.5
MAN+= bsdlabel.8
2006-08-22 08:03:01 +00:00
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "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