Makefile (1a0fda2b547365c9453523592a445dfe21266d4b) Makefile (25faff346c8453b8248f99c7cff71708262faa37)
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} == "amd64"
11.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
12LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
13MLINKS= bsdlabel.8 disklabel.8
14.endif
15
16WARNS?= 2
17DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF}
18LDADD= -lgeom -lbsdxml -lsbuf
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
16WARNS?= 2
17DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF}
18LDADD= -lgeom -lbsdxml -lsbuf
19
20.include <bsd.prog.mk>
21
22test: ${PROG}
23 sh ${.CURDIR}/runtest.sh
24
25testx: ${PROG}
26 sh -x ${.CURDIR}/runtest.sh