]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - sbin/sunlabel/Makefile
MFC r368207,368607:
[FreeBSD/stable/10.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