1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/dev/hyperv/vmbus \ 4 ${SRCTOP}/sys/dev/hyperv/vmbus/${MACHINE_CPUARCH} 5 6KMOD= hv_vmbus 7SRCS= hyperv.c \ 8 hyperv_busdma.c \ 9 hyperv_machdep.c \ 10 vmbus.c \ 11 vmbus_br.c \ 12 vmbus_chan.c \ 13 vmbus_et.c \ 14 vmbus_if.c \ 15 vmbus_res.c \ 16 vmbus_vector.S \ 17 vmbus_xact.c 18SRCS+= acpi_if.h bus_if.h device_if.h opt_acpi.h pci_if.h pcib_if.h vmbus_if.h 19 20# XXX: for assym.inc 21SRCS+= opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h 22.if ${MACHINE_CPUARCH} == "i386" 23SRCS+= opt_apic.h 24.endif 25 26DPSRCS= assym.inc 27 28vmbus_vector.o: 29 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ 30 ${.IMPSRC} -o ${.TARGET} 31 32CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/include \ 33 -I${SRCTOP}/sys/dev/hyperv/vmbus 34 35.include <bsd.kmod.mk> 36