fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync# Makefile for the VirtualBox FreeBSD Host Drivers.
c58f1213e628a545081c70e26c6b67a841cff880vboxsync# Copyright (C) 2008-2010 Oracle Corporation
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync# available from http://www.virtualbox.org. This file is free software;
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync# you can redistribute it and/or modify it under the terms of the GNU
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync# General Public License (GPL) as published by the Free Software
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync @echo "*** Building 'vboxdrv' module ***"
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxdrv
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync @if [ -d vboxnetflt ]; then \
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync echo "*** Building 'vboxnetflt' module ***"; \
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetflt; \
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync @if [ -d vboxnetadp ]; then \
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync echo "*** Building 'vboxnetadp' module ***"; \
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetadp; \
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxdrv install
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync @if [ -d vboxnetflt ]; then \
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetflt install; \
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync @if [ -d vboxnetadp ]; then \
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetadp install; \
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync @if [ -d vboxnetflt ]; then \
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync @if [ -d vboxnetadp ]; then \
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync echo "Removing previously installed $$module module"; \
fc52e3feb173f6200d1c26b8e24891af2132dbc9vboxsync echo "Installing $$module module"; \