Makefile revision 115105
1#	@(#)Makefile	8.2 (Berkeley) 3/17/94
2# $FreeBSD: head/sbin/bsdlabel/Makefile 115105 2003-05-17 19:06:45Z 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} == "alpha"
12LINKS=	${BINDIR}/bsdlabel ${BINDIR}/disklabel
13MLINKS=	bsdlabel.8 disklabel.8
14.endif
15
16DPADD=	${LIBGEOM}
17LDADD=	-lgeom
18
19.if ${MACHINE} == "pc98"
20CFLAGS+=-DPC98
21.endif
22
23.include <bsd.prog.mk>
24
25test: ${PROG}
26	sh ${.CURDIR}/runtest.sh
27
28testx: ${PROG}
29	sh -x ${.CURDIR}/runtest.sh
30