VirtualBox

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

Last change on this file since 16596 was 16373, checked in by vboxsync, 16 years ago

OSE fix

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.4 KB
Line 
1# $Id: Makefile.kmk 16373 2009-01-29 15:26:38Z vboxsync $
2## @file
3# Top-level makefile for src/VBox.
4#
5
6#
7# Copyright (C) 2006-2007 Sun Microsystems, Inc.
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# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18# Clara, CA 95054 USA or visit http://www.sun.com if you need
19# additional information or have any questions.
20#
21
22SUB_DEPTH = ../..
23include $(KBUILD_PATH)/subheader.kmk
24
25ifdef VBOX_SINGLE_MAKEFILE
26
27ifdef VBOX_ONLY_ADDITIONS
28 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
29 ifdef VBOX_WITH_CROGL
30 if1of ($(KBUILD_TARGET),win)
31 include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
32 endif
33 endif
34 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
35
36else ifdef VBOX_ONLY_DOCS
37 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
38 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
39 include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
40
41else ifdef VBOX_ONLY_SDK
42 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk
43 ifdef VBOX_WITH_VRDP
44 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
45 endif
46 include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk
47
48else
49 ifdef VBOX_WITH_MAIN
50 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk # Do this one first because of soap.
51 endif
52 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
53 include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
54 include $(PATH_SUB_CURRENT)/Devices/Makefile.kmk
55 include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
56 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
57 include $(PATH_SUB_CURRENT)/HostServices/Makefile.kmk
58 ifdef VBOX_WITH_DEBUGGER
59 include $(PATH_SUB_CURRENT)/Debugger/Makefile.kmk
60 endif
61 include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
62 ifdef VBOX_WITH_VRDP
63 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
64 endif
65 ifdef VBOX_WITH_CROGL
66 include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
67 endif
68 ifdef VBOX_WITH_ADDITIONS
69 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
70 endif
71 ifdef VBOX_WITH_INSTALLER
72 include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk # Keep this last.
73 endif
74endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
75
76else # !VBOX_SINGLE_MAKEFILE
77
78ifdef VBOX_ONLY_ADDITIONS
79 SUBDIRS = Runtime
80 ifdef VBOX_WITH_CROGL
81 SUBDIRS += GuestHost
82 endif
83 SUBDIRS += Additions
84
85else ifdef VBOX_ONLY_DOCS
86 SUBDIRS = \
87 Runtime \
88 Frontends \
89 HostDrivers
90
91else ifdef VBOX_ONLY_SDK
92 SUBDIRS = \
93 Main \
94 RDP \
95 Installer
96
97else # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
98 SUBDIRS_BLDPROGS = Devices Main
99
100 SUBDIRS = \
101 Runtime \
102 HostDrivers \
103 VMM \
104 Devices \
105 Disassembler
106
107 ifdef VBOX_WITH_CROGL
108 SUBDIRS += GuestHost
109 endif
110
111 SUBDIRS += HostServices
112
113 ifdef VBOX_WITH_DEBUGGER
114 SUBDIRS += Debugger
115 endif
116
117 ifdef VBOX_WITH_MAIN
118 SUBDIRS += Main
119 endif
120
121 ifdef VBOX_WITH_VRDP
122 SUBDIRS += RDP
123 endif
124
125 ifdef VBOX_WITH_ADDITIONS
126 SUBDIRS += Additions
127 endif
128
129 SUBDIRS += Frontends
130
131 # This must be the last one.
132 ifdef VBOX_WITH_INSTALLER
133 SUBDIRS += Installer
134 endif
135endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
136
137endif # !VBOX_SINGLE_MAKEFILE
138
139include $(KBUILD_PATH)/subfooter.kmk
140
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