mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
761e312219
Ref #3289
115 lines
2.7 KiB
Makefile
115 lines
2.7 KiB
Makefile
include $(REP_DIR)/lib/mk/virtualbox5-common.inc
|
|
|
|
#
|
|
# Prevent inclusion of the Genode::Log definition after the vbox #define
|
|
# of 'Log'. Otherwise, the attempt to compile base/log.h will fail.
|
|
#
|
|
VBOX_CC_OPT += -include base/log.h
|
|
|
|
SRC_CC += VMM/VMMR3/VM.cpp
|
|
SRC_CC += VMM/VMMAll/VMAll.cpp
|
|
SRC_CC += VMM/VMMAll/VMMAll.cpp
|
|
SRC_CC += VMM/VMMR3/VMM.cpp
|
|
|
|
SRC_CC += VMM/VMMR3/STAM.cpp
|
|
|
|
SRC_CC += VMM/VMMR3/SSM.cpp
|
|
|
|
SRC_CC += VMM/VMMR3/PDM.cpp
|
|
SRC_CC += VMM/VMMR3/PDMBlkCache.cpp
|
|
SRC_CC += VMM/VMMR3/PDMDevice.cpp
|
|
SRC_CC += VMM/VMMR3/PDMQueue.cpp
|
|
SRC_CC += VMM/VMMR3/PDMCritSect.cpp
|
|
SRC_CC += VMM/VMMAll/PDMAll.cpp
|
|
SRC_CC += VMM/VMMAll/PDMAllQueue.cpp
|
|
SRC_CC += VMM/VMMAll/PDMAllCritSect.cpp
|
|
SRC_CC += VMM/VMMAll/PDMAllCritSectRw.cpp
|
|
|
|
SRC_CC += VMM/VMMR3/TM.cpp
|
|
SRC_CC += VMM/VMMAll/TMAll.cpp
|
|
SRC_CC += VMM/VMMAll/TMAllVirtual.cpp
|
|
SRC_CC += VMM/VMMAll/TMAllReal.cpp
|
|
SRC_CC += VMM/VMMAll/TMAllCpu.cpp
|
|
SRC_CC += VMM/VMMAll/TRPMAll.cpp
|
|
|
|
SRC_CC += VMM/VMMR3/CFGM.cpp
|
|
|
|
SRC_CC += VMM/VMMR3/PDMDevHlp.cpp
|
|
SRC_CC += VMM/VMMR3/PDMDevMiscHlp.cpp
|
|
SRC_CC += VMM/VMMR3/PDMDriver.cpp
|
|
SRC_CC += VMM/VMMR3/PDMThread.cpp
|
|
|
|
SRC_CC += VMM/VMMR3/PDMUsb.cpp
|
|
|
|
SRC_CC += VMM/VMMAll/CPUMAllMsrs.cpp
|
|
SRC_CC += VMM/VMMAll/CPUMAllRegs.cpp
|
|
|
|
SRC_CC += VMM/VMMR3/VMEmt.cpp
|
|
SRC_CC += VMM/VMMR3/VMReq.cpp
|
|
|
|
CC_OPT_VMM/VMMR3/VMReq = -fpermissive
|
|
|
|
SRC_CC += VMM/VMMAll/DBGFAll.cpp
|
|
SRC_CC += VMM/VMMR3/DBGFInfo.cpp
|
|
|
|
SRC_CC += VMM/VMMR3/CPUM.cpp
|
|
SRC_CC += VMM/VMMR3/CPUMR3CpuId.cpp
|
|
SRC_CC += VMM/VMMR3/CPUMR3Db.cpp
|
|
|
|
SRC_CC += VMM/VMMAll/EMAll.cpp
|
|
SRC_CC += VMM/VMMR3/EM.cpp
|
|
SRC_CC += VMM/VMMR3/EMHM.cpp
|
|
|
|
SRC_CC += VMM/VMMAll/HMAll.cpp
|
|
|
|
SRC_CC += VMM/VMMR3/TRPM.cpp
|
|
SRC_CC += VMM/VMMAll/SELMAll.cpp
|
|
|
|
SRC_CC += VMM/VMMAll/REMAll.cpp
|
|
|
|
SRC_CC += VMM/VMMR3/VMMGuruMeditation.cpp
|
|
|
|
SRC_CC += VMM/VMMAll/IEMAll.cpp
|
|
SRC_S += VMM/VMMAll/IEMAllAImpl.asm
|
|
SRC_CC += VMM/VMMAll/IEMAllAImplC.cpp
|
|
SRC_CC += VMM/VMMR3/IEMR3.cpp
|
|
|
|
SRC_CC += VMM/VMMR3/GMM.cpp
|
|
|
|
SRC_CC += VMM/VMMR3/PGM.cpp
|
|
SRC_CC += VMM/VMMR3/PGMHandler.cpp
|
|
SRC_CC += VMM/VMMR3/PGMPhys.cpp
|
|
SRC_CC += VMM/VMMR3/PGMPool.cpp
|
|
SRC_CC += VMM/VMMAll/PGMAll.cpp
|
|
SRC_CC += VMM/VMMAll/PGMAllHandler.cpp
|
|
SRC_CC += VMM/VMMAll/PGMAllPhys.cpp
|
|
SRC_CC += VMM/VMMAll/PGMAllPool.cpp
|
|
|
|
SRC_CC += VMM/VMMR3/IOM.cpp
|
|
SRC_CC += VMM/VMMAll/IOMAll.cpp
|
|
SRC_CC += VMM/VMMAll/IOMAllMMIO.cpp
|
|
|
|
ifneq ($(filter $(VBOX_CC_OPT),-DVBOX_WITH_NEW_APIC),)
|
|
SRC_CC += VMM/VMMR3/APIC.cpp
|
|
SRC_CC += VMM/VMMAll/APICAll.cpp
|
|
endif
|
|
|
|
SRC_CC += VMM/VMMR3/MM.cpp
|
|
SRC_CC += VMM/VMMR3/MMHeap.cpp
|
|
|
|
CC_OPT += -DVBOX_IN_VMM
|
|
|
|
# definitions needed by SSM.cpp
|
|
CC_OPT += -DKBUILD_TYPE=\"debug\" \
|
|
-DKBUILD_TARGET=\"genode\" \
|
|
-DKBUILD_TARGET_ARCH=\"x86\"
|
|
|
|
# definitions needed by VMMAll.cpp
|
|
CC_OPT += -DVBOX_SVN_REV=~0
|
|
|
|
INC_DIR += $(VBOX_DIR)/VMM/include
|
|
|
|
CC_WARN += -Wno-unused-but-set-variable
|
|
|
|
CC_CXX_WARN_STRICT =
|