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-05-17 19:06:45 +00:00
|
|
|
.PATH: ${.CURDIR}/../../sys/geom
|
|
|
|
|
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-05-17 19:06:45 +00:00
|
|
|
#MAN= bsdlabel.5
|
2003-04-18 19:44:12 +00:00
|
|
|
MAN+= bsdlabel.8
|
1994-05-26 06:35:07 +00:00
|
|
|
|
2006-08-22 08:03:01 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
|
2003-05-05 21:28:08 +00:00
|
|
|
LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
|
2003-05-17 19:06:45 +00:00
|
|
|
MLINKS= bsdlabel.8 disklabel.8
|
2003-05-05 21:28:08 +00:00
|
|
|
.endif
|
|
|
|
|
2008-09-23 13:12:51 +00:00
|
|
|
DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF}
|
|
|
|
LDADD= -lgeom -lbsdxml -lsbuf
|
2003-05-03 08:04:24 +00:00
|
|
|
|
1994-05-26 06:35:07 +00:00
|
|
|
.include <bsd.prog.mk>
|
2003-04-18 22:20:46 +00:00
|
|
|
|
2003-05-17 19:06:45 +00:00
|
|
|
test: ${PROG}
|
2003-04-18 22:20:46 +00:00
|
|
|
sh ${.CURDIR}/runtest.sh
|
2003-05-03 08:04:24 +00:00
|
|
|
|
2003-05-17 19:06:45 +00:00
|
|
|
testx: ${PROG}
|
2003-05-03 08:04:24 +00:00
|
|
|
sh -x ${.CURDIR}/runtest.sh
|