VirtualBox

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

Last change on this file since 14680 was 14162, checked in by vboxsync, 16 years ago

makefile fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.3 KB
Line 
1# $Id: Makefile.kmk 14162 2008-11-13 08:55:50Z 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 include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
31 endif
32 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
33
34else ifdef VBOX_ONLY_DOCS
35 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
36 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
37 include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
38
39else ifdef VBOX_ONLY_SDK
40 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk
41 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
42 include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk
43
44else
45 ifdef VBOX_WITH_MAIN
46 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk # Do this one first because of soap.
47 endif
48 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
49 include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
50 include $(PATH_SUB_CURRENT)/Devices/Makefile.kmk
51 include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
52 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
53 include $(PATH_SUB_CURRENT)/HostServices/Makefile.kmk
54 ifdef VBOX_WITH_DEBUGGER
55 include $(PATH_SUB_CURRENT)/Debugger/Makefile.kmk
56 endif
57 include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
58 ifdef VBOX_WITH_VRDP
59 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
60 endif
61 ifdef VBOX_WITH_CROGL
62 include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
63 endif
64 ifdef VBOX_WITH_ADDITIONS
65 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
66 endif
67 ifdef VBOX_WITH_INSTALLER
68 include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk # Keep this last.
69 endif
70endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
71
72else # !VBOX_SINGLE_MAKEFILE
73
74ifdef VBOX_ONLY_ADDITIONS
75 SUBDIRS = Runtime
76 ifdef VBOX_WITH_CROGL
77 SUBDIRS += GuestHost
78 endif
79 SUBDIRS += Additions
80
81else ifdef VBOX_ONLY_DOCS
82 SUBDIRS = \
83 Runtime \
84 Frontends \
85 HostDrivers
86
87else ifdef VBOX_ONLY_SDK
88 SUBDIRS = \
89 Main \
90 RDP \
91 Installer
92
93else # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
94 SUBDIRS_BLDPROGS = Devices Main
95
96 SUBDIRS = \
97 Runtime \
98 HostDrivers \
99 VMM \
100 Devices \
101 Disassembler
102
103 ifdef VBOX_WITH_CROGL
104 SUBDIRS += GuestHost
105 endif
106
107 SUBDIRS += HostServices
108
109 ifdef VBOX_WITH_DEBUGGER
110 SUBDIRS += Debugger
111 endif
112
113 ifdef VBOX_WITH_MAIN
114 SUBDIRS += Main
115 endif
116
117 ifdef VBOX_WITH_VRDP
118 SUBDIRS += RDP
119 endif
120
121 ifdef VBOX_WITH_ADDITIONS
122 SUBDIRS += Additions
123 endif
124
125 SUBDIRS += Frontends
126
127 # This must be the last one.
128 ifdef VBOX_WITH_INSTALLER
129 SUBDIRS += Installer
130 endif
131endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
132
133endif # !VBOX_SINGLE_MAKEFILE
134
135include $(KBUILD_PATH)/subfooter.kmk
136
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