summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2001-04-17 05:09:21 +0000
committerdrahn <drahn@openbsd.org>2001-04-17 05:09:21 +0000
commit3a686cc0c7923030c4deab8d92c65fecc184ad07 (patch)
treec808d13a7864f32fb1ab6fc686bf0e18fb4aa58d
parentUpdate manpage after recent changes. (diff)
downloadwireguard-openbsd-3a686cc0c7923030c4deab8d92c65fecc184ad07.tar.xz
wireguard-openbsd-3a686cc0c7923030c4deab8d92c65fecc184ad07.zip
Add pdisk to list of programs to build for powerpc, all other archs
will build the manpage, with the proper destination.
-rw-r--r--sbin/Makefile5
-rw-r--r--sbin/pdisk/Makefile7
2 files changed, 9 insertions, 3 deletions
diff --git a/sbin/Makefile b/sbin/Makefile
index f58d2fee43b..4d4efab7b7c 100644
--- a/sbin/Makefile
+++ b/sbin/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.55 2000/10/13 16:42:50 chris Exp $
+# $OpenBSD: Makefile,v 1.56 2001/04/17 05:09:21 drahn Exp $
# Not ported: XNSrouted enpload scsiformat startslip
# Missing: icheck
@@ -31,7 +31,8 @@ SUBDIR+= mount_tcfs
SUBDIR+= ping6 rtsol
# Man pages (and manpages to do)
-SUBDIR+= fdisk ancontrol wicontrol edlabel wsconsctl
+SUBDIR+= fdisk pdisk ancontrol wicontrol edlabel wsconsctl
+
# Add bim if we resurrect pc532
diff --git a/sbin/pdisk/Makefile b/sbin/pdisk/Makefile
index ee2535b800b..2c6ea886f01 100644
--- a/sbin/pdisk/Makefile
+++ b/sbin/pdisk/Makefile
@@ -1,10 +1,15 @@
-# $Id: Makefile,v 1.1 2001/03/24 00:20:59 drahn Exp $
+# $Id: Makefile,v 1.2 2001/04/17 05:09:22 drahn Exp $
+.if ${MACHINE} == "powerpc
PROG= pdisk
SRCS= pdisk.c dump.c partition_map.c convert.c io.c errors.c bitfield.c \
deblock_media.c file_media.c media.c pathname.c util.c validate.c
+.else
+NOPROG=yes
+.endif
MAN= pdisk.8
+MANSUBDIR=powerpc
.include <bsd.prog.mk>