]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sbin/sunlabel/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sbin / sunlabel / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../sys/geom
4
5 PROG=   sunlabel
6 SRCS=   sunlabel.c geom_sunlabel_enc.c
7 MAN=    sunlabel.8
8
9 .if ${MACHINE_CPUARCH} == "sparc64"
10 LINKS=  ${BINDIR}/sunlabel ${BINDIR}/disklabel
11 MLINKS= sunlabel.8 disklabel.8
12 .endif
13
14 DPADD=  ${LIBGEOM}
15 LDADD=  -lgeom
16
17 .include <bsd.prog.mk>
18
19 test:   ${PROG}
20         sh ${.CURDIR}/runtest.sh
21
22 testx: ${PROG}
23         sh -x ${.CURDIR}/runtest.sh