1 | # $Id: Config.kmk 62487 2016-07-22 18:40:31Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # kBuild Configuration file for the installers
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2015-2016 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 |
|
---|
18 | VBOX_INSTALLER_CONFIG_KMK_INCLUDED = 1
|
---|
19 |
|
---|
20 | # Include the top-level configure file.
|
---|
21 | ifndef VBOX_ROOT_CONFIG_KMK_INCLUDED
|
---|
22 | include $(PATH_ROOT)/Config.kmk
|
---|
23 | endif
|
---|
24 |
|
---|
25 | #
|
---|
26 | # Generic stuff.
|
---|
27 | #
|
---|
28 | VBOX_PATH_INST_COMMON_SRC := $(PATH_ROOT)/src/VBox/Installer/common
|
---|
29 |
|
---|
30 |
|
---|
31 | ifdef VBOX_WITH_PYTHON
|
---|
32 | VBOXINST_SDK_BINDINGS_XPCOM_PYTHON_FILES = \
|
---|
33 | sdk/bindings/xpcom/python/xpcom/__init__.py \
|
---|
34 | sdk/bindings/xpcom/python/xpcom/primitives.py \
|
---|
35 | sdk/bindings/xpcom/python/xpcom/file.py \
|
---|
36 | sdk/bindings/xpcom/python/xpcom/xpcom_consts.py \
|
---|
37 | sdk/bindings/xpcom/python/xpcom/nsError.py \
|
---|
38 | sdk/bindings/xpcom/python/xpcom/xpt.py \
|
---|
39 | sdk/bindings/xpcom/python/xpcom/components.py \
|
---|
40 | sdk/bindings/xpcom/python/xpcom/vboxxpcom.py \
|
---|
41 | sdk/bindings/xpcom/python/xpcom/client/__init__.py \
|
---|
42 | sdk/bindings/xpcom/python/xpcom/server/__init__.py \
|
---|
43 | sdk/bindings/xpcom/python/xpcom/server/enumerator.py \
|
---|
44 | sdk/bindings/xpcom/python/xpcom/server/factory.py \
|
---|
45 | sdk/bindings/xpcom/python/xpcom/server/loader.py \
|
---|
46 | sdk/bindings/xpcom/python/xpcom/server/module.py \
|
---|
47 | sdk/bindings/xpcom/python/xpcom/server/policy.py
|
---|
48 | VBOXINST_SDK_INSTALLER_PYTHON_FILES = \
|
---|
49 | sdk/installer/vboxapisetup.py \
|
---|
50 | sdk/installer/vboxapi/__init__.py \
|
---|
51 | sdk/installer/vboxapi/VirtualBox_constants.py
|
---|
52 | endif
|
---|
53 |
|
---|
54 |
|
---|
55 | #
|
---|
56 | # DTrace globals.
|
---|
57 | #
|
---|
58 | ifdef VBOX_WITH_DTRACE
|
---|
59 | ## List of files in the per arch DTrace library directory.
|
---|
60 | VBOXINST_DTRACE_LIB_ARCH_FILES := \
|
---|
61 | vbox-types.d \
|
---|
62 | vbox-arch-types.d \
|
---|
63 | vm.d \
|
---|
64 | cpumctx.d \
|
---|
65 | CPUMInternal.d \
|
---|
66 | x86.d
|
---|
67 | ## List of files in the per arch DTrace testcase directory.
|
---|
68 | VBOXINST_DTRACE_TESTCASE_ARCH_FILES := \
|
---|
69 | vbox-vm-struct-test.d
|
---|
70 | ## List of file in the DTrace scripts directory.
|
---|
71 | VBOXINST_DTRACE_SCRIPTS_FILES :=
|
---|
72 | else
|
---|
73 | VBOXINST_DTRACE_LIB_ARCH_FILES :=
|
---|
74 | VBOXINST_DTRACE_TESTCASE_ARCH_FILES :=
|
---|
75 | VBOXINST_DTRACE_SCRIPTS_FILES :=
|
---|
76 | endif
|
---|
77 |
|
---|
78 |
|
---|
79 | #
|
---|
80 | # Some combined package (CP) globals.
|
---|
81 | #
|
---|
82 | ifeq ($(KBUILD_TARGET_ARCH),x86)
|
---|
83 | VBOX_CP_THIS_BITS := 32
|
---|
84 | ifdef VBOX_WITH_COMBINED_PACKAGE
|
---|
85 | VBOX_CP_OTHER_ARCH := amd64
|
---|
86 | VBOX_CP_OTHER_BITS := 64
|
---|
87 | else
|
---|
88 | VBOX_CP_OTHER_ARCH = $(error VBOX_CP_OTHER_ARCH used in without VBOX_WITH_COMBINED_PACKAGE set)
|
---|
89 | VBOX_CP_OTHER_BITS = $(error VBOX_CP_OTHER_ARCH used in without VBOX_CP_OTHER_BITS set)
|
---|
90 | endif
|
---|
91 | else
|
---|
92 | VBOX_CP_THIS_BITS := 64
|
---|
93 | ifdef VBOX_WITH_COMBINED_PACKAGE
|
---|
94 | VBOX_CP_OTHER_ARCH := x86
|
---|
95 | VBOX_CP_OTHER_BITS := 32
|
---|
96 | else
|
---|
97 | VBOX_CP_OTHER_ARCH = $(error VBOX_CP_OTHER_ARCH used in without VBOX_WITH_COMBINED_PACKAGE set)
|
---|
98 | VBOX_CP_OTHER_BITS = $(error VBOX_CP_OTHER_ARCH used in without VBOX_CP_OTHER_BITS set)
|
---|
99 | endif
|
---|
100 | endif
|
---|
101 |
|
---|