1994-05-26 06:35:07 +00:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 3/17/94
|
2000-05-09 13:46:14 +00:00
|
|
|
# $FreeBSD$
|
1994-05-26 06:35:07 +00:00
|
|
|
|
2003-04-18 19:44:12 +00:00
|
|
|
PROG= bsdlabel
|
2003-05-02 19:54:18 +00:00
|
|
|
SRCS= bsdlabel.c geom_bsd_enc.c
|
2003-04-18 19:44:12 +00:00
|
|
|
#MAN+= bsdlabel.5
|
|
|
|
MAN+= bsdlabel.8
|
1994-05-26 06:35:07 +00:00
|
|
|
|
2003-05-05 21:28:08 +00:00
|
|
|
.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
|
|
|
|
|
2003-05-17 19:05:17 +00:00
|
|
|
DPADD= ${LIBGEOM}
|
|
|
|
LDADD= -lgeom
|
2003-05-03 08:04:24 +00:00
|
|
|
|
2000-05-09 13:46:14 +00:00
|
|
|
.if ${MACHINE} == "pc98"
|
|
|
|
CFLAGS+= -DPC98
|
|
|
|
.endif
|
|
|
|
|
2003-05-02 19:54:18 +00:00
|
|
|
.PATH: ${.CURDIR}/../../sys/geom
|
|
|
|
|
1994-05-26 06:35:07 +00:00
|
|
|
.include <bsd.prog.mk>
|
2003-04-18 22:20:46 +00:00
|
|
|
|
|
|
|
test: ${PROG}
|
|
|
|
sh ${.CURDIR}/runtest.sh
|
2003-05-03 08:04:24 +00:00
|
|
|
|
|
|
|
testx: ${PROG}
|
|
|
|
sh -x ${.CURDIR}/runtest.sh
|