xref: /freebsd/usr.sbin/bhyve/Makefile (revision 3cbf3585cbab66fad22dbdc3fe5f983ee86f02d3)
1366f6083SPeter Grehan#
2366f6083SPeter Grehan# $FreeBSD$
3366f6083SPeter Grehan#
4366f6083SPeter Grehan
5366f6083SPeter GrehanPROG=	bhyve
6366f6083SPeter Grehan
7430a7872SPeter GrehanDEBUG_FLAGS= -g -O0
8430a7872SPeter Grehan
9b13e60daSPeter GrehanMAN=	bhyve.8
10b1843e71SPeter Grehan
11b1843e71SPeter GrehanSRCS=	\
12b1843e71SPeter Grehan	acpi.c			\
13b1843e71SPeter Grehan	atpic.c			\
14b1843e71SPeter Grehan	bhyverun.c		\
15b1843e71SPeter Grehan	block_if.c		\
16b1843e71SPeter Grehan	consport.c		\
17b1843e71SPeter Grehan	dbgport.c		\
18b1843e71SPeter Grehan	elcr.c			\
19b1843e71SPeter Grehan	inout.c			\
20*3cbf3585SJohn Baldwin	ioapic.c		\
21b1843e71SPeter Grehan	mem.c			\
22b1843e71SPeter Grehan	mevent.c		\
23b1843e71SPeter Grehan	mptbl.c			\
24b1843e71SPeter Grehan	pci_ahci.c		\
25b1843e71SPeter Grehan	pci_emul.c		\
26b1843e71SPeter Grehan	pci_hostbridge.c	\
27b1843e71SPeter Grehan	pci_lpc.c		\
28b1843e71SPeter Grehan	pci_passthru.c		\
29b1843e71SPeter Grehan	pci_virtio_block.c	\
30b1843e71SPeter Grehan	pci_virtio_net.c	\
31b1843e71SPeter Grehan	pci_uart.c		\
32b1843e71SPeter Grehan	pit_8254.c		\
33b1843e71SPeter Grehan	pm.c			\
34b1843e71SPeter Grehan	pmtmr.c			\
35b1843e71SPeter Grehan	post.c			\
36b1843e71SPeter Grehan	rtc.c			\
37b1843e71SPeter Grehan	uart_emul.c		\
38b1843e71SPeter Grehan	virtio.c		\
39b1843e71SPeter Grehan	xmsr.c			\
40b1843e71SPeter Grehan	spinup_ap.c
41366f6083SPeter Grehan
42ba9b7bf7SNeel Natu.PATH:	${.CURDIR}/../../sys/amd64/vmm
43ba9b7bf7SNeel NatuSRCS+=	vmm_instruction_emul.c
44ba9b7bf7SNeel Natu
45200758f1SNeel NatuDPADD=	${LIBVMMAPI} ${LIBMD} ${LIBUTIL} ${LIBPTHREAD}
46200758f1SNeel NatuLDADD=	-lvmmapi -lmd -lutil -lpthread
47366f6083SPeter Grehan
48b67e81dbSJohn BaldwinWARNS?=	2
49b67e81dbSJohn Baldwin
50366f6083SPeter Grehan.include <bsd.prog.mk>
51