1 | # $Id: Makefile.kmk 8155 2008-04-18 15:16:47Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Shared Clipboard Host Service.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 Sun Microsystems, Inc.
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 | # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
18 | # Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
19 | # additional information or have any questions.
|
---|
20 | #
|
---|
21 |
|
---|
22 | DEPTH ?= ../../../..
|
---|
23 | SUB_DEPTH = ..
|
---|
24 | include $(PATH_KBUILD)/subheader.kmk
|
---|
25 |
|
---|
26 | #
|
---|
27 | # The shared folder service DLL.
|
---|
28 | #
|
---|
29 | DLLS += VBoxSharedClipboard
|
---|
30 | VBoxSharedClipboard_TEMPLATE = VBOXR3
|
---|
31 | VBoxSharedClipboard_DEFS = VBOX_HGCM
|
---|
32 | VBoxSharedClipboard_INCS.win = \
|
---|
33 | $(VBOX_PATH_SDK)
|
---|
34 |
|
---|
35 | VBoxSharedClipboard_SOURCES = \
|
---|
36 | service.cpp
|
---|
37 | VBoxSharedClipboard_SOURCES.win = \
|
---|
38 | win32.cpp
|
---|
39 | VBoxSharedClipboard_SOURCES.darwin = \
|
---|
40 | darwin.cpp \
|
---|
41 | clipboard-helper.cpp \
|
---|
42 | darwin-pasteboard.cpp
|
---|
43 | if1of ($(BUILD_TARGET),linux solaris) ## @todo X11
|
---|
44 | ifndef VBOX_HEADLESS
|
---|
45 | VBoxSharedClipboard_SOURCES += \
|
---|
46 | clipboard-helper.cpp \
|
---|
47 | x11.cpp
|
---|
48 | else
|
---|
49 | VBoxSharedClipboard_SOURCES += \
|
---|
50 | x11-stub.cpp
|
---|
51 | endif
|
---|
52 | endif
|
---|
53 |
|
---|
54 | VBoxSharedClipboard_LIBS = \
|
---|
55 | $(LIB_VMM) \
|
---|
56 | $(LIB_RUNTIME) \
|
---|
57 | $(LIB_REM)
|
---|
58 | if1of ($(BUILD_TARGET),linux solaris)
|
---|
59 | ifndef VBOX_HEADLESS
|
---|
60 | VBoxSharedClipboard_LIBPATH = \
|
---|
61 | $(VBOX_LIBPATH_X11)
|
---|
62 | VBoxSharedClipboard_LIBS += \
|
---|
63 | Xt \
|
---|
64 | X11
|
---|
65 | endif
|
---|
66 | endif
|
---|
67 |
|
---|
68 | VBoxSharedClipboard_LDFLAGS.darwin = -framework ApplicationServices
|
---|
69 |
|
---|
70 | include $(PATH_KBUILD)/subfooter.kmk
|
---|
71 |
|
---|