aboutsummaryrefslogtreecommitdiff
path: root/sbin/bsdlabel/Makefile
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2003-05-17 19:06:45 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2003-05-17 19:06:45 +0000
commitc1941005a3fe09e27cf2cf9961311388cdd28f7c (patch)
tree2aaf9f6ce7b64cba8bbfde89b31289c35f034c4f /sbin/bsdlabel/Makefile
parent0b00d54eed78a5cb79f3141df286ad7ee0020630 (diff)
downloadsrc-c1941005a3fe09e27cf2cf9961311388cdd28f7c.tar.gz
src-c1941005a3fe09e27cf2cf9961311388cdd28f7c.zip
Style fixes.
Reviewed by: phk Approved by: re (scottl)
Notes
Notes: svn path=/head/; revision=115105
Diffstat (limited to 'sbin/bsdlabel/Makefile')
-rw-r--r--sbin/bsdlabel/Makefile21
1 files changed, 8 insertions, 13 deletions
diff --git a/sbin/bsdlabel/Makefile b/sbin/bsdlabel/Makefile
index 82bac93dd6a4..d667081ed895 100644
--- a/sbin/bsdlabel/Makefile
+++ b/sbin/bsdlabel/Makefile
@@ -1,34 +1,29 @@
# @(#)Makefile 8.2 (Berkeley) 3/17/94
# $FreeBSD$
+.PATH: ${.CURDIR}/../../sys/geom
+
PROG= bsdlabel
SRCS= bsdlabel.c geom_bsd_enc.c
-#MAN+= bsdlabel.5
+#MAN= bsdlabel.5
MAN+= bsdlabel.8
-.if ${MACHINE_ARCH} == "i386"
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "alpha"
LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
-MLINKS+= bsdlabel.8 disklabel.8
-.endif
-
-.if ${MACHINE_ARCH} == "alpha"
-LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
-MLINKS+= bsdlabel.8 disklabel.8
+MLINKS= bsdlabel.8 disklabel.8
.endif
DPADD= ${LIBGEOM}
LDADD= -lgeom
.if ${MACHINE} == "pc98"
-CFLAGS+= -DPC98
+CFLAGS+=-DPC98
.endif
-.PATH: ${.CURDIR}/../../sys/geom
-
.include <bsd.prog.mk>
-test: ${PROG}
+test: ${PROG}
sh ${.CURDIR}/runtest.sh
-testx: ${PROG}
+testx: ${PROG}
sh -x ${.CURDIR}/runtest.sh