xref: /freebsd/usr.sbin/bhyve/Makefile (revision b1843e712ededd8795a1ac3fca382a15169610b8)
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
10*b1843e71SPeter Grehan
11*b1843e71SPeter GrehanSRCS=	\
12*b1843e71SPeter Grehan	acpi.c			\
13*b1843e71SPeter Grehan	atpic.c			\
14*b1843e71SPeter Grehan	bhyverun.c		\
15*b1843e71SPeter Grehan	block_if.c		\
16*b1843e71SPeter Grehan	consport.c		\
17*b1843e71SPeter Grehan	dbgport.c		\
18*b1843e71SPeter Grehan	elcr.c			\
19*b1843e71SPeter Grehan	inout.c			\
20*b1843e71SPeter Grehan	legacy_irq.c		\
21*b1843e71SPeter Grehan	mem.c			\
22*b1843e71SPeter Grehan	mevent.c		\
23*b1843e71SPeter Grehan	mptbl.c			\
24*b1843e71SPeter Grehan	pci_ahci.c		\
25*b1843e71SPeter Grehan	pci_emul.c		\
26*b1843e71SPeter Grehan	pci_hostbridge.c	\
27*b1843e71SPeter Grehan	pci_lpc.c		\
28*b1843e71SPeter Grehan	pci_passthru.c		\
29*b1843e71SPeter Grehan	pci_virtio_block.c	\
30*b1843e71SPeter Grehan	pci_virtio_net.c	\
31*b1843e71SPeter Grehan	pci_uart.c		\
32*b1843e71SPeter Grehan	pit_8254.c		\
33*b1843e71SPeter Grehan	pm.c			\
34*b1843e71SPeter Grehan	pmtmr.c			\
35*b1843e71SPeter Grehan	post.c			\
36*b1843e71SPeter Grehan	rtc.c			\
37*b1843e71SPeter Grehan	uart_emul.c		\
38*b1843e71SPeter Grehan	virtio.c		\
39*b1843e71SPeter Grehan	xmsr.c			\
40*b1843e71SPeter 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