[2478] | 1 | # $Id: Makefile.kmk 42269 2012-07-20 14:37:15Z vboxsync $
|
---|
| 2 | ## @file
|
---|
| 3 | # Top-level makefile for the src directory.
|
---|
[1] | 4 | #
|
---|
| 5 |
|
---|
| 6 | #
|
---|
[40274] | 7 | # Copyright (C) 2006-2012 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] | 18 | SUB_DEPTH = ..
|
---|
| 19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
| 20 |
|
---|
[42265] | 21 | include $(PATH_SUB_CURRENT)/bldprogs/Makefile.kmk
|
---|
| 22 | include $(PATH_SUB_CURRENT)/VBox/Makefile.kmk
|
---|
| 23 | if !defined(VBOX_ONLY_ADDITIONS)
|
---|
[34484] | 24 | include $(PATH_SUB_CURRENT)/libs/Makefile.kmk
|
---|
[42265] | 25 | endif
|
---|
| 26 | if defined(VBOX_ONLY_EXTPACKS) && !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS) && defined(VBOX_WITH_REM)
|
---|
| 27 | include $(PATH_SUB_CURRENT)/recompiler/Makefile.kmk
|
---|
[34484] | 28 |
|
---|
[42269] | 29 | else if !defined(VBOX_ONLY_BUILD)
|
---|
| 30 | # Normal build.
|
---|
[29263] | 31 | if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
|
---|
[40274] | 32 | ifdef VBOX_WITH_REM
|
---|
| 33 | include $(PATH_SUB_CURRENT)/recompiler/Makefile.kmk
|
---|
| 34 | endif
|
---|
[29263] | 35 | endif
|
---|
[10191] | 36 | ifneq ($(wildcard $(PATH_SUB_CURRENT)/apps),)
|
---|
[10189] | 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
|
---|
[42269] | 45 | endif # !VBOX_ONLY_BUILD
|
---|
[10189] | 46 |
|
---|
[41477] | 47 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
[14158] | 48 |
|
---|