Makefile revision d35bc16bb4e4d1795110172a6f4afb9a29d0d0cd
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Makefile for the VirtualBox Linux Guest Drivers.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Copyright (C) 2009 Sun Microsystems, Inc.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# This file is part of VirtualBox Open Source Edition (OSE), as
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# available from http://www.virtualbox.org. This file is free software;
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# you can redistribute it and/or modify it under the terms of the GNU
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# General Public License (GPL) as published by the Free Software
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Foundation, in version 2 as it comes in the "COPYING" file of the
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Clara, CA 95054 USA or visit http://www.sun.com if you need
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# additional information or have any questions.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User @echo "*** Building 'vboxguest' module ***"
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User @if [ -d vboxvfs ]; then \
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User echo "*** Building 'vboxvfs' module ***"; \
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxvfs; \
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest install
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User @if [ -d vboxvfs ]; then \
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxvfs install; \
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User @if [ -d vboxvfs ]; then \
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User @if [ -f vboxvfs.ko ]; then /sbin/insmod vboxvfs.ko; fi