Makefile revision 6dafba6bd64c19402c8f99c60785fe5e67205409
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Makefile for the VirtualBox Linux Guest Drivers.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Copyright (C) 2009 Oracle Corporation
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# This file is part of VirtualBox Open Source Edition (OSE), as
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# available from http://www.virtualbox.org. This file is free software;
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# you can redistribute it and/or modify it under the terms of the GNU
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# General Public License (GPL) as published by the Free Software
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Foundation, in version 2 as it comes in the "COPYING" file of the
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo @echo "*** Building 'vboxguest' module ***"
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest
28b1e50e4eed7be353f9778497714aab53ef2a0dSriharsha Basavapatna @if [ -f vboxguest/vboxguest.ko ]; then \
28b1e50e4eed7be353f9778497714aab53ef2a0dSriharsha Basavapatna @if [ -d vboxsf ]; then \
a192e900f6d2b0e1a822e3252c0dfd795ed49d76amaguire echo "*** Building 'vboxsf' module ***"; \
a192e900f6d2b0e1a822e3252c0dfd795ed49d76amaguire $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxsf; \
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest install
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo @if [ -d vboxsf ]; then \
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxsf install; \
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo @if [ -d vboxsf ]; then \