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