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(KERNBUILDDIR) 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 # !KERNBUILDDIR 18.endif 19 20# Help quickly build and test this module alone. 21.if !defined(KERNBUILDDIR) 22KCFLAGS+=-g -DINVARIANTS 23.endif 24 25# Header files are installed by 'include/Makefile'. 26 27.include <bsd.kmod.mk> 28