5 SRCS= opt_acpi.h opt_ddb.h device_if.h bus_if.h pci_if.h
7 CFLAGS+= -DVMM_KEEP_STATS -DSMP
8 CFLAGS+= -I${.CURDIR}/../../amd64/vmm
9 CFLAGS+= -I${.CURDIR}/../../amd64/vmm/io
10 CFLAGS+= -I${.CURDIR}/../../amd64/vmm/intel
13 .PATH: ${.CURDIR}/../../amd64/vmm
17 vmm_instruction_emul.c \
28 .PATH: ${.CURDIR}/../../amd64/vmm/io
37 # intel-specific files
38 .PATH: ${.CURDIR}/../../amd64/vmm/intel
46 .PATH: ${.CURDIR}/../../amd64/vmm/amd
51 CLEANFILES= vmx_assym.s vmx_genassym.o
53 vmx_assym.s: vmx_genassym.o
55 vmx_assym.s: @/kern/genassym.sh
57 sh @/kern/genassym.sh vmx_genassym.o > ${.TARGET}
59 vmx_support.o: vmx_support.S vmx_assym.s
60 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
61 ${.IMPSRC} -o ${.TARGET}
63 vmx_genassym.o: vmx_genassym.c @ machine x86
64 ${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC}
66 .include <bsd.kmod.mk>