Makefile (82a22cc1ed3b46a7c57d98747dc1b0d617c2ff72) Makefile (2b46c64c9c1bf1cb194e0f2b7c478f61a0e10cd9)
1# @(#)Makefile 8.2 (Berkeley) 3/17/94
2# $FreeBSD$
3
4.PATH: ${.CURDIR}/../../sys/geom
5
6PROG= bsdlabel
7SRCS= bsdlabel.c geom_bsd_enc.c
8#MAN= bsdlabel.5
9MAN+= bsdlabel.8
10
1# @(#)Makefile 8.2 (Berkeley) 3/17/94
2# $FreeBSD$
3
4.PATH: ${.CURDIR}/../../sys/geom
5
6PROG= bsdlabel
7SRCS= bsdlabel.c geom_bsd_enc.c
8#MAN= bsdlabel.5
9MAN+= bsdlabel.8
10
11.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "alpha" || \
12 ${MACHINE_ARCH} == "amd64"
11.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
13LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
14MLINKS= bsdlabel.8 disklabel.8
15.endif
16
17DPADD= ${LIBGEOM}
18LDADD= -lgeom
19
20.include <bsd.prog.mk>
21
22test: ${PROG}
23 sh ${.CURDIR}/runtest.sh
24
25testx: ${PROG}
26 sh -x ${.CURDIR}/runtest.sh
12LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
13MLINKS= bsdlabel.8 disklabel.8
14.endif
15
16DPADD= ${LIBGEOM}
17LDADD= -lgeom
18
19.include <bsd.prog.mk>
20
21test: ${PROG}
22 sh ${.CURDIR}/runtest.sh
23
24testx: ${PROG}
25 sh -x ${.CURDIR}/runtest.sh