VirtualBox

source: vbox/trunk/src/VBox/Makefile.kmk@ 100881

Last change on this file since 100881 was 98439, checked in by vboxsync, 23 months ago

src/VBox/*.kmk: Automatic scm cleanups. bugref:10348

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.4 KB
Line 
1# $Id: Makefile.kmk 98439 2023-02-02 12:47:31Z vboxsync $
2## @file
3# Top-level makefile for src/VBox.
4#
5
6#
7# Copyright (C) 2006-2023 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28SUB_DEPTH = ../..
29include $(KBUILD_PATH)/subheader.kmk
30
31
32ifdef VBOX_ONLY_ADDITIONS
33 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
34 if defined(VBOX_WITH_CROGL) || defined(VBOX_WITH_HGSMI)
35 if1of ($(KBUILD_TARGET), win linux solaris freebsd netbsd haiku)
36 include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
37 endif
38 endif
39 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
40
41 ifdef VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST
42 include $(PATH_SUB_CURRENT)/ValidationKit/utils/audio/Makefile.kmk
43 endif
44
45else ifdef VBOX_ONLY_DOCS
46 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
47 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
48 include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
49
50else ifdef VBOX_ONLY_EXTPACKS
51 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
52 include $(PATH_SUB_CURRENT)/Devices/Makefile.kmk
53 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
54 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk
55 include $(PATH_SUB_CURRENT)/Storage/Makefile.kmk
56 include $(PATH_SUB_CURRENT)/ExtPacks/Makefile.kmk
57 if defined(VBOX_WITH_VRDP) || defined(VBOX_WITH_VRDP_RDESKTOP)
58 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
59 endif
60 include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
61 ifndef VBOX_ONLY_EXTPACKS_USE_IMPLIBS
62 include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
63 endif
64
65else ifdef VBOX_ONLY_SDK
66 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk
67 ifdef VBOX_WITH_VRDP
68 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
69 endif
70 include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk
71 include $(PATH_SUB_CURRENT)/Frontends/VBoxShell/Makefile.kmk
72
73else ifdef VBOX_ONLY_VALIDATIONKIT
74 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
75 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
76 include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
77 include $(PATH_SUB_CURRENT)/ValidationKit/Makefile.kmk
78
79else
80 if defined(VBOX_WITH_MAIN) && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
81 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk # Do this one first because of soap.
82 endif
83 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
84 include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
85 include $(PATH_SUB_CURRENT)/Storage/Makefile.kmk
86 if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
87 include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
88 endif
89 include $(PATH_SUB_CURRENT)/Devices/Makefile.kmk
90 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
91 if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
92 include $(PATH_SUB_CURRENT)/HostServices/Makefile.kmk
93 ifdef VBOX_WITH_DEBUGGER
94 include $(PATH_SUB_CURRENT)/Debugger/Makefile.kmk
95 endif
96 include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
97 endif
98 ifdef VBOX_WITH_VRDP
99 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
100 endif
101 if defined(VBOX_WITH_CROGL) || defined(VBOX_WITH_HGSMI) || defined(VBOX_WITH_HGCM)
102 include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
103 endif
104 ifdef VBOX_WITH_ADDITIONS
105 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
106 endif
107 ifdef VBOX_WITH_VALIDATIONKIT
108 include $(PATH_SUB_CURRENT)/ValidationKit/Makefile.kmk
109 else ifdef VBOX_WITH_HOST_SHIPPING_AUDIO_TEST
110 include $(PATH_SUB_CURRENT)/ValidationKit/utils/audio/Makefile.kmk
111 endif
112 include $(PATH_SUB_CURRENT)/NetworkServices/Makefile.kmk
113 if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
114 include $(PATH_SUB_CURRENT)/ExtPacks/Makefile.kmk
115 endif
116 include $(PATH_SUB_CURRENT)/ImageMounter/Makefile.kmk
117 if defined(VBOX_WITH_INSTALLER) && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
118 include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk # Keep this last.
119 endif
120endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
121
122
123include $(FILE_KBUILD_SUB_FOOTER)
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette