summaryrefslogtreecommitdiff
path: root/usr.sbin/ldomctl/Makefile
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-11-04 18:14:10 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-11-04 18:14:10 +0000
commit13bb1073a7a12e755f2bba56f11888598d1c3871 (patch)
treea61703939a54ad7d5442e02a7f355858f7c2a32d /usr.sbin/ldomctl/Makefile
parent1b29b80f1b80bfb435c88dcf60b653b0e896b5a3 (diff)
Factor out some code. Use the "hvctl.h" header from ldomd. Add man page.
Diffstat (limited to 'usr.sbin/ldomctl/Makefile')
-rw-r--r--usr.sbin/ldomctl/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/usr.sbin/ldomctl/Makefile b/usr.sbin/ldomctl/Makefile
index 1af299a8a04..7de83d4a54b 100644
--- a/usr.sbin/ldomctl/Makefile
+++ b/usr.sbin/ldomctl/Makefile
@@ -1,9 +1,20 @@
-# $OpenBSD: Makefile,v 1.4 2012/10/21 12:56:45 kettenis Exp $
+# $OpenBSD: Makefile,v 1.5 2012/11/04 18:14:09 kettenis Exp $
+
+.if ${MACHINE} == "sparc64"
PROG= ldomctl
SRCS= ldomctl.c ds.c mdesc.c util.c
-NOMAN=
-CFLAGS+= -Wall
+CFLAGS+=-Wall
+CFLAGS+=-I${.CURDIR}/../ldomd
DEBUG= -g
+.else
+
+NOPROG= yes
+
+.endif
+
+MAN= ldomctl.8
+MANSUBDIR=sparc64
+
.include <bsd.prog.mk>