Makefile revision 115254
1# @(#)Makefile 8.2 (Berkeley) 3/17/94 2# $FreeBSD: head/sbin/bsdlabel/Makefile 115254 2003-05-23 06:08:28Z peter $ 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" 13LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel 14MLINKS= bsdlabel.8 disklabel.8 15.endif 16 17DPADD= ${LIBGEOM} 18LDADD= -lgeom 19 20.if ${MACHINE} == "pc98" 21CFLAGS+=-DPC98 22.endif 23 24.include <bsd.prog.mk> 25 26test: ${PROG} 27 sh ${.CURDIR}/runtest.sh 28 29testx: ${PROG} 30 sh -x ${.CURDIR}/runtest.sh 31