summaryrefslogtreecommitdiffstats
path: root/src/VBox/HostServices/DragAndDrop/Makefile.kmk
blob: 2889e61fb04d37faa8a68d58ba24bbb6d3ba8e48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# $Id: Makefile.kmk $
## @file
# Sub-Makefile for the Guest Control Host Service.
#

#
# Copyright (C) 2011-2019 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#

SUB_DEPTH = ../../../..
include $(KBUILD_PATH)/subheader.kmk

# Include sub-makefile(s).
# include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk

#
# The drag and drop service DLL.
#
DLLS += VBoxDragAndDropSvc
VBoxDragAndDropSvc_TEMPLATE  = VBOXR3
VBoxDragAndDropSvc_NAME.os2  = VBoxDnD
VBoxDragAndDropSvc_DEFS      = \
	VBOX_WITH_HGCM \
	$(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH,)
VBoxDragAndDropSvc_INCS      = $(PATH_ROOT)/src/VBox/Main/include ./
VBoxDragAndDropSvc_INCS.win  = \
	$(VBOX_PATH_SDK)

VBoxDragAndDropSvc_SOURCES = \
	VBoxDragAndDropSvc.cpp \
	dndmanager.cpp

VBoxDragAndDropSvc_SOURCES += \
    ../common/client.cpp \
    ../common/message.cpp

VBoxDragAndDropSvc_SOURCES.win = \
	VBoxDragAndDropSvc.rc

VBoxDragAndDropSvc_LIBS = \
	$(LIB_VMM) \
	$(LIB_RUNTIME) \
	$(LIB_REM) \
	$(PATH_STAGE_LIB)/VBoxDnDHostR3Lib$(VBOX_SUFF_LIB)

VBoxDragAndDropSvc_LDFLAGS.darwin = \
	-install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDragAndDropSvc.dylib

include $(FILE_KBUILD_SUB_FOOTER)