1 | # $Id: Makefile.kmk 12250 2008-09-09 01:34:00Z 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 | SUB_DEPTH = ../../../..
|
---|
23 | include $(KBUILD_PATH)/subheader.kmk
|
---|
24 |
|
---|
25 | #
|
---|
26 | # The shared folder service DLL.
|
---|
27 | #
|
---|
28 | DLLS += VBoxSharedClipboard
|
---|
29 | VBoxSharedClipboard_TEMPLATE = VBOXR3
|
---|
30 | VBoxSharedClipboard_DEFS = VBOX_WITH_HGCM
|
---|
31 | VBoxSharedClipboard_INCS.win = \
|
---|
32 | $(VBOX_PATH_SDK)
|
---|
33 |
|
---|
34 | VBoxSharedClipboard_SOURCES = \
|
---|
35 | service.cpp
|
---|
36 | VBoxSharedClipboard_SOURCES.win = \
|
---|
37 | VBoxClipboard-win.cpp
|
---|
38 | VBoxSharedClipboard_SOURCES.darwin = \
|
---|
39 | darwin.cpp \
|
---|
40 | clipboard-helper.cpp \
|
---|
41 | darwin-pasteboard.cpp
|
---|
42 | if1of ($(KBUILD_TARGET), linux solaris) ## @todo X11
|
---|
43 | ifndef VBOX_HEADLESS
|
---|
44 | VBoxSharedClipboard_SOURCES += \
|
---|
45 | clipboard-helper.cpp \
|
---|
46 | x11.cpp
|
---|
47 | else
|
---|
48 | VBoxSharedClipboard_SOURCES += \
|
---|
49 | x11-stub.cpp
|
---|
50 | endif
|
---|
51 | endif
|
---|
52 |
|
---|
53 | VBoxSharedClipboard_LIBS = \
|
---|
54 | $(LIB_VMM) \
|
---|
55 | $(LIB_RUNTIME) \
|
---|
56 | $(LIB_REM)
|
---|
57 | if1of ($(KBUILD_TARGET), linux solaris)
|
---|
58 | ifndef VBOX_HEADLESS
|
---|
59 | VBoxSharedClipboard_LIBPATH = \
|
---|
60 | $(VBOX_LIBPATH_X11)
|
---|
61 | VBoxSharedClipboard_LIBS += \
|
---|
62 | Xt \
|
---|
63 | X11
|
---|
64 | endif
|
---|
65 | endif
|
---|
66 |
|
---|
67 | VBoxSharedClipboard_LDFLAGS.darwin = \
|
---|
68 | -framework ApplicationServices -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxSharedClipboard.dylib
|
---|
69 |
|
---|
70 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
71 |
|
---|