VirtualBox

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

Last change on this file since 10850 was 10194, checked in by vboxsync, 16 years ago

VBOX_SINGLE_MAKEFILE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Makefile.kmk 10194 2008-07-04 04:05:08Z 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 # !VBOX_ONLY_ADDITIONS
29 include $(PATH_SUB_CURRENT)/bldprogs/Makefile.kmk
30 include $(PATH_SUB_CURRENT)/VBox/Makefile.kmk
31 include $(PATH_SUB_CURRENT)/libs/Makefile.kmk
32 include $(PATH_SUB_CURRENT)/recompiler/Makefile.kmk
33 ifneq ($(wildcard $(PATH_SUB_CURRENT)/apps),)
34 include $(PATH_SUB_CURRENT)/apps/Makefile.kmk
35 endif
36 ifdef VBOX_WITH_TESTSUITE
37 include $(PATH_SUB_CURRENT)/tests/Makefile.kmk
38 endif
39 ifdef VBOX_WITH_TESTCASES
40 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
41 endif
42endif # !VBOX_ONLY_ADDITIONS
43
44include $(KBUILD_PATH)/subfooter.kmk
45
46
47else # !VBOX_SINGLE_MAKEFILE
48DEPTH = ..
49include $(KBUILD_PATH)/header.kmk
50
51ifdef VBOX_ONLY_ADDITIONS
52 SUBDIRS = VBox
53
54else # !VBOX_ONLY_ADDITIONS
55 # build Runtime first when IPC logging is on because it depends on Runtime
56 ifdef VBOX_IPC_RELEASE_LOG
57 SUBDIRS = VBox/Runtime
58 else ifneq ($(KBUILD_TYPE),release)
59 SUBDIRS = VBox/Runtime
60 else
61 SUBDIRS =
62 endif
63
64 SUBDIRS += bldprogs libs VBox recompiler
65 ifneq ($(wildcard apps),)
66 SUBDIRS += apps
67 endif
68 ifdef VBOX_WITH_TESTSUITE
69 SUBDIRS += tests
70 endif
71 ifdef VBOX_WITH_TESTCASES
72 SUBDIRS += testcase
73 endif
74endif # !VBOX_ONLY_ADDITIONS
75
76include $(KBUILD_PATH)/footer.kmk
77
78endif # !VBOX_SINGLE_MAKEFILE
79
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