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