5 SRCS= opt_acpi.h opt_ddb.h device_if.h bus_if.h pci_if.h pcib_if.h acpi_if.h
6 SRCS+= vmx_assym.h svm_assym.h
7 DPSRCS= vmx_genassym.c svm_genassym.c
9 CFLAGS+= -DVMM_KEEP_STATS -DSMP
10 CFLAGS+= -I${SRCTOP}/sys/amd64/vmm
11 CFLAGS+= -I${SRCTOP}/sys/amd64/vmm/io
12 CFLAGS+= -I${SRCTOP}/sys/amd64/vmm/intel
13 CFLAGS+= -I${SRCTOP}/sys/amd64/vmm/amd
16 .PATH: ${SRCTOP}/sys/amd64/vmm
20 vmm_instruction_emul.c \
28 .PATH: ${SRCTOP}/sys/amd64/vmm/io
39 # intel-specific files
40 .PATH: ${SRCTOP}/sys/amd64/vmm/intel
49 .PATH: ${SRCTOP}/sys/amd64/vmm/amd
58 CLEANFILES= vmx_assym.h vmx_genassym.o svm_assym.h svm_genassym.o
60 vmx_assym.h: vmx_genassym.o
61 sh ${SYSDIR}/kern/genassym.sh vmx_genassym.o > ${.TARGET}
63 svm_assym.h: svm_genassym.o
64 sh ${SYSDIR}/kern/genassym.sh svm_genassym.o > ${.TARGET}
67 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
68 ${.IMPSRC} -o ${.TARGET}
71 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
72 ${.IMPSRC} -o ${.TARGET}
75 ${CC} -c ${CFLAGS:N-flto:N-fno-common} ${.IMPSRC}
78 ${CC} -c ${CFLAGS:N-flto:N-fno-common} ${.IMPSRC}
80 .include <bsd.kmod.mk>