summaryrefslogtreecommitdiff
path: root/usr.sbin/vmctl/Makefile
blob: cf5e25aebc1bc1d89e9ca639876adeb415aa504c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#	$OpenBSD: Makefile,v 1.3 2016/10/26 05:26:36 mlarkin Exp $

.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"

PROG=	vmctl
SRCS=	vmctl.c main.c
CFLAGS+= -Wall
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../vmd
LDADD+=	-lutil
DPADD+= ${LIBUTIL}

.else

NOPROG= yes

.endif

MAN= vmctl.8

.include <bsd.prog.mk>