summaryrefslogtreecommitdiff
path: root/usr.sbin/ldomd/Makefile
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-10-27 20:03:25 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-10-27 20:03:25 +0000
commit8d2a8994804ad30df64413806ccf110569b7f072 (patch)
tree1bfe08fa372a196d691777e8728ed5fe13318c01 /usr.sbin/ldomd/Makefile
parent03c2da2f244bd05805b6ca92f05616eb6dd95a34 (diff)
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>