1994-05-26 08:35:07 +02:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 3/17/94
|
2000-05-09 15:46:14 +02:00
|
|
|
# $FreeBSD$
|
1994-05-26 08:35:07 +02:00
|
|
|
|
2003-05-17 21:06:45 +02:00
|
|
|
.PATH: ${.CURDIR}/../../sys/geom
|
|
|
|
|
2003-04-18 21:44:12 +02:00
|
|
|
PROG= bsdlabel
|
2003-05-02 21:54:18 +02:00
|
|
|
SRCS= bsdlabel.c geom_bsd_enc.c
|
2003-05-17 21:06:45 +02:00
|
|
|
#MAN= bsdlabel.5
|
2003-04-18 21:44:12 +02:00
|
|
|
MAN+= bsdlabel.8
|
1994-05-26 08:35:07 +02:00
|
|
|
|
2006-08-22 10:03:01 +02:00
|
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
|
2003-05-05 23:28:08 +02:00
|
|
|
LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
|
2003-05-17 21:06:45 +02:00
|
|
|
MLINKS= bsdlabel.8 disklabel.8
|
2003-05-05 23:28:08 +02:00
|
|
|
.endif
|
|
|
|
|
2009-10-19 18:00:24 +02:00
|
|
|
WARNS?= 2
|
2008-09-23 15:12:51 +02:00
|
|
|
DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF}
|
|
|
|
LDADD= -lgeom -lbsdxml -lsbuf
|
2003-05-03 10:04:24 +02:00
|
|
|
|
1994-05-26 08:35:07 +02:00
|
|
|
.include <bsd.prog.mk>
|
2003-04-19 00:20:46 +02:00
|
|
|
|
2003-05-17 21:06:45 +02:00
|
|
|
test: ${PROG}
|
2003-04-19 00:20:46 +02:00
|
|
|
sh ${.CURDIR}/runtest.sh
|
2003-05-03 10:04:24 +02:00
|
|
|
|
2003-05-17 21:06:45 +02:00
|
|
|
testx: ${PROG}
|
2003-05-03 10:04:24 +02:00
|
|
|
sh -x ${.CURDIR}/runtest.sh
|