22289a8c3d
This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon
23 lines
353 B
Makefile
23 lines
353 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/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
|
|
|
|
LIBADD= geom
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
test: ${PROG}
|
|
sh ${.CURDIR}/runtest.sh
|
|
|
|
testx: ${PROG}
|
|
sh -x ${.CURDIR}/runtest.sh
|