1 | # $Id: Makefile.kmk 98103 2023-01-17 14:15:46Z 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 drag and drop service DLL.
|
---|
36 | #
|
---|
37 | DLLS += VBoxDragAndDropSvc
|
---|
38 | VBoxDragAndDropSvc_TEMPLATE = VBOXR3
|
---|
39 | VBoxDragAndDropSvc_NAME.os2 = VBoxDnD
|
---|
40 | VBoxDragAndDropSvc_DEFS = \
|
---|
41 | VBOX_WITH_HGCM \
|
---|
42 | $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH,)
|
---|
43 | VBoxDragAndDropSvc_INCS = $(PATH_ROOT)/src/VBox/Main/include ./
|
---|
44 | VBoxDragAndDropSvc_INCS.win = \
|
---|
45 | $(VBOX_PATH_SDK)
|
---|
46 |
|
---|
47 | VBoxDragAndDropSvc_SOURCES = \
|
---|
48 | VBoxDragAndDropSvc.cpp \
|
---|
49 | dndmanager.cpp
|
---|
50 |
|
---|
51 | VBoxDragAndDropSvc_SOURCES += \
|
---|
52 | ../common/client.cpp \
|
---|
53 | ../common/message.cpp
|
---|
54 |
|
---|
55 | VBoxDragAndDropSvc_SOURCES.win = \
|
---|
56 | VBoxDragAndDropSvc.rc
|
---|
57 |
|
---|
58 | VBoxDragAndDropSvc_LIBS = \
|
---|
59 | $(LIB_RUNTIME) \
|
---|
60 | $(PATH_STAGE_LIB)/VBoxDnDHostR3Lib$(VBOX_SUFF_LIB)
|
---|
61 |
|
---|
62 | VBoxDragAndDropSvc_LDFLAGS.darwin = \
|
---|
63 | -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDragAndDropSvc.dylib
|
---|
64 |
|
---|
65 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|