VirtualBox

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

Last change on this file since 47469 was 42269, checked in by vboxsync, 12 years ago

New makefile variable VBOX_ONLY_BUILD which get set when any of the VBOX_ONLY_* variables are set. Extpack build fix.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1# $Id: Makefile.kmk 42269 2012-07-20 14:37:15Z vboxsync $
2## @file
3# Top-level makefile for the src directory.
4#
5
6#
7# Copyright (C) 2006-2012 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
21include $(PATH_SUB_CURRENT)/bldprogs/Makefile.kmk
22include $(PATH_SUB_CURRENT)/VBox/Makefile.kmk
23if !defined(VBOX_ONLY_ADDITIONS)
24 include $(PATH_SUB_CURRENT)/libs/Makefile.kmk
25endif
26if defined(VBOX_ONLY_EXTPACKS) && !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS) && defined(VBOX_WITH_REM)
27 include $(PATH_SUB_CURRENT)/recompiler/Makefile.kmk
28
29else if !defined(VBOX_ONLY_BUILD)
30 # Normal build.
31 if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
32 ifdef VBOX_WITH_REM
33 include $(PATH_SUB_CURRENT)/recompiler/Makefile.kmk
34 endif
35 endif
36 ifneq ($(wildcard $(PATH_SUB_CURRENT)/apps),)
37 include $(PATH_SUB_CURRENT)/apps/Makefile.kmk
38 endif
39 ifdef VBOX_WITH_TESTSUITE
40 include $(PATH_SUB_CURRENT)/tests/Makefile.kmk
41 endif
42 ifdef VBOX_WITH_TESTCASES
43 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
44 endif
45endif # !VBOX_ONLY_BUILD
46
47include $(FILE_KBUILD_SUB_FOOTER)
48
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use