Makefile revision 183296
1#	@(#)Makefile	8.2 (Berkeley) 3/17/94
2# $FreeBSD: head/sbin/bsdlabel/Makefile 183296 2008-09-23 13:12:51Z ru $
3
4.PATH: ${.CURDIR}/../../sys/geom
5
6PROG=	bsdlabel
7SRCS=	bsdlabel.c geom_bsd_enc.c
8#MAN=	bsdlabel.5
9MAN+=	bsdlabel.8
10
11.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
12LINKS=	${BINDIR}/bsdlabel ${BINDIR}/disklabel
13MLINKS=	bsdlabel.8 disklabel.8
14.endif
15
16DPADD=	${LIBGEOM} ${LIBBSDXML} ${LIBSBUF}
17LDADD=	-lgeom -lbsdxml -lsbuf
18
19.include <bsd.prog.mk>
20
21test: ${PROG}
22	sh ${.CURDIR}/runtest.sh
23
24testx: ${PROG}
25	sh -x ${.CURDIR}/runtest.sh
26