4917b55e50
Install a link to the disklabel(8) name on i386 and alpha platforms. Leave old disklabel(8) sources intact but disconnected from the build for now.
35 lines
611 B
Makefile
35 lines
611 B
Makefile
# @(#)Makefile 8.2 (Berkeley) 3/17/94
|
|
# $FreeBSD$
|
|
|
|
PROG= bsdlabel
|
|
SRCS= bsdlabel.c geom_bsd_enc.c
|
|
#MAN+= bsdlabel.5
|
|
MAN+= bsdlabel.8
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
|
|
MLINKS+= bsdlabel.8 disklabel.8
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
|
|
MLINKS+= bsdlabel.8 disklabel.8
|
|
.endif
|
|
|
|
DDADD= ${LIBGEOM}
|
|
LDADD= -lgeom -lbsdxml -lsbuf
|
|
|
|
.if ${MACHINE} == "pc98"
|
|
CFLAGS+= -DPC98
|
|
.endif
|
|
|
|
.PATH: ${.CURDIR}/../../sys/geom
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
test: ${PROG}
|
|
sh ${.CURDIR}/runtest.sh
|
|
|
|
testx: ${PROG}
|
|
sh -x ${.CURDIR}/runtest.sh
|