Makefile.kmk revision 9e57274211125689926b35d1916c0c5c82b33670
# $Id$
## @file
# Sub-Makefile for the Shared Clipboard Host Service.
#
#
# Copyright (C) 2006-2007 innotek GmbH
#
# 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 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.
#
# If you received this file as part of a commercial VirtualBox
# distribution, then only the terms of your commercial VirtualBox
# license agreement apply instead of the previous paragraph.
#
DEPTH ?= ../../../..
SUB_DEPTH = ..
include $(PATH_KBUILD)/subheader.kmk
ifndef VBOX_WITH_VBOXSDL
ifndef VBOX_WITH_QTGUI
VBOX_HEADLESS=1
endif
endif
#
# The shared folder service DLL.
#
DLLS += VBoxSharedClipboard
VBoxSharedClipboard_TEMPLATE = VBOXR3
VBoxSharedClipboard_DEFS = VBOX_HGCM
VBoxSharedClipboard_INCS.win = \
$(VBOX_PATH_SDK)
VBoxSharedClipboard_SOURCES = \
service.cpp
VBoxSharedClipboard_SOURCES.win = \
win32.cpp
ifndef VBOX_HEADLESS
VBoxSharedClipboard_SOURCES.linux = \
linux.cpp
else
VBoxSharedClipboard_SOURCES.linux = \
linux-stub.cpp
endif
VBoxSharedClipboard_LIBS = \
$(LIB_VMM) \
$(LIB_RUNTIME) \
$(LIB_REM)
ifndef VBOX_HEADLESS
VBoxSharedClipboard_LIBPATH.linux = \
$(VBOX_LIBPATH_X11)
VBoxSharedClipboard_LIBS.linux = \
Xt \
X11
endif
include $(PATH_KBUILD)/subfooter.kmk