VirtualBox

source: vbox/trunk/src/VBox/Installer/common/Makefile.kmk@ 105745

Last change on this file since 105745 was 103327, checked in by vboxsync, 10 months ago

Installer/common/Makefile.kmk: Nits. bugref:10579

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1# $Id: Makefile.kmk 103327 2024-02-13 01:02:00Z vboxsync $
2## @file
3# Common installer stuff.
4#
5
6#
7# Copyright (C) 2006-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
28SUB_DEPTH = ../../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31# Include Sub-Makefiles.
32ifndef VBOX_OSE
33 include $(PATH_SUB_CURRENT)/keygen/Makefile.kmk
34endif
35
36# Python glue installer
37ifdef VBOX_WITH_PYTHON
38
39 INSTALLS += VBox-python-glue-vboxapisetup
40 VBox-python-glue-vboxapisetup_INST = $(INST_SDK)installer/python/vboxapi/
41 VBox-python-glue-vboxapisetup_MODE := a+r,u+w
42 VBox-python-glue-vboxapisetup_SOURCES := vboxapisetup.py=>setup.py
43
44 INSTALLS += VBox-python-glue-vboxapisetup-stub
45 VBox-python-glue-vboxapisetup-stub_INST = $(INST_SDK)installer/python/
46 VBox-python-glue-vboxapisetup-stub_MODE := a+r,u+w
47 VBox-python-glue-vboxapisetup-stub_SOURCES := vboxapisetup-stub.py=>vboxapisetup.py
48
49 #
50 # Automatically lint common installer Python stuff.
51 #
52 if defined(VBOX_WITH_PYLINT) && !defined(VBOX_WITHOUT_AUTO_PYLINT)
53 OTHERS += $(PATH_TARGET)/pylintInstallerCommon.run
54 OTHER_CLEAN += $(PATH_TARGET)/pylintInstallerCommon.run
55 $(PATH_TARGET)/pylintInstallerCommon.run: \
56 ${PATH_SUB_CURRENT}/vboxapisetup.py ${PATH_SUB_CURRENT}/vboxapisetup-stub.py
57 $(QUIET)$(APPEND) -t "$@"
58 endif
59
60 VBOX_INSTALLER_COMMON_PYTHON_SOURCES := $(wildcard $(PATH_SUB_CURRENT)/*.py)
61
62 $(evalcall def_vbox_installer_common_process_python_sources,FORCE)
63
64endif # VBOX_WITH_PYTHON
65
66include $(FILE_KBUILD_SUB_FOOTER)
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