[2478] | 1 | # $Id: Makefile.kmk 18059 2009-03-18 12:39:03Z vboxsync $
|
---|
| 2 | ## @file
|
---|
[2516] | 3 | # Top-level makefile for the VBox Host drivers.
|
---|
[2478] | 4 | #
|
---|
| 5 |
|
---|
| 6 | #
|
---|
[8155] | 7 | # Copyright (C) 2006-2007 Sun Microsystems, Inc.
|
---|
[5564] | 8 | #
|
---|
[5999] | 9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
| 10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
| 11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
| 12 | # General Public License (GPL) as published by the Free Software
|
---|
| 13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
| 14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
| 15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
[5565] | 16 | #
|
---|
[8155] | 17 | # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
| 18 | # Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
| 19 | # additional information or have any questions.
|
---|
| 20 | #
|
---|
[2478] | 21 |
|
---|
[10049] | 22 | SUB_DEPTH = ../../..
|
---|
[8760] | 23 | include $(KBUILD_PATH)/subheader.kmk
|
---|
[2478] | 24 |
|
---|
[11805] | 25 | # Include sub-makefiles.
|
---|
| 26 | include $(PATH_SUB_CURRENT)/Support/Makefile.kmk
|
---|
[11721] | 27 |
|
---|
[11805] | 28 | ifndef VBOX_ONLY_DOCS
|
---|
| 29 | ifdef VBOX_WITH_USB
|
---|
| 30 | include $(PATH_SUB_CURRENT)/VBoxUSB/Makefile.kmk
|
---|
| 31 | endif
|
---|
[13938] | 32 | if1of ($(KBUILD_TARGET), darwin solaris win linux)
|
---|
[11935] | 33 | ifdef VBOX_WITH_NETFLT
|
---|
| 34 | include $(PATH_SUB_CURRENT)/VBoxNetFlt/Makefile.kmk
|
---|
[11703] | 35 | endif
|
---|
[11805] | 36 | endif
|
---|
[16960] | 37 | if1of ($(KBUILD_TARGET), darwin solaris)
|
---|
[16848] | 38 | ifdef VBOX_WITH_NETADP
|
---|
| 39 | include $(PATH_SUB_CURRENT)/VBoxNetAdp/Makefile.kmk
|
---|
| 40 | endif
|
---|
| 41 | endif
|
---|
| 42 |
|
---|
[14545] | 43 | ifeq ($(KBUILD_TARGET),linux)
|
---|
| 44 | #
|
---|
| 45 | # Install the Makefile for module compliation on Linux hosts
|
---|
| 46 | #
|
---|
| 47 | INSTALLS += HostDrivers-src
|
---|
| 48 | HostDrivers-src_INST = bin/src/
|
---|
| 49 | HostDrivers-src_MODE = a+r,u+w
|
---|
| 50 | HostDrivers-src_SOURCES = linux/Makefile
|
---|
| 51 | endif
|
---|
| 52 |
|
---|
[11805] | 53 | endif # !VBOX_ONLY_DOCS
|
---|
[2478] | 54 |
|
---|
| 55 | # Let kBuild generate the rules.
|
---|
[8760] | 56 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
[2478] | 57 |
|
---|