VirtualBox

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

Last change on this file since 34033 was 33377, checked in by vboxsync, 14 years ago

Moved src/tests/testsuite to src/VBox/Testsuite.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1# $Id: Makefile.kmk 33377 2010-10-24 13:19:45Z vboxsync $
2## @file
3# Top-level makefile for the src directory.
4#
5
6#
7# Copyright (C) 2006-2010 Oracle Corporation
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
18SUB_DEPTH = ..
19include $(KBUILD_PATH)/subheader.kmk
20
21ifdef VBOX_SINGLE_MAKEFILE
22
23if defined(VBOX_ONLY_ADDITIONS)
24 include $(PATH_SUB_CURRENT)/VBox/Makefile.kmk
25
26else if defined(VBOX_ONLY_TESTSUITE)
27 include $(PATH_SUB_CURRENT)/VBox/Makefile.kmk
28
29else if defined(VBOX_ONLY_DOCS) || defined(VBOX_ONLY_SDK)
30 include $(PATH_SUB_CURRENT)/bldprogs/Makefile.kmk
31 include $(PATH_SUB_CURRENT)/VBox/Makefile.kmk
32 include $(PATH_SUB_CURRENT)/libs/Makefile.kmk
33
34else # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_TESTSUITE && !VBOX_ONLY_DOCS && !VBOX_ONLY_SDK
35 include $(PATH_SUB_CURRENT)/bldprogs/Makefile.kmk
36 include $(PATH_SUB_CURRENT)/VBox/Makefile.kmk
37 include $(PATH_SUB_CURRENT)/libs/Makefile.kmk
38 if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
39 include $(PATH_SUB_CURRENT)/recompiler/Makefile.kmk
40 endif
41 ifneq ($(wildcard $(PATH_SUB_CURRENT)/apps),)
42 include $(PATH_SUB_CURRENT)/apps/Makefile.kmk
43 endif
44 ifdef VBOX_WITH_TESTSUITE
45 include $(PATH_SUB_CURRENT)/tests/Makefile.kmk
46 endif
47 ifdef VBOX_WITH_TESTCASES
48 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
49 endif
50endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_TESTSUITE && !VBOX_ONLY_DOCS && !VBOX_ONLY_SDK
51
52else # !VBOX_SINGLE_MAKEFILE
53DEPTH = ..
54include $(KBUILD_PATH)/header.kmk
55
56ifdef VBOX_ONLY_ADDITIONS
57 SUBDIRS = VBox
58
59else ifdef VBOX_ONLY_DOCS
60 SUBDIRS = VBox/Runtime bldprogs libs VBox
61
62else ifdef VBOX_ONLY_SDK
63 SUBDIRS = bldprogs libs VBox
64
65else # !VBOX_ONLY_ADDITIONS
66 # Build IPRT first because xpcom (IPC, nspr, python) depends on it.
67 SUBDIRS = VBox/Runtime bldprogs libs VBox recompiler
68 ifneq ($(wildcard apps),)
69 SUBDIRS += apps
70 endif
71 ifdef VBOX_WITH_TESTSUITE
72 SUBDIRS += tests
73 endif
74 ifdef VBOX_WITH_TESTCASES
75 SUBDIRS += testcase
76 endif
77endif # !VBOX_ONLY_ADDITIONS
78
79endif # !VBOX_SINGLE_MAKEFILE
80
81include $(KBUILD_PATH)/subfooter.kmk
82
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