[2478] | 1 | # $Id: Makefile.kmk 63496 2016-08-15 17:36:34Z vboxsync $
|
---|
[6004] | 2 | ## @file
|
---|
[2478] | 3 | # Top-level makefile for src/VBox.
|
---|
[1] | 4 | #
|
---|
[2478] | 5 |
|
---|
| 6 | #
|
---|
[62532] | 7 | # Copyright (C) 2006-2016 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 |
|
---|
[10061] | 18 | SUB_DEPTH = ../..
|
---|
| 19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
| 20 |
|
---|
[14158] | 21 |
|
---|
[10061] | 22 | ifdef VBOX_ONLY_ADDITIONS
|
---|
[10133] | 23 | include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
|
---|
[43363] | 24 | if defined(VBOX_WITH_CROGL) || defined(VBOX_WITH_HGSMI)
|
---|
[63496] | 25 | if1of ($(KBUILD_TARGET),win linux solaris freebsd netbsd haiku)
|
---|
[16294] | 26 | include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
|
---|
| 27 | endif
|
---|
[14162] | 28 | endif
|
---|
[10133] | 29 | include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
|
---|
[11812] | 30 |
|
---|
[34484] | 31 | else ifdef VBOX_ONLY_DOCS
|
---|
[27014] | 32 | include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
|
---|
| 33 | include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
|
---|
[34484] | 34 | include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
|
---|
[27014] | 35 |
|
---|
[34484] | 36 | else ifdef VBOX_ONLY_EXTPACKS
|
---|
[11703] | 37 | include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
|
---|
[34484] | 38 | include $(PATH_SUB_CURRENT)/Devices/Makefile.kmk
|
---|
[11703] | 39 | include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
|
---|
[51758] | 40 | include $(PATH_SUB_CURRENT)/Storage/Makefile.kmk
|
---|
[34484] | 41 | include $(PATH_SUB_CURRENT)/ExtPacks/Makefile.kmk
|
---|
| 42 | ifdef VBOX_WITH_VRDP
|
---|
| 43 | include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
|
---|
| 44 | endif
|
---|
[34492] | 45 | include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
|
---|
[34662] | 46 | ifndef VBOX_ONLY_EXTPACKS_USE_IMPLIBS
|
---|
| 47 | include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
|
---|
| 48 | endif
|
---|
[11812] | 49 |
|
---|
| 50 | else ifdef VBOX_ONLY_SDK
|
---|
| 51 | include $(PATH_SUB_CURRENT)/Main/Makefile.kmk
|
---|
[16373] | 52 | ifdef VBOX_WITH_VRDP
|
---|
| 53 | include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
|
---|
| 54 | endif
|
---|
[11812] | 55 | include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk
|
---|
[19862] | 56 | include $(PATH_SUB_CURRENT)/Frontends/VBoxShell/Makefile.kmk
|
---|
[11812] | 57 |
|
---|
[51346] | 58 | else ifdef VBOX_ONLY_VALIDATIONKIT
|
---|
[34484] | 59 | include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
|
---|
| 60 | include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
|
---|
| 61 | include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
|
---|
[53577] | 62 | include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
|
---|
[51348] | 63 | include $(PATH_SUB_CURRENT)/ValidationKit/Makefile.kmk
|
---|
[34484] | 64 |
|
---|
[10061] | 65 | else
|
---|
[10133] | 66 | ifdef VBOX_WITH_MAIN
|
---|
| 67 | include $(PATH_SUB_CURRENT)/Main/Makefile.kmk # Do this one first because of soap.
|
---|
| 68 | endif
|
---|
| 69 | include $(PATH_SUB_CURRENT)/Runtime/Makefile.kmk
|
---|
[10061] | 70 | include $(PATH_SUB_CURRENT)/Disassembler/Makefile.kmk
|
---|
[33567] | 71 | include $(PATH_SUB_CURRENT)/Storage/Makefile.kmk
|
---|
[29263] | 72 | if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
|
---|
| 73 | include $(PATH_SUB_CURRENT)/VMM/Makefile.kmk
|
---|
| 74 | include $(PATH_SUB_CURRENT)/Devices/Makefile.kmk
|
---|
| 75 | include $(PATH_SUB_CURRENT)/HostDrivers/Makefile.kmk
|
---|
| 76 | include $(PATH_SUB_CURRENT)/HostServices/Makefile.kmk
|
---|
| 77 | endif
|
---|
[12886] | 78 | ifdef VBOX_WITH_DEBUGGER
|
---|
| 79 | include $(PATH_SUB_CURRENT)/Debugger/Makefile.kmk
|
---|
| 80 | endif
|
---|
[10061] | 81 | include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
|
---|
| 82 | ifdef VBOX_WITH_VRDP
|
---|
[10133] | 83 | include $(PATH_SUB_CURRENT)/RDP/Makefile.kmk
|
---|
[58905] | 84 | else ifdef VBOX_WITH_VRDP_RDESKTOP
|
---|
| 85 | include $(PATH_SUB_CURRENT)/RDP/client-1.8.3/Makefile.kmk
|
---|
[10061] | 86 | endif
|
---|
[25673] | 87 | if defined(VBOX_WITH_CROGL) || defined(VBOX_WITH_HGSMI) || defined(VBOX_WITH_HGCM)
|
---|
[14162] | 88 | include $(PATH_SUB_CURRENT)/GuestHost/Makefile.kmk
|
---|
| 89 | endif
|
---|
[12447] | 90 | ifdef VBOX_WITH_ADDITIONS
|
---|
| 91 | include $(PATH_SUB_CURRENT)/Additions/Makefile.kmk
|
---|
| 92 | endif
|
---|
[51346] | 93 | ifdef VBOX_WITH_VALIDATIONKIT
|
---|
[51348] | 94 | include $(PATH_SUB_CURRENT)/ValidationKit/Makefile.kmk
|
---|
[33377] | 95 | endif
|
---|
[50692] | 96 | ifdef VBOX_WITH_MAIN
|
---|
| 97 | if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
|
---|
| 98 | include $(PATH_SUB_CURRENT)/NetworkServices/Makefile.kmk
|
---|
| 99 | endif
|
---|
[29263] | 100 | endif
|
---|
[40385] | 101 | include $(PATH_SUB_CURRENT)/ExtPacks/Makefile.kmk
|
---|
[12318] | 102 | ifdef VBOX_WITH_INSTALLER
|
---|
| 103 | include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk # Keep this last.
|
---|
| 104 | endif
|
---|
[11703] | 105 | endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
|
---|
[10061] | 106 |
|
---|
[1] | 107 |
|
---|
[41477] | 108 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
[14158] | 109 |
|
---|