1KMOD= nvmm 2SRCS= nvmm.c nvmm_dragonfly.c 3 4.if ${MACHINE_ARCH} == "x86_64" 5.PATH: ${.CURDIR}/x86 6SRCS+= nvmm_x86.c 7SRCS+= nvmm_x86_svm.c nvmm_x86_svmfunc.S 8SRCS+= nvmm_x86_vmx.c nvmm_x86_vmxfunc.S 9 10nvmm_x86_svmfunc.o nvmm_x86_vmxfunc.o: 11 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS:N-flto} ${.IMPSRC} 12 13.if !defined(BUILDING_WITH_KERNEL) 14SRCS+= bus_if.h device_if.h opt_nfs.h # required by 'genassym.c' 15SRCS+= assym.s 16nvmm_x86_svmfunc.o nvmm_x86_vmxfunc.o: assym.s 17.endif # !BUILDING_WITH_KERNEL 18.endif 19 20# Header files are installed by 'include/Makefile'. 21 22.include <bsd.kmod.mk> 23