# $Id: Makefile.kmk 106853 2024-11-06 11:50:38Z vboxsync $ ## @file # Sub-Makefile for the shell frontend. # # # Copyright (C) 2009-2024 Oracle and/or its affiliates. # # This file is part of VirtualBox base platform packages, as # available from https://www.virtualbox.org. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation, in version 3 of the # License. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # SPDX-License-Identifier: GPL-3.0-only # SUB_DEPTH = ../../../.. include $(KBUILD_PATH)/subheader.kmk include $(PATH_SUB_CURRENT)/Config.kmk INSTALLS += VBoxShell VBoxShell_INST = $(INST_SDK)/bindings/ VBoxShell_SOURCES = \ vboxshell.py=>glue/python/sample/vboxshell.py \ vboxinfo.vbs=>mscom/vbs/sample/vboxinfo.vbs \ vboxinfo.vb=>mscom/vb/sample/vboxinfo.vb # # Automatically lint VBoxShell. # if defined(VBOX_WITH_PYLINT) && !defined(VBOX_WITHOUT_AUTO_PYLINT) OTHERS += $(PATH_TARGET)/pylintVBoxShell.run OTHER_CLEAN += $(PATH_TARGET)/pylintVBoxShell.run $(PATH_TARGET)/pylintVBoxShell.run: $(PATH_SUB_CURRENT)/vboxshell.py $(QUIET)$(APPEND) -t "$@" endif VBOX_VBOXSHELL_PYTHON_SOURCES := $(wildcard $(PATH_SUB_CURRENT)/*.py) $(evalcall def_vbox_vboxshell_process_python_sources,FORCE) include $(FILE_KBUILD_SUB_FOOTER)