mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-30 12:04:07 +00:00
25faff346c
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
27 lines
510 B
Makefile
27 lines
510 B
Makefile
# @(#)Makefile 8.2 (Berkeley) 3/17/94
|
|
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../sys/geom
|
|
|
|
PROG= bsdlabel
|
|
SRCS= bsdlabel.c geom_bsd_enc.c
|
|
#MAN= bsdlabel.5
|
|
MAN+= bsdlabel.8
|
|
|
|
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
|
|
LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
|
|
MLINKS= bsdlabel.8 disklabel.8
|
|
.endif
|
|
|
|
WARNS?= 2
|
|
DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF}
|
|
LDADD= -lgeom -lbsdxml -lsbuf
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
test: ${PROG}
|
|
sh ${.CURDIR}/runtest.sh
|
|
|
|
testx: ${PROG}
|
|
sh -x ${.CURDIR}/runtest.sh
|