summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldomd/Makefile
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2012-10-27 20:03:24 +0000
committerkettenis <kettenis@openbsd.org>2012-10-27 20:03:24 +0000
commit9f8bb9a5d06828990b95d8a4aa5d74ded1bac831 (patch)
treee5499e769952662aa935fb2b7f4c753f8cf93099 /usr.sbin/ldomd/Makefile
parentOnly print debug output if explicitly requested. (diff)
downloadwireguard-openbsd-9f8bb9a5d06828990b95d8a4aa5d74ded1bac831.tar.xz
wireguard-openbsd-9f8bb9a5d06828990b95d8a4aa5d74ded1bac831.zip
Turn this into a proper deamon, and add a man page.
Diffstat (limited to 'usr.sbin/ldomd/Makefile')
-rw-r--r--usr.sbin/ldomd/Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/usr.sbin/ldomd/Makefile b/usr.sbin/ldomd/Makefile
index df937bd2f75..ac48ed8669b 100644
--- a/usr.sbin/ldomd/Makefile
+++ b/usr.sbin/ldomd/Makefile
@@ -1,12 +1,22 @@
-# $OpenBSD: Makefile,v 1.2 2012/10/27 18:34:03 kettenis Exp $
+# $OpenBSD: Makefile,v 1.3 2012/10/27 20:03:24 kettenis Exp $
+
+.if ${MACHINE} == "sparc64"
.PATH: ${.CURDIR}/../ldomctl
PROG= ldomd
SRCS= ldomd.c ds.c mdesc.c util.c var-config.c
-NOMAN=
-CFLAGS+= -Wall
-CFLAGS+= -I${.CURDIR}/../ldomctl
-DEBUG= -g
+CFLAGS+=-Wall
+CFLAGS+=-I${.CURDIR}/../ldomctl
+DEBUG= -g
+
+.else
+
+NOPROG= yes
+
+.endif
+
+MAN= ldomd.8
+MANSUBDIR=sparc64
.include <bsd.prog.mk>