]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/hyperv/vmbus/Makefile
Merge llvm, clang, lld, lldb, compiler-rt and libc++ trunk r321545,
[FreeBSD/FreeBSD.git] / sys / modules / hyperv / vmbus / Makefile
1 # $FreeBSD$
2
3 .PATH:  ${SRCTOP}/sys/dev/hyperv/vmbus \
4         ${SRCTOP}/sys/dev/hyperv/vmbus/${MACHINE_CPUARCH}
5
6 KMOD=   hv_vmbus
7 SRCS=   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 SRCS+=  acpi_if.h bus_if.h device_if.h opt_acpi.h pci_if.h pcib_if.h vmbus_if.h
18
19 # XXX: for assym.s
20 SRCS+=  opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h opt_compat.h
21 .if ${MACHINE_CPUARCH} == "i386"
22 SRCS+=  opt_apic.h
23 .endif
24
25 SRCS+=  assym.s \
26         vmbus_vector.S
27
28 vmbus_vector.o:
29         ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
30             ${.IMPSRC} -o ${.TARGET}
31
32 CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/include \
33          -I${SRCTOP}/sys/dev/hyperv/vmbus
34
35 .include <bsd.kmod.mk>