Makefile.kmk revision cf22150eaeeb72431bf1cf65c309a431454fb22b
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync# $Id$
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync## @file
15617cf4cb5fa181f4d6f55f987a883cf298cce6vboxsync# VirtualBox Validation Kit - TestBox Script.
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync#
15617cf4cb5fa181f4d6f55f987a883cf298cce6vboxsync
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# Copyright (C) 2012-2014 Oracle Corporation
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# available from http://www.virtualbox.org. This file is free software;
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# you can redistribute it and/or modify it under the terms of the GNU
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# General Public License (GPL) as published by the Free Software
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync#
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync# The contents of this file may alternatively be used under the terms
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync# of the Common Development and Distribution License Version 1.0
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync# VirtualBox OSE distribution, in which case the provisions of the
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync# CDDL are applicable instead of those of the GPL.
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync#
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync# You may elect to license modified versions of this file under the
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync# terms and conditions of either the GPL or the CDDL or both.
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync#
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsyncSUB_DEPTH = ../../../..
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsyncinclude $(KBUILD_PATH)/subheader.kmk
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync#
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync# The TestBox script.
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync#
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsyncINSTALLS += testboxscript
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsynctestboxscript_TEMPLATE = VBoxValidationKitR3
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsynctestboxscript_INST = $(INST_TESTBOXSCRIPT)testboxscript/
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsynctestboxscript_EXEC_SOURCES = \
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync testboxscript.py \
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync testboxscript_real.py \
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync setup.sh
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsynctestboxscript_SOURCES = \
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync testboxcommand.py \
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync testboxcommons.py \
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync testboxconnection.py \
ae5af5aa3e87e134919787abd96b8ebfb1a19d62vboxsync testboxtasks.py \
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync testboxupgrade.py
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsynctestboxscript_SOURCES.darwin = \
7da1c316d25649f85e7590b66a1713c02e69d814vboxsync darwin/setup-routines.sh=>darwin/setup-routines.sh
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsynctestboxscript_EXEC_SOURCES.linux = \
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync linux/testboxscript-service.sh=>linux/testboxscript-service.sh
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsynctestboxscript_SOURCES.linux = \
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync ../../Installer/linux/routines.sh=>linux/setup-installer-routines.sh \
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync linux/setup-routines.sh=>linux/setup-routines.sh
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsynctestboxscript_SOURCES.solaris = \
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync solaris/setup-routines.sh=>solaris/setup-routines.sh \
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsynctestboxscript_SOURCES.win = \
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync win/autoexec-testbox.cmd=>win/autoexec-testbox.cmd \
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync win/readme.txt=>win/readme.txt
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync#
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync# Helper program, mostly for obtaining system information.
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync#
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsyncPROGRAMS += TestBoxHelper
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsyncTestBoxHelper_TEMPLATE = VBoxValidationKitR3
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsyncTestBoxHelper_INST = $(INST_TESTBOXSCRIPT)$(KBUILD_TARGET)/$(KBUILD_TARGET_ARCH)/
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsyncTestBoxHelper_SOURCES = TestBoxHelper.cpp
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsyncTestBoxHelper_LIBS.win = $(PATH_SDK_$(VBOX_WINDDK)_LIB)/wbemuuid.lib
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsyncTestBoxHelper_LDFLAGS.darwin = -framework CoreFoundation
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync#
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync# Generate pylint & pychecker targets.
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync#
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsyncVBOX_VALIDATIONKIT_PYTHON_SOURCES += $(wildcard $(PATH_SUB_CURRENT)/*.py)
15617cf4cb5fa181f4d6f55f987a883cf298cce6vboxsync
c3cd0366348bcd10e42bd7be9ea05d194394f389vboxsync$(evalcall def_vbox_validationkit_process_python_sources)
15617cf4cb5fa181f4d6f55f987a883cf298cce6vboxsyncinclude $(FILE_KBUILD_SUB_FOOTER)
15617cf4cb5fa181f4d6f55f987a883cf298cce6vboxsync
15617cf4cb5fa181f4d6f55f987a883cf298cce6vboxsync