VirtualBox

source: vbox/trunk/src/Makefile.kmk@ 11805

Last change on this file since 11805 was 11805, checked in by vboxsync, 16 years ago
  • rearranged SDK-only stuff in makefiles per Knut advise
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1# $Id: Makefile.kmk 11805 2008-08-29 10:17:27Z vboxsync $
2## @file
3# Top-level makefile for the src directory.
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)/VBox/Makefile.kmk
28else ifdef VBOX_ONLY_DOCS
29 include $(PATH_SUB_CURRENT)/bldprogs/Makefile.kmk
30 include $(PATH_SUB_CURRENT)/VBox/Makefile.kmk
31 include $(PATH_SUB_CURRENT)/libs/Makefile.kmk
32else # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
33 include $(PATH_SUB_CURRENT)/bldprogs/Makefile.kmk
34 include $(PATH_SUB_CURRENT)/VBox/Makefile.kmk
35 include $(PATH_SUB_CURRENT)/libs/Makefile.kmk
36 include $(PATH_SUB_CURRENT)/recompiler/Makefile.kmk
37 ifneq ($(wildcard $(PATH_SUB_CURRENT)/apps),)
38 include $(PATH_SUB_CURRENT)/apps/Makefile.kmk
39 endif
40 ifdef VBOX_WITH_TESTSUITE
41 include $(PATH_SUB_CURRENT)/tests/Makefile.kmk
42 endif
43 ifdef VBOX_WITH_TESTCASES
44 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
45 endif
46endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
47
48include $(KBUILD_PATH)/subfooter.kmk
49
50
51else # !VBOX_SINGLE_MAKEFILE
52DEPTH = ..
53include $(KBUILD_PATH)/header.kmk
54
55ifdef VBOX_ONLY_ADDITIONS
56 SUBDIRS = VBox
57
58else # !VBOX_ONLY_ADDITIONS
59 # Build IPRT first because xpcom (IPC, nspr, python) depends on it.
60 ifndef VBOX_ONLY_SDK
61 SUBDIRS = VBox/Runtime
62 endif
63 SUBDIRS += bldprogs libs VBox
64 ifndef VBOX_ONLY_SDK
65 SUBDIRS += recompiler
66 ifneq ($(wildcard apps),)
67 SUBDIRS += apps
68 endif
69 ifdef VBOX_WITH_TESTSUITE
70 SUBDIRS += tests
71 endif
72 ifdef VBOX_WITH_TESTCASES
73 SUBDIRS += testcase
74 endif
75 endif #!VBOX_ONLY_SDK
76 ifdef VBOX_ONLY_DOCS
77 SUBDIRS := $(filter VBox/Runtime bldprogs libs VBox, $(SUBDIRS))
78 endif
79endif # !VBOX_ONLY_ADDITIONS
80
81include $(KBUILD_PATH)/footer.kmk
82
83endif # !VBOX_SINGLE_MAKEFILE
84
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