Makefile.kmk revision af5fce523ceaf4ada0d4d919d9783c749ad72bc9
039cd2c4871a00e51af909222a34695d9cec3000vboxsync# $Id$
039cd2c4871a00e51af909222a34695d9cec3000vboxsync## @file
039cd2c4871a00e51af909222a34695d9cec3000vboxsync# Sub-Makefile for the Shared Clipboard Host Service.
039cd2c4871a00e51af909222a34695d9cec3000vboxsync#
039cd2c4871a00e51af909222a34695d9cec3000vboxsync
039cd2c4871a00e51af909222a34695d9cec3000vboxsync#
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# available from http://www.virtualbox.org. This file is free software;
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# 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#
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync# additional information or have any questions.
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync#
039cd2c4871a00e51af909222a34695d9cec3000vboxsync
039cd2c4871a00e51af909222a34695d9cec3000vboxsyncDEPTH ?= ../../../..
039cd2c4871a00e51af909222a34695d9cec3000vboxsyncSUB_DEPTH = ..
27537ffef7291d0bb3a24e459a6b94c65586defevboxsyncinclude $(KBUILD_PATH)/subheader.kmk
039cd2c4871a00e51af909222a34695d9cec3000vboxsync
039cd2c4871a00e51af909222a34695d9cec3000vboxsync#
039cd2c4871a00e51af909222a34695d9cec3000vboxsync# The shared folder service DLL.
039cd2c4871a00e51af909222a34695d9cec3000vboxsync#
039cd2c4871a00e51af909222a34695d9cec3000vboxsyncDLLS += VBoxSharedClipboard
039cd2c4871a00e51af909222a34695d9cec3000vboxsyncVBoxSharedClipboard_TEMPLATE = VBOXR3
039cd2c4871a00e51af909222a34695d9cec3000vboxsyncVBoxSharedClipboard_DEFS = VBOX_HGCM
039cd2c4871a00e51af909222a34695d9cec3000vboxsyncVBoxSharedClipboard_INCS.win = \
039cd2c4871a00e51af909222a34695d9cec3000vboxsync $(VBOX_PATH_SDK)
039cd2c4871a00e51af909222a34695d9cec3000vboxsync
039cd2c4871a00e51af909222a34695d9cec3000vboxsyncVBoxSharedClipboard_SOURCES = \
039cd2c4871a00e51af909222a34695d9cec3000vboxsync service.cpp
039cd2c4871a00e51af909222a34695d9cec3000vboxsyncVBoxSharedClipboard_SOURCES.win = \
af5fce523ceaf4ada0d4d919d9783c749ad72bc9vboxsync VBoxClipboard-win.cpp
dc23707aec4dc2ce2c6b6f51af21eef72bb8bf2evboxsyncVBoxSharedClipboard_SOURCES.darwin = \
dc23707aec4dc2ce2c6b6f51af21eef72bb8bf2evboxsync darwin.cpp \
32ded45b3caba42c8a2315a20bbfabb513fa54c1vboxsync clipboard-helper.cpp \
32ded45b3caba42c8a2315a20bbfabb513fa54c1vboxsync darwin-pasteboard.cpp
7fdd763c6c507adde17f4bd278b15891b8ebf568vboxsyncif1of ($(KBUILD_TARGET),linux solaris) ## @todo X11
ab9c7333d588df5d6959a3b2c96c60321d26c4b0vboxsync ifndef VBOX_HEADLESS
ab9c7333d588df5d6959a3b2c96c60321d26c4b0vboxsync VBoxSharedClipboard_SOURCES += \
32ded45b3caba42c8a2315a20bbfabb513fa54c1vboxsync clipboard-helper.cpp \
3f279f58d7fa1cfb1ef999f80968cf3aefc0680cvboxsync x11.cpp
ab9c7333d588df5d6959a3b2c96c60321d26c4b0vboxsync else
ab9c7333d588df5d6959a3b2c96c60321d26c4b0vboxsync VBoxSharedClipboard_SOURCES += \
3f279f58d7fa1cfb1ef999f80968cf3aefc0680cvboxsync x11-stub.cpp
ab9c7333d588df5d6959a3b2c96c60321d26c4b0vboxsync endif
9e57274211125689926b35d1916c0c5c82b33670vboxsyncendif
039cd2c4871a00e51af909222a34695d9cec3000vboxsync
039cd2c4871a00e51af909222a34695d9cec3000vboxsyncVBoxSharedClipboard_LIBS = \
039cd2c4871a00e51af909222a34695d9cec3000vboxsync $(LIB_VMM) \
039cd2c4871a00e51af909222a34695d9cec3000vboxsync $(LIB_RUNTIME) \
039cd2c4871a00e51af909222a34695d9cec3000vboxsync $(LIB_REM)
7fdd763c6c507adde17f4bd278b15891b8ebf568vboxsyncif1of ($(KBUILD_TARGET),linux solaris)
ab9c7333d588df5d6959a3b2c96c60321d26c4b0vboxsync ifndef VBOX_HEADLESS
ab9c7333d588df5d6959a3b2c96c60321d26c4b0vboxsync VBoxSharedClipboard_LIBPATH = \
53ed059bdb30c2b20a3f329602bb715d75ab7d56vboxsync $(VBOX_LIBPATH_X11)
ab9c7333d588df5d6959a3b2c96c60321d26c4b0vboxsync VBoxSharedClipboard_LIBS += \
53ed059bdb30c2b20a3f329602bb715d75ab7d56vboxsync Xt \
53ed059bdb30c2b20a3f329602bb715d75ab7d56vboxsync X11
ab9c7333d588df5d6959a3b2c96c60321d26c4b0vboxsync endif
9e57274211125689926b35d1916c0c5c82b33670vboxsyncendif
039cd2c4871a00e51af909222a34695d9cec3000vboxsync
dc23707aec4dc2ce2c6b6f51af21eef72bb8bf2evboxsyncVBoxSharedClipboard_LDFLAGS.darwin = -framework ApplicationServices
dc23707aec4dc2ce2c6b6f51af21eef72bb8bf2evboxsync
27537ffef7291d0bb3a24e459a6b94c65586defevboxsyncinclude $(KBUILD_PATH)/subfooter.kmk
039cd2c4871a00e51af909222a34695d9cec3000vboxsync