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_xact.c 17 18.if ${MACHINE_CPUARCH} != "i386" 19SRCS+= vmbus_vector.S 20.endif 21SRCS+= acpi_if.h bus_if.h device_if.h opt_acpi.h pci_if.h pcib_if.h vmbus_if.h 22 23# XXX: for assym.inc 24SRCS+= opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h 25.if ${MACHINE_CPUARCH} == "i386" 26SRCS+= opt_apic.h 27.endif 28 29DPSRCS= assym.inc 30 31vmbus_vector.o: 32 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ 33 ${.IMPSRC} -o ${.TARGET} 34 35CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/include \ 36 -I${SRCTOP}/sys/dev/hyperv/vmbus 37 38EXPORT_SYMS= YES 39 40.include <bsd.kmod.mk> 41