Makefile revision 715e49c31b15c23c17a9ce3be42a75e7c48d4b78
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# Makefile for the VirtualBox Linux Guest Drivers.
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsync# Copyright (C) 2009-2010 Oracle Corporation
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# available from http://www.virtualbox.org. This file is free software;
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# you can redistribute it and/or modify it under the terms of the GNU
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# General Public License (GPL) as published by the Free Software
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsyncelse # ! KBUILD_EXTMOD
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsync @echo "*** Building 'vboxguest' module ***"
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsync @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest
80096fb54d147045204dcc7e3ff273158de03f81vboxsync @if [ -d vboxsf ]; then \
80096fb54d147045204dcc7e3ff273158de03f81vboxsync echo "*** Building 'vboxsf' module ***"; \
80096fb54d147045204dcc7e3ff273158de03f81vboxsync $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxsf; \
06cbca165cf0666385ced1ca71dbd70dc6b3eaeevboxsync @if [ -d vboxvideo ]; then \
06cbca165cf0666385ced1ca71dbd70dc6b3eaeevboxsync echo "*** Building 'vboxvideo' module ***"; \
06cbca165cf0666385ced1ca71dbd70dc6b3eaeevboxsync $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxvideo; \
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsync @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest install
80096fb54d147045204dcc7e3ff273158de03f81vboxsync @if [ -d vboxsf ]; then \
80096fb54d147045204dcc7e3ff273158de03f81vboxsync $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxsf install; \
06cbca165cf0666385ced1ca71dbd70dc6b3eaeevboxsync @if [ -d vboxvideo ]; then \
06cbca165cf0666385ced1ca71dbd70dc6b3eaeevboxsync $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxvideo install; \
80096fb54d147045204dcc7e3ff273158de03f81vboxsync @if [ -d vboxsf ]; then \
06cbca165cf0666385ced1ca71dbd70dc6b3eaeevboxsync @if [ -d vboxvideo ]; then \
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest check
80096fb54d147045204dcc7e3ff273158de03f81vboxsync @if [ -f vboxsf.ko ]; then /sbin/insmod vboxsf.ko; fi
06cbca165cf0666385ced1ca71dbd70dc6b3eaeevboxsync @if [ -f vboxvideo.ko ]; then /sbin/insmod vboxvideo.ko; fi