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