VirtualBox

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

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

Automated rebranding to Oracle copyright/license strings via filemuncher

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

© 2023 Oracle
ContactPrivacy policyTerms of Use