summaryrefslogtreecommitdiff
path: root/usr.sbin/vmd/Makefile
blob: 14518248692e20d6c492f49782342f49f127a071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

.if ${MACHINE} == "amd64"

PROG=	vmd
SRCS=	vmd.c loadfile_elf.c pci.c virtio.c log.c
CFLAGS+= -Wall -I${.CURDIR}
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
LDADD+=	-lutil -lpthread
DPADD+= ${LIBUTIL}

.else

NOPROG= yes

.endif

MAN= vmd.8

.include <bsd.prog.mk>