VirtualBox

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

Last change on this file since 86782 was 86567, checked in by vboxsync, 4 years ago

Installer/Config.kmk: Fixed unwanted edit in r140544. bugref:8527

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.6 KB
Line 
1# $Id: Config.kmk 86567 2020-10-14 09:43:53Z vboxsync $
2## @file
3# kBuild Configuration file for the installers
4#
5
6#
7# Copyright (C) 2015-2020 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
18VBOX_INSTALLER_CONFIG_KMK_INCLUDED = 1
19
20# Include the top-level configure file.
21ifndef VBOX_ROOT_CONFIG_KMK_INCLUDED
22 include $(PATH_ROOT)/Config.kmk
23endif
24
25#
26# Generic stuff.
27#
28VBOX_PATH_INST_COMMON_SRC := $(PATH_ROOT)/src/VBox/Installer/common
29
30
31ifdef 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
52endif
53
54
55#
56# List of unattended installation script templates (lives in
57# src/VBox/Main/UnattendedTemplates).
58#
59ifdef VBOX_WITH_UNATTENDED
60 VBOX_UNATTENDED_TEMPLATES := \
61 debian_preseed.cfg \
62 ubuntu_preseed.cfg \
63 fedora_ks.cfg \
64 ol_ks.cfg \
65 rhel3_ks.cfg \
66 rhel4_ks.cfg \
67 rhel5_ks.cfg \
68 redhat67_ks.cfg \
69 win_nt5_unattended.sif \
70 win_nt6_unattended.xml \
71 \
72 debian_postinstall.sh \
73 redhat_postinstall.sh \
74 ol_postinstall.sh \
75 win_postinstall.cmd
76 ifndef VBOX_OSE
77 VBOX_UNATTENDED_TEMPLATES += \
78 lgw_ks.cfg \
79 lgw_postinstall.sh
80 endif
81else
82 VBOX_UNATTENDED_TEMPLATES :=
83endif
84
85
86#
87# DTrace globals.
88#
89ifdef VBOX_WITH_DTRACE
90 ## List of files in the per arch DTrace library directory.
91 VBOXINST_DTRACE_LIB_ARCH_FILES := \
92 vbox-types.d \
93 vbox-arch-types.d \
94 vm.d \
95 cpumctx.d \
96 CPUMInternal.d \
97 x86.d
98 ## List of files in the per arch DTrace testcase directory.
99 VBOXINST_DTRACE_TESTCASE_ARCH_FILES := \
100 vbox-vm-struct-test.d
101 ## List of file in the DTrace scripts directory.
102 VBOXINST_DTRACE_SCRIPTS_FILES :=
103else
104 VBOXINST_DTRACE_LIB_ARCH_FILES :=
105 VBOXINST_DTRACE_TESTCASE_ARCH_FILES :=
106 VBOXINST_DTRACE_SCRIPTS_FILES :=
107endif
108
109
110#
111# Some combined package (CP) globals.
112#
113ifeq ($(KBUILD_TARGET_ARCH),x86)
114 VBOX_CP_THIS_BITS := 32
115 ifdef VBOX_WITH_COMBINED_PACKAGE
116 VBOX_CP_OTHER_ARCH := amd64
117 VBOX_CP_OTHER_BITS := 64
118 else
119 VBOX_CP_OTHER_ARCH = $(error VBOX_CP_OTHER_ARCH used in without VBOX_WITH_COMBINED_PACKAGE set)
120 VBOX_CP_OTHER_BITS = $(error VBOX_CP_OTHER_ARCH used in without VBOX_CP_OTHER_BITS set)
121 endif
122else
123 VBOX_CP_THIS_BITS := 64
124 ifdef VBOX_WITH_COMBINED_PACKAGE
125 VBOX_CP_OTHER_ARCH := x86
126 VBOX_CP_OTHER_BITS := 32
127 else
128 VBOX_CP_OTHER_ARCH = $(error VBOX_CP_OTHER_ARCH used in without VBOX_WITH_COMBINED_PACKAGE set)
129 VBOX_CP_OTHER_BITS = $(error VBOX_CP_OTHER_ARCH used in without VBOX_CP_OTHER_BITS set)
130 endif
131endif
132
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