1 | # $Id: Makefile.kmk 98526 2023-02-10 15:10:50Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Guest Control Host Service.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2011-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 | # The guest control service DLL.
|
---|
36 | #
|
---|
37 | DLLS += VBoxGuestControlSvc
|
---|
38 | VBoxGuestControlSvc_TEMPLATE = VBoxR3Dll
|
---|
39 | VBoxGuestControlSvc_NAME.os2 = VBoxGCTL
|
---|
40 | VBoxGuestControlSvc_DEFS = VBOX_WITH_HGCM
|
---|
41 | ifdef VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS
|
---|
42 | VBoxGuestControlSvc_DEFS += VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS
|
---|
43 | endif
|
---|
44 | VBoxGuestControlSvc_INCS = $(PATH_ROOT)/src/VBox/Main/include
|
---|
45 | VBoxGuestControlSvc_INCS.win = \
|
---|
46 | $(VBOX_PATH_SDK)
|
---|
47 |
|
---|
48 | VBoxGuestControlSvc_SOURCES = \
|
---|
49 | VBoxGuestControlSvc.cpp
|
---|
50 |
|
---|
51 | VBoxGuestControlSvc_SOURCES.win = \
|
---|
52 | VBoxGuestControlSvc.rc
|
---|
53 |
|
---|
54 | VBoxGuestControlSvc_LIBS = \
|
---|
55 | $(LIB_RUNTIME)
|
---|
56 |
|
---|
57 | VBoxGuestControlSvc_LDFLAGS.darwin = \
|
---|
58 | -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxGuestControlSvc.dylib
|
---|
59 |
|
---|
60 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|