VirtualBox

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

Last change on this file since 52771 was 51758, checked in by vboxsync, 10 years ago

Fix extpack building hopefully

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