2003-01-31 07:03:25 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2004-01-29 18:15:19 +00:00
|
|
|
.PATH: ${.CURDIR}/../../sys/geom
|
|
|
|
|
|
|
|
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
|
|
|
|
2004-01-31 07:39:45 +00:00
|
|
|
.if ${MACHINE_ARCH} == "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
|
|
|
|
|
2003-05-17 19:05:17 +00:00
|
|
|
DPADD= ${LIBGEOM}
|
|
|
|
LDADD= -lgeom
|
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
|