VirtualBox

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

Last change on this file since 13476 was 12886, checked in by vboxsync, 16 years ago

Makefile: Don't enter src/VBox/Debugger unless it's enabled (VBOX_WITH_DEBUGGER).

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