VirtualBox

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

Last change on this file since 91497 was 89656, checked in by vboxsync, 3 years ago

/Config.kmk,src/VBox/Makefile.kmk,ValKit/AudioTest: Added config variables VBOX_WITH_HOST_SHIPPING_AUDIO_TEST and VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST for controlling whether we ship the audio test with the host and GA installers. Copy vkat to bin if we need it on the host. bugref:10008

  • 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 89656 2021-06-13 22:57:27Z vboxsync $
2## @file
3# Top-level makefile for src/VBox.
4#
5
6#
7# Copyright (C) 2006-2020 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
18SUB_DEPTH = ../..
19include $(KBUILD_PATH)/subheader.kmk
20
21
22ifdef VBOX_ONLY_ADDITIONS
23 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
24 if defined(VBOX_WITH_CROGL) || defined(VBOX_WITH_HGSMI)
25 if1of ($(KBUILD_TARGET),win linux solaris freebsd netbsd haiku)
26 include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
27 endif
28 endif
29 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
30
31 ifdef VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST
32 include $(PATH_SUB_CURRENT)/ValidationKit/utils/audio/Makefile.kmk
33 endif
34
35else ifdef VBOX_ONLY_DOCS
36 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
37 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
38 include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
39
40else ifdef VBOX_ONLY_EXTPACKS
41 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
42 include $(PATH_SUB_CURRENT)/Devices/Makefile.kmk
43 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
44 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk
45 include $(PATH_SUB_CURRENT)/Storage/Makefile.kmk
46 include $(PATH_SUB_CURRENT)/ExtPacks/Makefile.kmk
47 ifdef VBOX_WITH_VRDP
48 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
49 endif
50 include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
51 ifndef VBOX_ONLY_EXTPACKS_USE_IMPLIBS
52 include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
53 endif
54
55else ifdef VBOX_ONLY_SDK
56 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk
57 ifdef VBOX_WITH_VRDP
58 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
59 endif
60 include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk
61 include $(PATH_SUB_CURRENT)/Frontends/VBoxShell/Makefile.kmk
62
63else ifdef VBOX_ONLY_VALIDATIONKIT
64 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
65 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
66 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
67 include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
68 include $(PATH_SUB_CURRENT)/ValidationKit/Makefile.kmk
69
70else
71 if defined(VBOX_WITH_MAIN) && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
72 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk # Do this one first because of soap.
73 endif
74 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
75 include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
76 include $(PATH_SUB_CURRENT)/Storage/Makefile.kmk
77 if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
78 include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
79 endif
80 include $(PATH_SUB_CURRENT)/Devices/Makefile.kmk
81 if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS) x86) # x86: For now include SUPR3.
82 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
83 endif
84 if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
85 include $(PATH_SUB_CURRENT)/HostServices/Makefile.kmk
86 ifdef VBOX_WITH_DEBUGGER
87 include $(PATH_SUB_CURRENT)/Debugger/Makefile.kmk
88 endif
89 include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
90 endif
91 ifdef VBOX_WITH_VRDP
92 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
93 else ifdef VBOX_WITH_VRDP_RDESKTOP
94 include $(PATH_SUB_CURRENT)/RDP/client-1.8.4/Makefile.kmk
95 endif
96 if defined(VBOX_WITH_CROGL) || defined(VBOX_WITH_HGSMI) || defined(VBOX_WITH_HGCM)
97 include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
98 endif
99 ifdef VBOX_WITH_ADDITIONS
100 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
101 endif
102 ifdef VBOX_WITH_VALIDATIONKIT
103 include $(PATH_SUB_CURRENT)/ValidationKit/Makefile.kmk
104 else ifdef VBOX_WITH_HOST_SHIPPING_AUDIO_TEST
105 include $(PATH_SUB_CURRENT)/ValidationKit/utils/audio/Makefile.kmk
106 endif
107 include $(PATH_SUB_CURRENT)/NetworkServices/Makefile.kmk
108 if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
109 include $(PATH_SUB_CURRENT)/ExtPacks/Makefile.kmk
110 endif
111 include $(PATH_SUB_CURRENT)/ImageMounter/Makefile.kmk
112 if defined(VBOX_WITH_INSTALLER) && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
113 include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk # Keep this last.
114 endif
115endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
116
117
118include $(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