VirtualBox

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

Last change on this file since 74442 was 74210, checked in by vboxsync, 6 years ago

VBox/Makefile.kmk: first go at fixing extpack build when VBOX_WITH_CLOUD_PROVIDERS_IN_EXTPACK is enabled (which needs the API headers)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.8 KB
Line 
1# $Id: Makefile.kmk 74210 2018-09-12 09:51:09Z vboxsync $
2## @file
3# Top-level makefile for src/VBox.
4#
5
6#
7# Copyright (C) 2006-2017 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
31else 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
36else 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 ifdef VBOX_WITH_CLOUD_PROVIDERS_IN_EXTPACK
41 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk
42 endif
43 include $(PATH_SUB_CURRENT)/Storage/Makefile.kmk
44 include $(PATH_SUB_CURRENT)/ExtPacks/Makefile.kmk
45 ifdef VBOX_WITH_VRDP
46 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
47 endif
48 include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
49 ifndef VBOX_ONLY_EXTPACKS_USE_IMPLIBS
50 include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
51 endif
52
53else ifdef VBOX_ONLY_SDK
54 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk
55 ifdef VBOX_WITH_VRDP
56 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
57 endif
58 include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk
59 include $(PATH_SUB_CURRENT)/Frontends/VBoxShell/Makefile.kmk
60
61else ifdef VBOX_ONLY_VALIDATIONKIT
62 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
63 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
64 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
65 include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
66 include $(PATH_SUB_CURRENT)/ValidationKit/Makefile.kmk
67
68else
69 ifdef VBOX_WITH_MAIN
70 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk # Do this one first because of soap.
71 endif
72 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
73 include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
74 include $(PATH_SUB_CURRENT)/Storage/Makefile.kmk
75 if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
76 include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
77 include $(PATH_SUB_CURRENT)/Devices/Makefile.kmk
78 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
79 include $(PATH_SUB_CURRENT)/HostServices/Makefile.kmk
80 endif
81 ifdef VBOX_WITH_DEBUGGER
82 include $(PATH_SUB_CURRENT)/Debugger/Makefile.kmk
83 endif
84 include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
85 ifdef VBOX_WITH_VRDP
86 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
87 else ifdef VBOX_WITH_VRDP_RDESKTOP
88 include $(PATH_SUB_CURRENT)/RDP/client-1.8.3/Makefile.kmk
89 endif
90 if defined(VBOX_WITH_CROGL) || defined(VBOX_WITH_HGSMI) || defined(VBOX_WITH_HGCM)
91 include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
92 endif
93 ifdef VBOX_WITH_ADDITIONS
94 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
95 endif
96 ifdef VBOX_WITH_VALIDATIONKIT
97 include $(PATH_SUB_CURRENT)/ValidationKit/Makefile.kmk
98 endif
99 ifdef VBOX_WITH_MAIN
100 if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
101 include $(PATH_SUB_CURRENT)/NetworkServices/Makefile.kmk
102 endif
103 endif
104 include $(PATH_SUB_CURRENT)/ExtPacks/Makefile.kmk
105 ifdef VBOX_WITH_INSTALLER
106 include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk # Keep this last.
107 endif
108endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
109
110
111include $(FILE_KBUILD_SUB_FOOTER)
112
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