aboutsummaryrefslogtreecommitdiff
path: root/sbin/bsdlabel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/bsdlabel/Makefile')
-rw-r--r--sbin/bsdlabel/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/sbin/bsdlabel/Makefile b/sbin/bsdlabel/Makefile
index 09a2fa669009..58c54f5e6f70 100644
--- a/sbin/bsdlabel/Makefile
+++ b/sbin/bsdlabel/Makefile
@@ -6,6 +6,16 @@ SRCS= bsdlabel.c geom_bsd_enc.c
#MAN+= bsdlabel.5
MAN+= bsdlabel.8
+.if ${MACHINE_ARCH} == "i386"
+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
+.endif
+
DDADD= ${LIBGEOM}
LDADD= -lgeom -lbsdxml -lsbuf