VirtualBox

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

Last change on this file since 29184 was 28800, checked in by vboxsync, 15 years ago

Automated rebranding to Oracle copyright/license strings via filemuncher

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.6 KB
Line 
1# $Id: Makefile.kmk 28800 2010-04-27 08:22:32Z 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
18SUB_DEPTH = ../..
19include $(KBUILD_PATH)/subheader.kmk
20
21ifdef VBOX_SINGLE_MAKEFILE
22
23ifdef VBOX_ONLY_ADDITIONS
24 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
25 ifdef VBOX_WITH_CROGL
26 if1of ($(KBUILD_TARGET),win linux solaris)
27 include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
28 endif
29 endif
30 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
31
32else ifdef VBOX_ONLY_TESTSUITE
33 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
34 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
35 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
36
37else ifdef VBOX_ONLY_DOCS
38 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
39 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
40 include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
41
42else ifdef VBOX_ONLY_SDK
43 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk
44 ifdef VBOX_WITH_VRDP
45 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
46 endif
47 include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk
48 include $(PATH_SUB_CURRENT)/Frontends/VBoxShell/Makefile.kmk
49
50else
51 ifdef VBOX_WITH_MAIN
52 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk # Do this one first because of soap.
53 endif
54 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
55 include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
56 include $(PATH_SUB_CURRENT)/Devices/Makefile.kmk
57 include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
58 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
59 include $(PATH_SUB_CURRENT)/HostServices/Makefile.kmk
60 ifdef VBOX_WITH_DEBUGGER
61 include $(PATH_SUB_CURRENT)/Debugger/Makefile.kmk
62 endif
63 include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
64 ifdef VBOX_WITH_VRDP
65 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
66 endif
67 if defined(VBOX_WITH_CROGL) || defined(VBOX_WITH_HGSMI) || defined(VBOX_WITH_HGCM)
68 include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
69 endif
70 ifdef VBOX_WITH_ADDITIONS
71 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
72 endif
73 include $(PATH_SUB_CURRENT)/NetworkServices/Makefile.kmk
74 ifdef VBOX_WITH_INSTALLER
75 include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk # Keep this last.
76 endif
77endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
78
79else # !VBOX_SINGLE_MAKEFILE
80
81ifdef VBOX_ONLY_ADDITIONS
82 SUBDIRS = Runtime
83 ifdef VBOX_WITH_CROGL
84 SUBDIRS += GuestHost
85 endif
86 SUBDIRS += Additions
87
88else ifdef VBOX_ONLY_DOCS
89 SUBDIRS = \
90 Runtime \
91 Frontends \
92 HostDrivers
93
94else ifdef VBOX_ONLY_SDK
95 SUBDIRS = \
96 Main \
97 RDP \
98 Installer
99
100else # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
101 SUBDIRS_BLDPROGS = Devices Main
102
103 SUBDIRS = \
104 Runtime \
105 HostDrivers \
106 VMM \
107 Devices \
108 Disassembler
109
110 ifdef VBOX_WITH_CROGL
111 SUBDIRS += GuestHost
112 endif
113
114 SUBDIRS += HostServices
115
116 ifdef VBOX_WITH_DEBUGGER
117 SUBDIRS += Debugger
118 endif
119
120 ifdef VBOX_WITH_MAIN
121 SUBDIRS += Main
122 endif
123
124 ifdef VBOX_WITH_VRDP
125 SUBDIRS += RDP
126 endif
127
128 ifdef VBOX_WITH_ADDITIONS
129 SUBDIRS += Additions
130 endif
131
132 SUBDIRS += \
133 Frontends \
134 NetworkServices
135
136 # This must be the last one.
137 ifdef VBOX_WITH_INSTALLER
138 SUBDIRS += Installer
139 endif
140endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
141
142endif # !VBOX_SINGLE_MAKEFILE
143
144include $(KBUILD_PATH)/subfooter.kmk
145
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