1# 2# $FreeBSD$ 3# 4 5PROG= bhyve 6PACKAGE= bhyve 7 8DEBUG_FLAGS= -g -O0 9 10MAN= bhyve.8 11 12BHYVE_SYSDIR?=${SRCTOP} 13 14SRCS= \ 15 atkbdc.c \ 16 acpi.c \ 17 bhyvegc.c \ 18 bhyverun.c \ 19 block_if.c \ 20 bootrom.c \ 21 console.c \ 22 consport.c \ 23 dbgport.c \ 24 fwctl.c \ 25 inout.c \ 26 ioapic.c \ 27 mem.c \ 28 mevent.c \ 29 mptbl.c \ 30 pci_ahci.c \ 31 pci_e82545.c \ 32 pci_emul.c \ 33 pci_fbuf.c \ 34 pci_hostbridge.c \ 35 pci_irq.c \ 36 pci_lpc.c \ 37 pci_passthru.c \ 38 pci_virtio_block.c \ 39 pci_virtio_net.c \ 40 pci_virtio_rnd.c \ 41 pci_uart.c \ 42 pci_xhci.c \ 43 pm.c \ 44 post.c \ 45 ps2kbd.c \ 46 ps2mouse.c \ 47 rfb.c \ 48 rtc.c \ 49 smbiostbl.c \ 50 sockstream.c \ 51 task_switch.c \ 52 uart_emul.c \ 53 usb_emul.c \ 54 usb_mouse.c \ 55 virtio.c \ 56 vga.c \ 57 xmsr.c \ 58 spinup_ap.c 59 60.PATH: ${BHYVE_SYSDIR}/sys/amd64/vmm 61SRCS+= vmm_instruction_emul.c 62 63LIBADD= vmmapi md pthread z 64 65CFLAGS+= -I${BHYVE_SYSDIR}/sys/dev/e1000 66CFLAGS+= -I${BHYVE_SYSDIR}/sys/dev/mii 67CFLAGS+= -I${BHYVE_SYSDIR}/sys/dev/usb/controller 68 69WARNS?= 2 70 71.include <bsd.prog.mk> 72