Makefile revision d35bc16bb4e4d1795110172a6f4afb9a29d0d0cd
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# Makefile for the VirtualBox Linux Guest Drivers.
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# Copyright (C) 2009 Sun Microsystems, Inc.
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.
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync# additional information or have any questions.
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsync @echo "*** Building 'vboxguest' module ***"
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsync @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync @if [ -d vboxvfs ]; then \
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync echo "*** Building 'vboxvfs' module ***"; \
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxvfs; \
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsync @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest install
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync @if [ -d vboxvfs ]; then \
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxvfs install; \
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync @if [ -d vboxvfs ]; then \
b1ae8b1c40ec6bb82e7984b72712df5661332e2cvboxsync @if [ -f vboxvfs.ko ]; then /sbin/insmod vboxvfs.ko; fi