2003-01-31 02:03:25 -05:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
2017-03-04 06:33:01 -05:00
|
|
|
.PATH: ${SRCTOP}/sys/geom
|
2004-01-29 13:15:19 -05:00
|
|
|
|
|
|
|
|
PROG= sunlabel
|
|
|
|
|
SRCS= sunlabel.c geom_sunlabel_enc.c
|
2004-01-29 13:12:27 -05:00
|
|
|
MAN= sunlabel.8
|
2004-01-29 13:15:19 -05:00
|
|
|
|
2010-08-23 18:24:11 -04:00
|
|
|
.if ${MACHINE_CPUARCH} == "sparc64"
|
2004-02-01 08:09:26 -05:00
|
|
|
LINKS= ${BINDIR}/sunlabel ${BINDIR}/disklabel
|
2004-01-31 02:39:45 -05:00
|
|
|
MLINKS= sunlabel.8 disklabel.8
|
|
|
|
|
.endif
|
|
|
|
|
|
2014-11-25 06:23:12 -05:00
|
|
|
LIBADD= geom
|
2003-04-23 04:25:20 -04:00
|
|
|
|
2003-01-31 02:03:25 -05:00
|
|
|
.include <bsd.prog.mk>
|
2003-04-21 16:38:15 -04:00
|
|
|
|
|
|
|
|
test: ${PROG}
|
|
|
|
|
sh ${.CURDIR}/runtest.sh
|
2004-01-29 13:15:19 -05:00
|
|
|
|
|
|
|
|
testx: ${PROG}
|
|
|
|
|
sh -x ${.CURDIR}/runtest.sh
|