1 | # $Id: Makefile.kmk 84540 2020-05-26 15:06:13Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # VirtualBox Validation Kit - The Basic Remote Execution Service.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2010-2020 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 | PROGRAMS += TestExecService
|
---|
32 | TestExecService_TEMPLATE = VBoxValidationKitR3
|
---|
33 | ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING
|
---|
34 | TestExecService_DEFS = \
|
---|
35 | KBUILD_TARGET="$(KBUILD_TARGET)" \
|
---|
36 | KBUILD_TARGET_ARCH="$(KBUILD_TARGET_ARCH)"
|
---|
37 | else
|
---|
38 | TestExecService_DEFS = \
|
---|
39 | KBUILD_TARGET=\"$(KBUILD_TARGET)\" \
|
---|
40 | KBUILD_TARGET_ARCH=\"$(KBUILD_TARGET_ARCH)\"
|
---|
41 | endif
|
---|
42 | TestExecService_SOURCES = \
|
---|
43 | TestExecService.cpp \
|
---|
44 | TestExecServiceTcp.cpp
|
---|
45 |
|
---|
46 | ifn1of ($(KBUILD_TARGET), os2)
|
---|
47 | TestExecService_SOURCES += \
|
---|
48 | TestExecServiceSerial.cpp
|
---|
49 | endif
|
---|
50 |
|
---|
51 | INSTALLS += TestExecServiceFiles
|
---|
52 | TestExecServiceFiles_TEMPLATE = VBoxValidationKitR3
|
---|
53 | TestExecServiceFiles_INST = $(INST_VALIDATIONKIT)
|
---|
54 | TestExecServiceFiles_SOURCES := \
|
---|
55 | vboxtxs-readme.txt
|
---|
56 |
|
---|
57 | TestExecServiceFiles_EXEC_SOURCES.linux := \
|
---|
58 | $(PATH_SUB_CURRENT)/linux/vboxtxs.sh=>linux/vboxtxs \
|
---|
59 | $(PATH_SUB_CURRENT)/linux/vboxtxs.service=>linux/vboxtxs.service \
|
---|
60 | $(PATH_SUB_CURRENT)/linux/vboxtxs-nat.sh=>linux/vboxtxs-nat
|
---|
61 |
|
---|
62 | TestExecServiceFiles_SOURCES.solaris := \
|
---|
63 | $(PATH_SUB_CURRENT)/solaris/vboxtxs.xml=>solaris/vboxtxs.xml \
|
---|
64 | $(PATH_SUB_CURRENT)/solaris/vboxtxs-sol10.xml=>solaris/vboxtxs-sol10.xml
|
---|
65 | TestExecServiceFiles_EXEC_SOURCES.solaris := \
|
---|
66 | $(PATH_SUB_CURRENT)/solaris/vboxtxs.sh=>solaris/vboxtxs.sh
|
---|
67 |
|
---|
68 | TestExecServiceFiles_SOURCES.win := \
|
---|
69 | $(PATH_SUB_CURRENT)/win/vboxtxs.reg=>win/vboxtxs.reg \
|
---|
70 | $(PATH_SUB_CURRENT)/win/vboxtxs-nat.reg=>win/vboxtxs-nat.reg
|
---|
71 | TestExecServiceFiles_EXEC_SOURCES.win := \
|
---|
72 | $(PATH_SUB_CURRENT)/win/vboxtxs.cmd=>win/vboxtxs.cmd \
|
---|
73 | $(PATH_SUB_CURRENT)/win/vboxtxs-nat.cmd=>win/vboxtxs-nat.cmd
|
---|
74 |
|
---|
75 |
|
---|
76 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
77 |
|
---|