nnvm - Move *_fpu_enter/leave inside the cli/sti
[dragonfly.git] / sys / dev / virtual / nvmm / Makefile
1 KMOD=   nvmm
2 SRCS=   nvmm.c
3
4 .if ${MACHINE_ARCH} == "x86_64"
5 .PATH:  ${.CURDIR}/x86
6 SRCS+=  nvmm_x86.c
7 SRCS+=  nvmm_x86_svm.c nvmm_x86_svmfunc.S
8 SRCS+=  nvmm_x86_vmx.c nvmm_x86_vmxfunc.S
9
10 .if !defined(BUILDING_WITH_KERNEL)
11 SRCS+=  assym.s
12 SRCS+=  bus_if.h device_if.h opt_nfs.h  # required by 'genassym.c'
13 nvmm_x86_svmfunc.o nvmm_x86_vmxfunc.o: assym.s
14 .endif # !BUILDING_WITH_KERNEL
15 .endif
16
17 # Header files are installed by 'include/Makefile'.
18
19 .include <bsd.kmod.mk>