cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# $Id$
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## @file
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# VirtualBox Validation Kit - Common Python Code.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# Copyright (C) 2006-2014 Oracle Corporation
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# available from http://www.virtualbox.org. This file is free software;
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# you can redistribute it and/or modify it under the terms of the GNU
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# General Public License (GPL) as published by the Free Software
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# The contents of this file may alternatively be used under the terms
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# of the Common Development and Distribution License Version 1.0
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# VirtualBox OSE distribution, in which case the provisions of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# CDDL are applicable instead of those of the GPL.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# You may elect to license modified versions of this file under the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# terms and conditions of either the GPL or the CDDL or both.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncSUB_DEPTH = ../../../..
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncinclude $(KBUILD_PATH)/subheader.kmk
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# Install targets for the two zip files.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncINSTALLS += testboxscript-common
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsynctestboxscript-common_TEMPLATE = VBoxValidationKitR3
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsynctestboxscript-common_INST = $(INST_TESTBOXSCRIPT)common/
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsynctestboxscript-common_SOURCES = \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync __init__.py \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync utils.py \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync webutils.py \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync constants/__init__.py=>constants/__init__.py \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync constants/tbreq.py=>constants/tbreq.py \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync constants/tbresp.py=>constants/tbresp.py \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync constants/result.py=>constants/result.py \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync constants/rtexitcode.py=>constants/rtexitcode.py \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync constants/valueunit.py=>constants/valueunit.py
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncINSTALLS += validationkit-common
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncvalidationkit-common_TEMPLATE = VBoxValidationKitR3
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncvalidationkit-common_INST = $(INST_VALIDATIONKIT)common/
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncvalidationkit-common_SOURCES = $(testboxscript-common_SOURCES)
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# Generate pylint and pychecker targets.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncVBOX_VALIDATIONKIT_PYTHON_SOURCES += \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync $(wildcard \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync $(PATH_SUB_CURRENT)/*.py \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync $(PATH_SUB_CURRENT)/*/*.py \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync )
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync$(evalcall def_vbox_validationkit_process_python_sources)
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncinclude $(FILE_KBUILD_SUB_FOOTER)
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync