mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 08:21:08 +00:00
72cb71c827
Now SHA256 has been shown to be an adequate replacement for SHA1, use SHA256 for verifying all port downloads. Ref #2767
112 lines
5.7 KiB
Plaintext
112 lines
5.7 KiB
Plaintext
LICENSE := GPLv2
|
|
VERSION := 4.3.40
|
|
DOWNLOADS := virtualbox.archive virtualbox_sdk.archive
|
|
|
|
VIRTUALBOX_TBZ2 := VirtualBox-$(VERSION).tar.bz2
|
|
VIRTUALBOX_SDK_ZIP := VirtualBoxSDK-$(VERSION)-110317.zip
|
|
|
|
URL(virtualbox) := http://download.virtualbox.org/virtualbox/$(VERSION)/$(VIRTUALBOX_TBZ2)
|
|
DIR(virtualbox) := src/app/virtualbox
|
|
SHA(virtualbox) := 4bbea49ee1eaa600db7af64b05c8ce6a1f7585de08f4f85cd7b6f0f7a798bcc6
|
|
|
|
URL(virtualbox_sdk) := http://download.virtualbox.org/virtualbox/$(VERSION)/$(VIRTUALBOX_SDK_ZIP)
|
|
DIR(virtualbox_sdk) := src/app/virtualbox_sdk
|
|
SHA(virtualbox_sdk) := e227edd309cce72921797641cbd0c668c89a6fcaf557fb0242d42d32de82aa9b
|
|
|
|
PATCHES_DIR := src/virtualbox/patches
|
|
PATCHES_DIR_VBOX4 := src/virtualbox/patches
|
|
PATCHES := $(addprefix $(PATCHES_DIR)/, $(shell cat $(REP_DIR)/$(PATCHES_DIR)/series))
|
|
PATCHES += $(addprefix $(PATCHES_DIR_VBOX4)/, $(shell cat $(REP_DIR)/$(PATCHES_DIR_VBOX4)/series_common))
|
|
PATCH_OPT := -p1
|
|
|
|
$(call check_tool,xsltproc)
|
|
$(call check_tool,yasm)
|
|
$(call check_tool,iasl)
|
|
|
|
VBOX_MAIN_GLUE := AutoLock EventQueue string xpcom/helpers
|
|
|
|
VBOX_MAIN_ALL := DisplayResampleImage DisplayUtils EventImpl Global HashedPw
|
|
VBOX_MAIN_ALL += PCIDeviceAttachmentImpl ProgressImpl SharedFolderImpl
|
|
VBOX_MAIN_ALL += VirtualBoxBase
|
|
|
|
VBOX_MAIN_CLI := AdditionsFacilityImpl ConsoleImpl2 DisplayImpl HGCM HGCMThread
|
|
VBOX_MAIN_CLI += HGCMObjects
|
|
VBOX_MAIN_CLI += KeyboardImpl SessionImpl VMMDevInterface BusAssignmentManager
|
|
VBOX_MAIN_CLI += ConsoleImpl GuestImpl MouseImpl VBoxDriversRegister
|
|
|
|
VBOX_MAIN_SRV := AudioAdapterImpl ClientToken DHCPServerImpl Matching
|
|
VBOX_MAIN_SRV += MediumAttachmentImpl NATEngineImpl SerialPortImpl
|
|
VBOX_MAIN_SRV += BandwidthControlImpl GuestOSTypeImpl HostUSBDeviceImpl
|
|
VBOX_MAIN_SRV += MediumFormatImpl NetworkAdapterImpl SnapshotImpl
|
|
VBOX_MAIN_SRV += BandwidthGroupImpl MachineImplCloneVM MediumImpl
|
|
VBOX_MAIN_SRV += NetworkServiceRunner StorageControllerImpl VirtualBoxImpl
|
|
VBOX_MAIN_SRV += BIOSSettingsImpl MachineImpl MediumLock ParallelPortImpl
|
|
VBOX_MAIN_SRV += SystemPropertiesImpl VRDEServerImpl TokenImpl
|
|
VBOX_MAIN_SRV += USBControllerImpl USBDeviceFilterImpl USBDeviceFiltersImpl
|
|
|
|
VBOX_MAIN_INC := AdditionsFacilityImpl AudioAdapterImpl AudioSnifferInterface
|
|
VBOX_MAIN_INC += AutoCaller AutostartDb AutoStateDep BandwidthControlImpl
|
|
VBOX_MAIN_INC += BandwidthGroupImpl BIOSSettingsImpl BusAssignmentManager Nvram
|
|
VBOX_MAIN_INC += ClientToken ConsoleImpl DHCPServerImpl DisplayImpl HostImpl
|
|
VBOX_MAIN_INC += DisplayUtils EventImpl FramebufferImpl Global
|
|
VBOX_MAIN_INC += GuestCtrlImplPrivate GuestDirectoryImpl GuestDnDImpl Logging
|
|
VBOX_MAIN_INC += GuestFileImpl GuestFsObjInfoImpl GuestImpl GuestOSTypeImpl
|
|
VBOX_MAIN_INC += GuestSessionImpl HashedPw KeyboardImpl MachineImplCloneVM
|
|
VBOX_MAIN_INC += HGCM HGCMThread HGCMObjects
|
|
VBOX_MAIN_INC += MachineImpl MediumAttachmentImpl MediumFormatImpl MediumImpl
|
|
VBOX_MAIN_INC += MediumLock MouseImpl NATEngineImpl NATNetworkImpl objectslist
|
|
VBOX_MAIN_INC += NetworkAdapterImpl NetworkServiceRunner ParallelPortImpl
|
|
VBOX_MAIN_INC += PCIDeviceAttachmentImpl Performance ProgressImpl SnapshotImpl
|
|
VBOX_MAIN_INC += ProgressProxyImpl SerialPortImpl SessionImpl SharedFolderImpl
|
|
VBOX_MAIN_INC += StorageControllerImpl SystemPropertiesImpl TokenImpl VMMDev
|
|
VBOX_MAIN_INC += USBControllerImpl USBDeviceFilterImpl USBDeviceFiltersImpl
|
|
VBOX_MAIN_INC += USBProxyService VirtualBoxImpl VRDEServerImpl GuestProcessImpl
|
|
VBOX_MAIN_INC += USBDeviceImpl HostUSBDeviceImpl Matching Wrapper
|
|
|
|
VBOX_SRC_VBOX := VMM Devices Runtime GuestHost/HGSMI Storage Disassembler
|
|
VBOX_SRC_VBOX += HostServices/SharedFolders Main/xml/Settings.cpp
|
|
VBOX_SRC_VBOX += HostServices/SharedClipboard
|
|
VBOX_SRC_VBOX += HostServices/GuestProperties
|
|
VBOX_SRC_VBOX += Main/xml/VirtualBox-settings.xsd Main/xml/SchemaDefs.xsl
|
|
VBOX_SRC_VBOX += $(addsuffix .h, $(addprefix Main/include/, $(VBOX_MAIN_INC)))
|
|
VBOX_SRC_VBOX += $(addsuffix .cpp, $(addprefix Main/src-client/, $(VBOX_MAIN_CLI)))
|
|
VBOX_SRC_VBOX += $(addsuffix .cpp, $(addprefix Main/src-server/, $(VBOX_MAIN_SRV)))
|
|
VBOX_SRC_VBOX += $(addsuffix .cpp, $(addprefix Main/src-all/, $(VBOX_MAIN_ALL)))
|
|
VBOX_SRC_VBOX += $(addsuffix .cpp, $(addprefix Main/glue/, $(VBOX_MAIN_GLUE)))
|
|
|
|
VBOX_INC += types.h cdefs.h hgcmsvc.h err.h dis.h disopcode.h log.h sup.h pci.h
|
|
VBOX_INC += param.h ostypes.h VMMDev.h VMMDev2.h vusb.h dbg.h version.h HGSMI
|
|
VBOX_INC += VBoxVideo.h Hardware bioslogo.h scsi.h shflsvc.h VBoxGuest2.h vd.h
|
|
VBOX_INC += vd-plugin.h vd-ifs.h vd-ifs-internal.h vd-image-backend.h
|
|
VBOX_INC += vd-cache-backend.h vd-filter-backend.h msi.h asmdefs.mac err.mac
|
|
VBOX_INC += VBoxVideoHost3D.h VBoxVideo3D.h settings.h VBoxAuth.h
|
|
VBOX_INC += usb.h usbfilter.h
|
|
|
|
VBOX_INC_COM := array.h assert.h AutoLock.h ErrorInfo.h EventQueue.h Guid.h
|
|
VBOX_INC_COM += list.h MultiResult.h string.h
|
|
|
|
VBOX_INC_HOST := VBoxClipboardExt.h VBoxClipboardSvc.h GuestPropertySvc.h
|
|
|
|
VBOX_CONTENT += $(addprefix src/VBox/,$(VBOX_SRC_VBOX))
|
|
VBOX_CONTENT += $(addprefix include/VBox/, $(VBOX_INC))
|
|
VBOX_CONTENT += $(addprefix include/VBox/com/, $(VBOX_INC_COM))
|
|
VBOX_CONTENT += $(addprefix include/VBox/HostServices/, $(VBOX_INC_HOST))
|
|
|
|
VBOX_CONTENT += src/libs/zlib-1.2.8 src/libs/liblzf-3.4 src/libs/libxml2-2.9.2
|
|
VBOX_CONTENT += src/recompiler include/VBox/vmm include/iprt Config.kmk
|
|
|
|
|
|
TAR_OPT(virtualbox) := \
|
|
--strip-components 1 \
|
|
$(addprefix $(VIRTUALBOX_TBZ2:.tar.bz2=)/,$(VBOX_CONTENT))
|
|
|
|
UNZIP_OPT(virtualbox_sdk) := $(VIRTUALBOX_SDK_ZIP) sdk/bindings/xpcom/include/VirtualBox_XPCOM.h \#
|
|
|
|
|
|
default : additional_steps
|
|
additional_steps : $(DOWNLOADS)
|
|
xsltproc --stringparam mode declare \
|
|
-o src/app/virtualbox/src/VBox/Main/xml/SchemaDefs.h \
|
|
src/app/virtualbox/src/VBox/Main/xml/SchemaDefs.xsl \
|
|
src/app/virtualbox/src/VBox/Main/xml/VirtualBox-settings.xsd
|