VirtualBox

source: vbox/trunk/src/VBox/Installer/Config.kmk@ 102333

Last change on this file since 102333 was 102319, checked in by vboxsync, 15 months ago

libs/xpcom: Remove some unused code from the python bindings, bugref:10545 [fix for the installer]

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.0 KB
Line 
1# $Id: Config.kmk 102319 2023-11-27 13:40:22Z vboxsync $
2## @file
3# kBuild Configuration file for the installers
4#
5
6#
7# Copyright (C) 2015-2023 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28VBOX_INSTALLER_CONFIG_KMK_INCLUDED = 1
29
30# Include the top-level configure file.
31ifndef VBOX_ROOT_CONFIG_KMK_INCLUDED
32 include $(PATH_ROOT)/Config.kmk
33endif
34
35#
36# Generic stuff.
37#
38VBOX_PATH_INST_COMMON_SRC := $(PATH_ROOT)/src/VBox/Installer/common
39
40
41ifdef VBOX_WITH_PYTHON
42 VBOXINST_SDK_BINDINGS_XPCOM_PYTHON_FILES = \
43 sdk/bindings/xpcom/python/xpcom/__init__.py \
44 sdk/bindings/xpcom/python/xpcom/primitives.py \
45 sdk/bindings/xpcom/python/xpcom/xpcom_consts.py \
46 sdk/bindings/xpcom/python/xpcom/nsError.py \
47 sdk/bindings/xpcom/python/xpcom/xpt.py \
48 sdk/bindings/xpcom/python/xpcom/components.py \
49 sdk/bindings/xpcom/python/xpcom/vboxxpcom.py \
50 sdk/bindings/xpcom/python/xpcom/client/__init__.py \
51 sdk/bindings/xpcom/python/xpcom/server/__init__.py \
52 sdk/bindings/xpcom/python/xpcom/server/enumerator.py \
53 sdk/bindings/xpcom/python/xpcom/server/factory.py \
54 sdk/bindings/xpcom/python/xpcom/server/loader.py \
55 sdk/bindings/xpcom/python/xpcom/server/module.py \
56 sdk/bindings/xpcom/python/xpcom/server/policy.py
57 VBOXINST_SDK_INSTALLER_PYTHON_FILES = \
58 sdk/installer/vboxapisetup.py \
59 sdk/installer/vboxapi/__init__.py \
60 sdk/installer/vboxapi/VirtualBox_constants.py
61endif
62
63
64#
65# List of unattended installation script templates (lives in
66# src/VBox/Main/UnattendedTemplates).
67#
68ifdef VBOX_WITH_UNATTENDED
69 VBOX_UNATTENDED_TEMPLATES := \
70 debian_preseed.cfg \
71 ubuntu_preseed.cfg \
72 fedora_ks.cfg \
73 ol_ks.cfg \
74 ol8_ks.cfg \
75 ol9_ks.cfg \
76 rhel3_ks.cfg \
77 rhel4_ks.cfg \
78 rhel5_ks.cfg \
79 redhat67_ks.cfg \
80 os2_response_files.rsp \
81 win_nt5_unattended.sif \
82 win_nt6_unattended.xml \
83 \
84 debian_postinstall.sh \
85 redhat_postinstall.sh \
86 ol_postinstall.sh \
87 os2_cid_install.cmd \
88 win_postinstall.cmd \
89 \
90 os2_util.exe
91 ifndef VBOX_OSE
92 VBOX_UNATTENDED_TEMPLATES += \
93 lgw_ks.cfg \
94 lgw_postinstall.sh
95 endif
96else
97 VBOX_UNATTENDED_TEMPLATES :=
98endif
99
100
101#
102# DTrace globals.
103#
104ifdef VBOX_WITH_DTRACE
105 ## List of files in the per arch DTrace library directory.
106 VBOXINST_DTRACE_LIB_ARCH_FILES := \
107 vbox-types.d \
108 vbox-arch-types.d \
109 vm.d \
110 cpumctx.d \
111 CPUMInternal.d \
112 x86.d
113 ## List of files in the per arch DTrace testcase directory.
114 VBOXINST_DTRACE_TESTCASE_ARCH_FILES := \
115 vbox-vm-struct-test.d
116 ## List of file in the DTrace scripts directory.
117 VBOXINST_DTRACE_SCRIPTS_FILES :=
118else
119 VBOXINST_DTRACE_LIB_ARCH_FILES :=
120 VBOXINST_DTRACE_TESTCASE_ARCH_FILES :=
121 VBOXINST_DTRACE_SCRIPTS_FILES :=
122endif
123
124
125#
126# Some combined package (CP) globals.
127#
128ifeq ($(KBUILD_TARGET_ARCH),x86)
129 VBOX_CP_THIS_BITS := 32
130 ifdef VBOX_WITH_COMBINED_PACKAGE
131 VBOX_CP_OTHER_ARCH := amd64
132 VBOX_CP_OTHER_BITS := 64
133 else
134 VBOX_CP_OTHER_ARCH = $(error VBOX_CP_OTHER_ARCH used in without VBOX_WITH_COMBINED_PACKAGE set)
135 VBOX_CP_OTHER_BITS = $(error VBOX_CP_OTHER_ARCH used in without VBOX_CP_OTHER_BITS set)
136 endif
137else
138 VBOX_CP_THIS_BITS := 64
139 ifdef VBOX_WITH_COMBINED_PACKAGE
140 VBOX_CP_OTHER_ARCH := x86
141 VBOX_CP_OTHER_BITS := 32
142 else
143 VBOX_CP_OTHER_ARCH = $(error VBOX_CP_OTHER_ARCH used in without VBOX_WITH_COMBINED_PACKAGE set)
144 VBOX_CP_OTHER_BITS = $(error VBOX_CP_OTHER_ARCH used in without VBOX_CP_OTHER_BITS set)
145 endif
146endif
147
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette