summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-05-30 09:22:07 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-05-30 09:22:07 +0000
commit15d06823ed7296bc797380a8d50262d5b4ccc39d (patch)
tree8aa6623a0732b0a35c4301339098f9fc7fb187c6 /usr.sbin
parentcf420b90b3996ee14a8bac1504cd9385fde93e3c (diff)
Can only exist on alpha, amd64, i386, macppc and sparc64.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/hotplugd/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/usr.sbin/hotplugd/Makefile b/usr.sbin/hotplugd/Makefile
index ae891b74bdf..93d36309805 100644
--- a/usr.sbin/hotplugd/Makefile
+++ b/usr.sbin/hotplugd/Makefile
@@ -1,12 +1,24 @@
-# $OpenBSD: Makefile,v 1.1 2004/05/30 08:28:28 grange Exp $
+# $OpenBSD: Makefile,v 1.2 2004/05/30 09:22:06 grange Exp $
+
+.if ${MACHINE} == "alpha" || ${MACHINE} == "amd64" || \
+ ${MACHINE} == "i386" || ${MACHINE} == "macppc" || \
+ ${MACHINE} == "sparc64"
PROG= hotplugd
SRCS= hotplugd.c
-MAN= hotplugd.8
CFLAGS+= -Wall
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CLFAGS+= -Wmissing-declarations -Wredundant-decls
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
+.else
+
+NOPROG= yes
+
+.endif
+
+MAN= hotplugd.8
+MANSUBDIR=alpha amd64 i386 macppc sparc64
+
.include <bsd.prog.mk>