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_console.c \ 40 pci_virtio_net.c \ 41 pci_virtio_rnd.c \ 42 pci_uart.c \ 43 pci_xhci.c \ 44 pm.c \ 45 post.c \ 46 ps2kbd.c \ 47 ps2mouse.c \ 48 rfb.c \ 49 rtc.c \ 50 smbiostbl.c \ 51 sockstream.c \ 52 task_switch.c \ 53 uart_emul.c \ 54 usb_emul.c \ 55 usb_mouse.c \ 56 virtio.c \ 57 vga.c \ 58 xmsr.c \ 59 spinup_ap.c 60 61.PATH: ${BHYVE_SYSDIR}/sys/amd64/vmm 62SRCS+= vmm_instruction_emul.c 63 64LIBADD= vmmapi md pthread z 65 66CFLAGS+= -I${BHYVE_SYSDIR}/sys/dev/e1000 67CFLAGS+= -I${BHYVE_SYSDIR}/sys/dev/mii 68CFLAGS+= -I${BHYVE_SYSDIR}/sys/dev/usb/controller 69 70WARNS?= 2 71 72.include <bsd.prog.mk> 73