2b6974bf61
Checked by: make universe Approved by: ed (co-mentor)
24 lines
376 B
Makefile
24 lines
376 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../sys/geom
|
|
|
|
PROG= sunlabel
|
|
SRCS= sunlabel.c geom_sunlabel_enc.c
|
|
MAN= sunlabel.8
|
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
LINKS= ${BINDIR}/sunlabel ${BINDIR}/disklabel
|
|
MLINKS= sunlabel.8 disklabel.8
|
|
.endif
|
|
|
|
DPADD= ${LIBGEOM}
|
|
LDADD= -lgeom
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
test: ${PROG}
|
|
sh ${.CURDIR}/runtest.sh
|
|
|
|
testx: ${PROG}
|
|
sh -x ${.CURDIR}/runtest.sh
|