2013-08-21 09:37:21 +00:00
|
|
|
include $(REP_DIR)/lib/mk/virtualbox-common.inc
|
|
|
|
|
|
|
|
SRC_CC += Devices/PC/DevFwCommon.cpp
|
|
|
|
SRC_CC += Devices/PC/DevPcBios.cpp
|
|
|
|
SRC_CC += Devices/Bus/DevPCI.cpp
|
|
|
|
SRC_CC += Devices/PC/DevACPI.cpp
|
|
|
|
SRC_CC += Devices/PC/ACPI/VBoxAcpi.cpp
|
|
|
|
SRC_C += Devices/PC/DevPcArch.c
|
|
|
|
SRC_CC += Devices/Input/DevPS2.cpp
|
|
|
|
SRC_CC += Devices/Input/PS2K.cpp
|
|
|
|
SRC_CC += Devices/PC/DevPit-i8254.cpp
|
|
|
|
SRC_CC += Devices/PC/DevPIC.cpp
|
|
|
|
SRC_CC += Devices/PC/DevRTC.cpp
|
|
|
|
SRC_CC += Devices/PC/DevDMA.cpp
|
|
|
|
SRC_CC += Devices/PC/DevAPIC.cpp
|
|
|
|
SRC_CC += Devices/Graphics/DevVGA.cpp
|
|
|
|
SRC_CC += Devices/Graphics/DevVGA_VBVA.cpp
|
|
|
|
SRC_CC += Devices/Graphics/DevVGA_VDMA.cpp
|
2014-09-23 11:01:47 +00:00
|
|
|
SRC_CC += Devices/Graphics/DevVGA-SVGA.cpp
|
2013-08-21 09:37:21 +00:00
|
|
|
SRC_CC += Devices/Graphics/HGSMI/HGSMIHost.cpp
|
|
|
|
SRC_CC += Devices/Graphics/HGSMI/HGSMIHostHlp.cpp
|
|
|
|
SRC_CC += Devices/Graphics/HGSMI/SHGSMIHost.cpp
|
2014-09-23 11:01:47 +00:00
|
|
|
SRC_CC += Devices/Storage/ATAPIPassthrough.cpp
|
2013-08-21 09:37:21 +00:00
|
|
|
SRC_CC += Devices/Storage/DevATA.cpp
|
|
|
|
SRC_CC += Devices/Storage/Debug.cpp
|
2014-09-23 11:01:47 +00:00
|
|
|
SRC_CC += Devices/Storage/DevFdc.c
|
2014-07-02 15:35:56 +00:00
|
|
|
SRC_CC += Devices/Network/DevE1000.cpp
|
|
|
|
SRC_CC += Devices/Network/DevE1000Phy.cpp
|
|
|
|
SRC_CC += Devices/Network/DevEEPROM.cpp
|
2013-08-21 09:37:21 +00:00
|
|
|
SRC_CC += Devices/Network/DevPCNet.cpp
|
|
|
|
SRC_CC += Devices/VMMDev/VMMDev.cpp
|
2014-05-23 07:26:57 +00:00
|
|
|
SRC_CC += Devices/VMMDev/VMMDevHGCM.cpp
|
2013-08-21 09:37:21 +00:00
|
|
|
SRC_CC += GuestHost/HGSMI/HGSMICommon.cpp
|
|
|
|
SRC_CC += Devices/Serial/DevSerial.cpp
|
|
|
|
SRC_CC += Devices/PC/DevIoApic.cpp
|
|
|
|
|
2015-06-03 12:39:01 +00:00
|
|
|
SRC_C += Devices/Audio/audio.c
|
|
|
|
SRC_C += Devices/Audio/audiosniffer.c
|
|
|
|
SRC_C += Devices/Audio/filteraudio.c
|
|
|
|
SRC_C += Devices/Audio/mixeng.c
|
|
|
|
SRC_C += Devices/Audio/noaudio.c
|
|
|
|
SRC_CC += Devices/Audio/DevIchAc97.cpp
|
|
|
|
SRC_CC += Devices/Audio/DevIchHda.cpp
|
|
|
|
SRC_CC += Devices/Audio/DevIchHdaCodec.cpp
|
2015-02-22 18:04:55 +00:00
|
|
|
SRC_CC += Devices/USB/DevOHCI.cpp
|
|
|
|
SRC_CC += Devices/USB/USBProxyDevice.cpp
|
|
|
|
SRC_CC += Devices/USB/VUSBDevice.cpp
|
|
|
|
SRC_CC += Devices/USB/VUSBReadAhead.cpp
|
|
|
|
SRC_CC += Devices/USB/VUSBUrb.cpp
|
|
|
|
SRC_CC += Devices/Input/UsbMouse.cpp
|
|
|
|
SRC_CC += Devices/Input/UsbKbd.cpp
|
|
|
|
|
|
|
|
SRC_CC += Devices/build/VBoxDD.cpp
|
2013-08-21 09:37:21 +00:00
|
|
|
|
|
|
|
INC_DIR += $(VBOX_DIR)/Devices/build
|
|
|
|
INC_DIR += $(VBOX_DIR)/Devices/Bus
|
|
|
|
|
|
|
|
CC_WARN += -Wno-unused-but-set-variable
|
|
|
|
|
2014-09-23 11:01:47 +00:00
|
|
|
CC_OPT += -DVBOX_WITH_WDDM -DVBOX_WITH_WDDM_W8 -DVBOXWDDM_WITH_VBVA
|
|
|
|
CC_OPT += -DVBOX_WITH_VDMA
|
|
|
|
CC_OPT += -DVBOX_WITH_VMSVGA
|
2013-08-21 09:37:21 +00:00
|
|
|
|
2014-03-05 16:05:44 +00:00
|
|
|
Devices/Graphics/DevVGA.o: vbetables.h
|
2013-08-21 09:37:21 +00:00
|
|
|
|
|
|
|
vbetables.h: vbetables-gen
|
|
|
|
$(MSG_CONVERT)$@
|
|
|
|
$(VERBOSE)./$^ > $@
|
|
|
|
|
|
|
|
vbetables-gen: Devices/Graphics/BIOS/vbetables-gen.c
|
|
|
|
$(MSG_BUILD)$@
|
|
|
|
$(VERBOSE)g++ $(VBOX_CC_OPT) $(addprefix -I,$(INC_DIR)) -o $@ $^
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-03-05 16:05:44 +00:00
|
|
|
Devices/PC/ACPI/VBoxAcpi.o: vboxaml.hex vboxssdt-standard.hex vboxssdt-cpuhotplug.hex
|
2013-08-21 09:37:21 +00:00
|
|
|
|
|
|
|
vboxaml.hex: vbox.dsl
|
|
|
|
iasl -tc -vs -p $@ $^
|
|
|
|
|
|
|
|
vboxssdt-standard.hex: vbox-standard.dsl
|
|
|
|
iasl -tc -vs -p $@ $^ && \
|
|
|
|
mv $@ $@.tmp && \
|
|
|
|
sed "s/AmlCode/AmlCodeSsdtStandard/g" <$@.tmp >$@ && \
|
|
|
|
rm $@.tmp
|
|
|
|
|
|
|
|
vboxssdt-cpuhotplug.hex: vbox-cpuhotplug.dsl
|
|
|
|
gcc -E -P -x c -o $@.pre $< && \
|
|
|
|
iasl -tc -vs -p $@ $@.pre && \
|
|
|
|
mv $@ $@.tmp && \
|
|
|
|
sed "s/AmlCode/AmlCodeSsdtCpuHotPlug/g" <$@.tmp >$@ && \
|
|
|
|
rm $@.tmp $@.pre
|
|
|
|
|
|
|
|
vpath %.dsl $(VBOX_DIR)/Devices/PC
|