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 \
27 .PATH: ${.CURDIR}/../../amd64/vmm/io
33 # intel-specific files
34 .PATH: ${.CURDIR}/../../amd64/vmm/intel
42 .PATH: ${.CURDIR}/../../amd64/vmm/amd
47 CLEANFILES= vmx_assym.s vmx_genassym.o
49 vmx_assym.s: vmx_genassym.o
51 vmx_assym.s: @/kern/genassym.sh
53 sh @/kern/genassym.sh vmx_genassym.o > ${.TARGET}
55 vmx_support.o: vmx_support.S vmx_assym.s
56 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
57 ${.IMPSRC} -o ${.TARGET}
59 vmx_genassym.o: vmx_genassym.c @ machine x86
60 ${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC}
62 .include <bsd.kmod.mk>