Makefile revision 573b4463e0c05f87daa29b6a4a8fef6a990e0b74
#
#
#
# Copyright (C) 2006 InnoTek Systemberatung GmbH
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# General Public License as published by the Free Software Foundation,
# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
# distribution. VirtualBox OSE is distributed in the hope that it will
# be useful, but WITHOUT ANY WARRANTY of any kind.
#
# If you received this file as part of a commercial VirtualBox
# distribution, then only the terms of your commercial VirtualBox
# license agreement apply instead of the previous paragraph.
#
DEPTH ?= ../../../..
SUB_PATH = ..
#
# Targets
#
#
# Include sub-makefile(s).
#
## @todo change this to use a INSTALLS target.
r0drv/linux/initterm-r0drv-linux.c=$(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c \
r0drv/linux/semaphore-r0drv-linux.c=$(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/semaphore-r0drv-linux.c \
r0drv/linux/spinlock-r0drv-linux.c=$(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c \
OTHER_CLEAN = $(OTHERS)
endif # real linux
#
# The Ring-3 Support Library (this is linked into the IPRT dll, VBoxRT).
#
# L4 has trouble with -pedantic. It also make trouble when inlining is not enabled.
else
SUPR3_SOURCES = \
else
SUPR3_SOURCES = \
#
# SUPR0 - The Ring-0 Import / Thunk library.
#
#
# VBoxDrv.sys - The Windows driver.
#
VBoxDrv_SOURCES = \
VBoxDrv_SOURCES.x86 = \
VBoxDrv_SOURCES.amd64 = \
VBoxDrv_LIBS = \
#
# vboxdrv.ko - The Linux Kernel Module.
#
vboxdrv_DEFS = KBUILD_MODNAME=KBUILD_STR\(vboxdrv\) KBUILD_BASENAME=KBUILD_STR\(vboxdrv\) MODULE IN_RT_R0 IN_SUP_R0 CONFIG_VBOXDRV_AS_MISC
vboxdrv_SOURCES = \
vboxdrv_SOURCES += \
endif # real linux
#
# VBoxDrv.kext - The Darwin Kernel Extension.
#
VBoxDrv_SOURCES = \
$(PATH_TARGET)/Info.plist: $(VBOX_PATH_SUPPORT)/darwin/Info.plist $(VBOX_VERSION_MK) | $(call DIRDEP,$(PATH_TARGET))
$(call MSG_L1,Generating $@)
-e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
-e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
-e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
$< > $@
Scripts_INST = bin/
Scripts_SOURCES = \
#
# Generate rules for exporting the linux sources.
#
$$(call MSG_L1,Installing $$@)
# generate rules
#
# Rule for creating a symlinked setup.
#
$(ECHO) done