25faff346c
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
24 lines
379 B
Makefile
24 lines
379 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../sys/geom
|
|
|
|
PROG= sunlabel
|
|
SRCS= sunlabel.c geom_sunlabel_enc.c
|
|
MAN= sunlabel.8
|
|
|
|
.if ${MACHINE_CPUARCH} == "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
|