summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldomctl/Makefile
blob: bf4686a9abd1f6d1957b3a311e1246bd3bfc85d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#	$OpenBSD: Makefile,v 1.11 2019/11/28 18:40:42 kn Exp $

.if ${MACHINE} == "sparc64"

.PATH:	${.CURDIR}/../ldomd

PROG=	ldomctl
SRCS=	ldomctl.c ds.c mdesc.c util.c mdstore.c pri.c config.c parse.y
CFLAGS+=-Wall
CFLAGS+=-I${.CURDIR}/../ldomd -I${.CURDIR}
LDADD+=	-lutil
DPADD+=	${LIBUTIL}

.else

NOPROG=	yes

.endif

MAN=	ldomctl.8 ldom.conf.5
MANSUBDIR=sparc64

.include <bsd.prog.mk>