# $Id$
## @file
# Sub-Makefile for the Guest Control Host Service.
#
#
# Copyright (C) 2011-2012 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 = \
$(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_INC) \
$(VBOX_PATH_SDK)
VBoxDragAndDropSvc_SOURCES = \
service.cpp \
dndmanager.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)