1 | # $Id: Makefile.kmk 40385 2012-03-06 18:36:36Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Top-level makefile for src/VBox.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2010 Oracle Corporation
|
---|
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 |
|
---|
18 | SUB_DEPTH = ../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 |
|
---|
22 | ifdef VBOX_ONLY_ADDITIONS
|
---|
23 | include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
|
---|
24 | ifdef VBOX_WITH_CROGL
|
---|
25 | if1of ($(KBUILD_TARGET),win linux solaris freebsd)
|
---|
26 | include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
|
---|
27 | endif
|
---|
28 | endif
|
---|
29 | include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
|
---|
30 |
|
---|
31 | else ifdef VBOX_ONLY_DOCS
|
---|
32 | include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
|
---|
33 | include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
|
---|
34 | include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
|
---|
35 |
|
---|
36 | else ifdef VBOX_ONLY_EXTPACKS
|
---|
37 | include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
|
---|
38 | include $(PATH_SUB_CURRENT)/Devices/Makefile.kmk
|
---|
39 | include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
|
---|
40 | include $(PATH_SUB_CURRENT)/ExtPacks/Makefile.kmk
|
---|
41 | ifdef VBOX_WITH_VRDP
|
---|
42 | include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
|
---|
43 | endif
|
---|
44 | include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
|
---|
45 | ifndef VBOX_ONLY_EXTPACKS_USE_IMPLIBS
|
---|
46 | include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
|
---|
47 | endif
|
---|
48 |
|
---|
49 | else ifdef VBOX_ONLY_SDK
|
---|
50 | include $(PATH_SUB_CURRENT)/Main/Makefile.kmk
|
---|
51 | ifdef VBOX_WITH_VRDP
|
---|
52 | include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
|
---|
53 | endif
|
---|
54 | include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk
|
---|
55 | include $(PATH_SUB_CURRENT)/Frontends/VBoxShell/Makefile.kmk
|
---|
56 |
|
---|
57 | else ifdef VBOX_ONLY_TESTSUITE
|
---|
58 | include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
|
---|
59 | include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
|
---|
60 | include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
|
---|
61 | include $(PATH_SUB_CURRENT)/Testsuite/Makefile.kmk
|
---|
62 |
|
---|
63 | else
|
---|
64 | ifdef VBOX_WITH_MAIN
|
---|
65 | include $(PATH_SUB_CURRENT)/Main/Makefile.kmk # Do this one first because of soap.
|
---|
66 | endif
|
---|
67 | include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
|
---|
68 | include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
|
---|
69 | include $(PATH_SUB_CURRENT)/Storage/Makefile.kmk
|
---|
70 | if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
|
---|
71 | include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
|
---|
72 | include $(PATH_SUB_CURRENT)/Devices/Makefile.kmk
|
---|
73 | include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
|
---|
74 | include $(PATH_SUB_CURRENT)/HostServices/Makefile.kmk
|
---|
75 | endif
|
---|
76 | ifdef VBOX_WITH_DEBUGGER
|
---|
77 | include $(PATH_SUB_CURRENT)/Debugger/Makefile.kmk
|
---|
78 | endif
|
---|
79 | include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
|
---|
80 | ifdef VBOX_WITH_VRDP
|
---|
81 | include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
|
---|
82 | endif
|
---|
83 | if defined(VBOX_WITH_CROGL) || defined(VBOX_WITH_HGSMI) || defined(VBOX_WITH_HGCM)
|
---|
84 | include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
|
---|
85 | endif
|
---|
86 | ifdef VBOX_WITH_ADDITIONS
|
---|
87 | include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
|
---|
88 | endif
|
---|
89 | ifdef VBOX_WITH_TESTSUITE
|
---|
90 | include $(PATH_SUB_CURRENT)/Testsuite/Makefile.kmk
|
---|
91 | endif
|
---|
92 | if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
|
---|
93 | include $(PATH_SUB_CURRENT)/NetworkServices/Makefile.kmk
|
---|
94 | endif
|
---|
95 | include $(PATH_SUB_CURRENT)/ExtPacks/Makefile.kmk
|
---|
96 | ifdef VBOX_WITH_INSTALLER
|
---|
97 | include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk # Keep this last.
|
---|
98 | endif
|
---|
99 | endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
|
---|
100 |
|
---|
101 |
|
---|
102 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
103 |
|
---|