summaryrefslogtreecommitdiffstats
path: root/usr.sbin/hotplugd
diff options
context:
space:
mode:
authorgrange <grange@openbsd.org>2004-05-30 09:22:06 +0000
committergrange <grange@openbsd.org>2004-05-30 09:22:06 +0000
commit576894345d34758f9b149d18a34be1798916cd5f (patch)
treea24d81e6cc362f2dbef0e84d073c40a715deb83d /usr.sbin/hotplugd
parentEnable hotplug, tested by tedu@. (diff)
downloadwireguard-openbsd-576894345d34758f9b149d18a34be1798916cd5f.tar.xz
wireguard-openbsd-576894345d34758f9b149d18a34be1798916cd5f.zip
Can only exist on alpha, amd64, i386, macppc and sparc64.
Diffstat (limited to 'usr.sbin/hotplugd')
-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>