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
34 # intel-specific files
35 .PATH: ${.CURDIR}/../../amd64/vmm/intel
43 .PATH: ${.CURDIR}/../../amd64/vmm/amd
48 CLEANFILES= vmx_assym.s vmx_genassym.o
50 vmx_assym.s: vmx_genassym.o
52 vmx_assym.s: @/kern/genassym.sh
54 sh @/kern/genassym.sh vmx_genassym.o > ${.TARGET}
56 vmx_support.o: vmx_support.S vmx_assym.s
57 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
58 ${.IMPSRC} -o ${.TARGET}
60 vmx_genassym.o: vmx_genassym.c @ machine x86
61 ${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC}
63 .include <bsd.kmod.mk>