summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-04-17 05:09:23 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-04-17 05:09:23 +0000
commitf4da34146408703c0a96714b9c456d479528d47c (patch)
tree06dd34b942c259c8445b43b0e3ad047219ed456f
parent7c76c3dbb074fcd67c7828d223be2d33390b2224 (diff)
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>