VirtualBox

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

Last change on this file since 11730 was 11703, checked in by vboxsync, 16 years ago

Documentation: implement VBOX_ONLY_DOCS

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 KB
Line 
1# $Id: Makefile.kmk 11703 2008-08-27 14:51:40Z 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_KBUILD_HACKING
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
29else ifdef VBOX_ONLY_DOCS
30 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
31 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
32 include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
33else
34 ifdef VBOX_WITH_MAIN
35 include $(PATH_SUB_CURRENT)/Main/Makefile.kmk # Do this one first because of soap.
36 endif
37 include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
38 include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
39 include $(PATH_SUB_CURRENT)/Devices/Makefile.kmk
40 include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
41 include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
42 include $(PATH_SUB_CURRENT)/HostServices/Makefile.kmk
43 include $(PATH_SUB_CURRENT)/Debugger/Makefile.kmk
44 include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
45 ifdef VBOX_WITH_VRDP
46 include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
47 endif
48 ifdef VBOX_WITH_ADDITIONS
49 include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
50 endif
51 ifdef VBOX_WITH_INSTALLER
52 ##@todo include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk # Keep this last.
53 endif
54endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
55
56include $(KBUILD_PATH)/subfooter.kmk
57
58else # !VBOX_KBUILD_HACKING
59DEPTH = ../..
60include $(KBUILD_PATH)/header.kmk
61
62ifdef VBOX_ONLY_ADDITIONS
63 SUBDIRS = \
64 Runtime \
65 Additions
66
67else ifdef VBOX_ONLY_DOCS
68 SUBDIRS = \
69 Runtime \
70 Frontends \
71 HostDrivers
72
73else # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
74 SUBDIRS_BLDPROGS = Devices Main
75
76 SUBDIRS = \
77 Runtime \
78 HostDrivers \
79 VMM \
80 Devices \
81 Disassembler \
82 HostServices \
83 Debugger
84
85 ifdef VBOX_WITH_MAIN
86 SUBDIRS += Main
87 endif
88
89 ifdef VBOX_WITH_VRDP
90 SUBDIRS += RDP
91 endif
92
93 ifdef VBOX_WITH_ADDITIONS
94 SUBDIRS += Additions
95 endif
96
97 SUBDIRS += Frontends
98
99 # This must be the last one.
100 ifdef VBOX_WITH_INSTALLER
101 SUBDIRS += Installer
102 endif
103endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
104
105include $(KBUILD_PATH)/footer.kmk
106endif # !VBOX_KBUILD_HACKING
107
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