]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - sbin/bsdlabel/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / sbin / bsdlabel / Makefile
1 #       @(#)Makefile    8.2 (Berkeley) 3/17/94
2 # $FreeBSD$
3
4 .PATH: ${.CURDIR}/../../sys/geom
5
6 PROG=   bsdlabel
7 SRCS=   bsdlabel.c geom_bsd_enc.c
8 #MAN=   bsdlabel.5
9 MAN+=   bsdlabel.8
10
11 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
12 LINKS=  ${BINDIR}/bsdlabel ${BINDIR}/disklabel
13 MLINKS= bsdlabel.8 disklabel.8
14 .endif
15
16 DPADD=  ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF}
17 LDADD=  -lgeom -lbsdxml -lsbuf
18
19 .include <bsd.prog.mk>
20
21 test: ${PROG}
22         sh ${.CURDIR}/runtest.sh
23
24 testx: ${PROG}
25         sh -x ${.CURDIR}/runtest.sh