]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - sys/modules/hyperv/vmbus/Makefile
MFC 302864
[FreeBSD/stable/10.git] / sys / modules / hyperv / vmbus / Makefile
1 # $FreeBSD$
2
3 .PATH:  ${.CURDIR}/../../../dev/hyperv/vmbus \
4         ${.CURDIR}/../../../dev/hyperv/vmbus/${MACHINE_CPUARCH}
5
6 KMOD=   hv_vmbus
7 SRCS=   hv_channel.c \
8         hv_ring_buffer.c \
9         hyperv.c \
10         hyperv_busdma.c \
11         hyperv_machdep.c \
12         vmbus.c \
13         vmbus_et.c
14 SRCS+=  acpi_if.h bus_if.h device_if.h opt_acpi.h vmbus_if.h
15
16 # XXX: for assym.s
17 SRCS+=  opt_kstack_pages.h opt_nfs.h opt_apic.h opt_hwpmc_hooks.h opt_compat.h
18
19 SRCS+=  assym.s \
20         vmbus_vector.S
21
22 vmbus_vector.o:
23         ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
24             ${.IMPSRC} -o ${.TARGET}
25
26 CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/include \
27          -I${.CURDIR}/../../../dev/hyperv/vmbus
28
29 .include <bsd.kmod.mk>