1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../../dev/hyperv/vmbus \ 4 ${.CURDIR}/../../../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 14SRCS+= acpi_if.h bus_if.h device_if.h opt_acpi.h vmbus_if.h 15 16# XXX: for assym.s 17SRCS+= opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h opt_compat.h 18.if ${MACHINE_CPUARCH} == "i386" 19SRCS+= opt_apic.h 20.endif 21 22SRCS+= assym.s \ 23 vmbus_vector.S 24 25vmbus_vector.o: 26 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ 27 ${.IMPSRC} -o ${.TARGET} 28 29CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/include \ 30 -I${.CURDIR}/../../../dev/hyperv/vmbus 31 32.include <bsd.kmod.mk> 33