1 | # $Id: Makefile.kmk 98255 2023-01-23 17:45:52Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Guest Additions Command Line Management Interface.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2010-2023 Oracle and/or its affiliates.
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox base platform packages, as
|
---|
10 | # available from https://www.virtualbox.org.
|
---|
11 | #
|
---|
12 | # This program is free software; you can redistribute it and/or
|
---|
13 | # modify it under the terms of the GNU General Public License
|
---|
14 | # as published by the Free Software Foundation, in version 3 of the
|
---|
15 | # License.
|
---|
16 | #
|
---|
17 | # This program is distributed in the hope that it will be useful, but
|
---|
18 | # WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | # General Public License for more details.
|
---|
21 | #
|
---|
22 | # You should have received a copy of the GNU General Public License
|
---|
23 | # along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | #
|
---|
25 | # SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | #
|
---|
27 |
|
---|
28 | SUB_DEPTH = ../../../../..
|
---|
29 | include $(KBUILD_PATH)/subheader.kmk
|
---|
30 |
|
---|
31 | # Include sub-makefile(s).
|
---|
32 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
33 |
|
---|
34 | #
|
---|
35 | # VBoxControl
|
---|
36 | #
|
---|
37 | PROGRAMS += VBoxControl
|
---|
38 | VBoxControl_TEMPLATE = VBoxGuestR3Exe
|
---|
39 | if "$(KBUILD_TARGET)" == "win" && defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS) # (See the main Windows Additions makefile.)
|
---|
40 | VBoxControl_INSTTYPE = none
|
---|
41 | VBoxControl_DEBUG_INSTTYPE = both
|
---|
42 | endif
|
---|
43 | VBoxControl_DEFS += \
|
---|
44 | $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,) \
|
---|
45 | $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS,) \
|
---|
46 | $(if $(VBOX_WITH_SHARED_FOLDERS),VBOX_WITH_SHARED_FOLDERS,)
|
---|
47 | VBoxControl_DEFS.win += \
|
---|
48 | $(if $(VBOX_WITH_DPC_LATENCY_CHECKER),VBOX_WITH_DPC_LATENCY_CHECKER,)
|
---|
49 | VBoxControl_SDKS = VBoxZlibStatic
|
---|
50 | VBoxControl_SOURCES = \
|
---|
51 | VBoxControl.cpp
|
---|
52 | VBoxControl_SOURCES.win = \
|
---|
53 | VBoxControl.rc
|
---|
54 | VBoxControl_LDFLAGS.darwin = -framework IOKit
|
---|
55 | VBoxControl_LIBS.netbsd = crypt
|
---|
56 | VBoxControl_USES.win += vboximportchecker
|
---|
57 | VBoxControl_VBOX_IMPORT_CHECKER.win.x86 = nt31
|
---|
58 | VBoxControl_VBOX_IMPORT_CHECKER.win.amd64 = xp64
|
---|
59 |
|
---|
60 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
61 |
|
---|