1 | # $Id: Makefile.kmk 60308 2016-04-04 15:35:35Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # VirtualBox Validation Kit - TestBox Script.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2012-2015 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 |
|
---|
27 | SUB_DEPTH = ../../../..
|
---|
28 | include $(KBUILD_PATH)/subheader.kmk
|
---|
29 |
|
---|
30 |
|
---|
31 | #
|
---|
32 | # The TestBox script.
|
---|
33 | #
|
---|
34 | INSTALLS += testboxscript
|
---|
35 | testboxscript_TEMPLATE = VBoxValidationKitR3
|
---|
36 | testboxscript_INST = $(INST_TESTBOXSCRIPT)testboxscript/
|
---|
37 | testboxscript_EXEC_SOURCES = \
|
---|
38 | testboxscript.py \
|
---|
39 | testboxscript_real.py \
|
---|
40 | setup.sh
|
---|
41 | testboxscript_SOURCES = \
|
---|
42 | testboxcommand.py \
|
---|
43 | testboxcommons.py \
|
---|
44 | testboxconnection.py \
|
---|
45 | testboxtasks.py \
|
---|
46 | testboxupgrade.py
|
---|
47 |
|
---|
48 | testboxscript_SOURCES.darwin = \
|
---|
49 | darwin/setup-routines.sh=>darwin/setup-routines.sh
|
---|
50 |
|
---|
51 | testboxscript_EXEC_SOURCES.linux = \
|
---|
52 | linux/testboxscript-service.sh=>linux/testboxscript-service.sh
|
---|
53 | testboxscript_SOURCES.linux = \
|
---|
54 | ../../Installer/linux/routines.sh=>linux/setup-installer-routines.sh \
|
---|
55 | linux/setup-routines.sh=>linux/setup-routines.sh
|
---|
56 |
|
---|
57 | testboxscript_SOURCES.solaris = \
|
---|
58 | solaris/setup-routines.sh=>solaris/setup-routines.sh \
|
---|
59 |
|
---|
60 | testboxscript_SOURCES.win = \
|
---|
61 | win/autoexec-testbox.cmd=>win/autoexec-testbox.cmd \
|
---|
62 | win/readme.txt=>win/readme.txt \
|
---|
63 | win/fix_stale_refs.py=>win/fix_stale_refs.py
|
---|
64 |
|
---|
65 |
|
---|
66 | #
|
---|
67 | # Helper program, mostly for obtaining system information.
|
---|
68 | #
|
---|
69 | PROGRAMS += TestBoxHelper
|
---|
70 | TestBoxHelper_TEMPLATE = VBoxValidationKitR3
|
---|
71 | TestBoxHelper_INST = $(INST_TESTBOXSCRIPT)$(KBUILD_TARGET)/$(KBUILD_TARGET_ARCH)/
|
---|
72 | TestBoxHelper_SOURCES = TestBoxHelper.cpp
|
---|
73 | TestBoxHelper_LIBS.win = $(PATH_SDK_$(VBOX_WINDDK)_LIB)/wbemuuid.lib
|
---|
74 | TestBoxHelper_LDFLAGS.darwin = -framework CoreFoundation
|
---|
75 |
|
---|
76 |
|
---|
77 | #
|
---|
78 | # Generate pylint & pychecker targets.
|
---|
79 | #
|
---|
80 | VBOX_VALIDATIONKIT_PYTHON_SOURCES += $(wildcard $(PATH_SUB_CURRENT)/*.py)
|
---|
81 |
|
---|
82 | $(evalcall def_vbox_validationkit_process_python_sources)
|
---|
83 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
84 |
|
---|