VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/testboxscript/Makefile.kmk@ 76690

Last change on this file since 76690 was 76553, checked in by vboxsync, 6 years ago

scm --update-copyright-year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.8 KB
Line 
1# $Id: Makefile.kmk 76553 2019-01-01 01:45:53Z vboxsync $
2## @file
3# VirtualBox Validation Kit - TestBox Script.
4#
5
6#
7# Copyright (C) 2012-2019 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# The contents of this file may alternatively be used under the terms
18# of the Common Development and Distribution License Version 1.0
19# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
20# VirtualBox OSE distribution, in which case the provisions of the
21# CDDL are applicable instead of those of the GPL.
22#
23# You may elect to license modified versions of this file under the
24# terms and conditions of either the GPL or the CDDL or both.
25#
26
27SUB_DEPTH = ../../../..
28include $(KBUILD_PATH)/subheader.kmk
29
30
31#
32# The TestBox script.
33#
34INSTALLS += testboxscript
35testboxscript_TEMPLATE = VBoxValidationKitR3
36testboxscript_INST = $(INST_TESTBOXSCRIPT)testboxscript/
37testboxscript_EXEC_SOURCES = \
38 testboxscript.py \
39 $(testboxscript_0_OUTDIR)/testboxscript_real.py \
40 setup.sh
41$(call VBOX_EDIT_VERSION_RULE_FN,testboxscript,testboxscript_real.py)
42
43testboxscript_SOURCES = \
44 testboxcommand.py \
45 testboxcommons.py \
46 testboxconnection.py \
47 testboxtasks.py \
48 testboxupgrade.py
49
50testboxscript_SOURCES.darwin = \
51 darwin/setup-routines.sh=>darwin/setup-routines.sh
52
53testboxscript_EXEC_SOURCES.linux = \
54 linux/testboxscript-service.sh=>linux/testboxscript-service.sh
55testboxscript_SOURCES.linux = \
56 ../../Installer/linux/routines.sh=>linux/setup-installer-routines.sh \
57 linux/setup-routines.sh=>linux/setup-routines.sh
58
59testboxscript_SOURCES.solaris = \
60 solaris/setup-routines.sh=>solaris/setup-routines.sh \
61
62testboxscript_SOURCES.win = \
63 win/autoexec-testbox.cmd=>win/autoexec-testbox.cmd \
64 win/readme.txt=>win/readme.txt \
65 $(if $(VBOX_OSE),,win/fix_stale_refs.py=>win/fix_stale_refs.py)
66
67
68#
69# Helper program, mostly for obtaining system information.
70#
71PROGRAMS += TestBoxHelper
72TestBoxHelper_TEMPLATE = VBoxValidationKitR3
73TestBoxHelper_INST = $(INST_TESTBOXSCRIPT)$(KBUILD_TARGET)/$(KBUILD_TARGET_ARCH)/
74TestBoxHelper_SOURCES = TestBoxHelper.cpp
75TestBoxHelper_LIBS.win = $(PATH_SDK_$(VBOX_WINDDK)_LIB)/wbemuuid.lib
76TestBoxHelper_LDFLAGS.darwin = -framework CoreFoundation
77TestBoxHelper_VBOX_IMPORT_CHECKER.win.x86 = $(NO_SUCH_VARIABLE)
78
79
80#
81# Generate pylint & pychecker targets.
82#
83VBOX_VALIDATIONKIT_PYTHON_SOURCES += $(wildcard $(PATH_SUB_CURRENT)/*.py)
84
85$(evalcall def_vbox_validationkit_process_python_sources)
86include $(FILE_KBUILD_SUB_FOOTER)
87
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