VirtualBox

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

Last change on this file since 10858 was 10133, checked in by vboxsync, 16 years ago

VBOX_KBUILD_HACKING.

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