1 | # $Id: Makefile.kmk 11814 2008-08-29 12:47:44Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Top-level makefile for the VBox Host drivers.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 Sun Microsystems, Inc.
|
---|
8 | #
|
---|
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.
|
---|
16 | #
|
---|
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 | #
|
---|
21 |
|
---|
22 | ifdef VBOX_KBUILD_HACKING
|
---|
23 | SUB_DEPTH = ../../..
|
---|
24 | else
|
---|
25 | DEPTH = ../../..
|
---|
26 | endif
|
---|
27 | include $(KBUILD_PATH)/subheader.kmk
|
---|
28 |
|
---|
29 | # Include sub-makefiles.
|
---|
30 | include $(PATH_SUB_CURRENT)/Support/Makefile.kmk
|
---|
31 |
|
---|
32 | ifndef VBOX_ONLY_DOCS
|
---|
33 | ifeq ($(KBUILD_TARGET),win)
|
---|
34 | include $(PATH_SUB_CURRENT)/VBoxTAP/Makefile.kmk
|
---|
35 | endif
|
---|
36 | ifdef VBOX_WITH_USB
|
---|
37 | include $(PATH_SUB_CURRENT)/VBoxUSB/Makefile.kmk
|
---|
38 | endif
|
---|
39 | if1of ($(KBUILD_TARGET), darwin solaris win)
|
---|
40 | ifndef VBOX_OSE
|
---|
41 | ifneq ($(KBUILD_TARGET),win)
|
---|
42 | include $(PATH_SUB_CURRENT)/VBoxNetFlt/Makefile.kmk
|
---|
43 | else ifdef VBOX_WITH_NETFLT_WINDOWS
|
---|
44 | include $(PATH_SUB_CURRENT)/VBoxNetFlt/Makefile.kmk
|
---|
45 | endif
|
---|
46 | endif
|
---|
47 | endif
|
---|
48 | endif # !VBOX_ONLY_DOCS
|
---|
49 |
|
---|
50 | # Let kBuild generate the rules.
|
---|
51 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
52 |
|
---|