1 | # $Id: Makefile.kmk 52776 2014-09-17 14:51:43Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # VirtualBox Validation Kit - TestBox Script.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2012-2014 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 |
|
---|
64 |
|
---|
65 | #
|
---|
66 | # Helper program, mostly for obtaining system information.
|
---|
67 | #
|
---|
68 | PROGRAMS += TestBoxHelper
|
---|
69 | TestBoxHelper_TEMPLATE = VBoxValidationKitR3
|
---|
70 | TestBoxHelper_INST = $(INST_TESTBOXSCRIPT)$(KBUILD_TARGET)/$(KBUILD_TARGET_ARCH)/
|
---|
71 | TestBoxHelper_SOURCES = TestBoxHelper.cpp
|
---|
72 | TestBoxHelper_LIBS.win = $(PATH_SDK_$(VBOX_WINDDK)_LIB)/wbemuuid.lib
|
---|
73 | TestBoxHelper_LDFLAGS.darwin = -framework CoreFoundation
|
---|
74 |
|
---|
75 |
|
---|
76 | #
|
---|
77 | # Generate pylint & pychecker targets.
|
---|
78 | #
|
---|
79 | VBOX_VALIDATIONKIT_PYTHON_SOURCES += $(wildcard $(PATH_SUB_CURRENT)/*.py)
|
---|
80 |
|
---|
81 | $(evalcall def_vbox_validationkit_process_python_sources)
|
---|
82 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
83 |
|
---|