summaryrefslogtreecommitdiff
path: root/usr.sbin/ldomd/Makefile
diff options
context:
space:
mode:
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>