Makefile.kmk revision 4941e5c65d2957bea0c7fee86150c40be992f60a
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync# $Id$
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync## @file
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync# Sub-Makefile for the Shared Clipboard Host Service.
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync#
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync#
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync#
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync# available from http://www.virtualbox.org. This file is free software;
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync# you can redistribute it and/or modify it under the terms of the GNU
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# General Public License (GPL) as published by the Free Software
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# additional information or have any questions.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsyncSUB_DEPTH = ../../../..
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsyncinclude $(KBUILD_PATH)/subheader.kmk
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync#
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync# The shared folder service DLL.
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync#
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsyncDLLS += VBoxSharedClipboard
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsyncVBoxSharedClipboard_TEMPLATE = VBOXR3
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsyncVBoxSharedClipboard_DEFS = VBOX_WITH_HGCM
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsyncVBoxSharedClipboard_INCS.win = \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync $(VBOX_PATH_SDK)
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsyncVBoxSharedClipboard_SOURCES = \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync service.cpp
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsyncVBoxSharedClipboard_SOURCES.win = \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync VBoxClipboard-win.cpp
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsyncVBoxSharedClipboard_SOURCES.darwin = \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync darwin.cpp \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync clipboard-helper.cpp \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync darwin-pasteboard.cpp
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsyncif1of ($(KBUILD_TARGET), linux solaris) ## @todo X11
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync ifndef VBOX_HEADLESS
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync VBoxSharedClipboard_SOURCES += \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync clipboard-helper.cpp \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync x11.cpp
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync else
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync VBoxSharedClipboard_SOURCES += \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync x11-stub.cpp
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync endif
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsyncendif
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsyncVBoxSharedClipboard_LIBS = \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync $(LIB_VMM) \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync $(LIB_RUNTIME) \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync $(LIB_REM)
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsyncif1of ($(KBUILD_TARGET), linux solaris)
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync ifndef VBOX_HEADLESS
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync VBoxSharedClipboard_LIBPATH = \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync $(VBOX_LIBPATH_X11)
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync VBoxSharedClipboard_LIBS += \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync Xt \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync X11
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync endif
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsyncendif
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsyncVBoxSharedClipboard_LDFLAGS.darwin = \
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync -framework ApplicationServices -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxSharedClipboard.dylib
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsyncinclude $(KBUILD_PATH)/subfooter.kmk
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync
67c26773eca4a576449ffa8f289fa344fc7b8176vboxsync