mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
5f0f366bac
Approved by: ru
26 lines
387 B
Makefile
26 lines
387 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
|
|
|
|
WARNS?= 5
|
|
|
|
DPADD= ${LIBGEOM}
|
|
LDADD= -lgeom
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
test: ${PROG}
|
|
sh ${.CURDIR}/runtest.sh
|
|
|
|
testx: ${PROG}
|
|
sh -x ${.CURDIR}/runtest.sh
|