1 | # $Id: Makefile.kmk 7892 2008-04-10 19:32:34Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Shared Clipboard Host Service.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 innotek GmbH
|
---|
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 |
|
---|
18 | DEPTH ?= ../../../..
|
---|
19 | SUB_DEPTH = ..
|
---|
20 | include $(PATH_KBUILD)/subheader.kmk
|
---|
21 |
|
---|
22 | #
|
---|
23 | # The shared folder service DLL.
|
---|
24 | #
|
---|
25 | DLLS += VBoxSharedClipboard
|
---|
26 | VBoxSharedClipboard_TEMPLATE = VBOXR3
|
---|
27 | VBoxSharedClipboard_DEFS = VBOX_HGCM
|
---|
28 | VBoxSharedClipboard_INCS.win = \
|
---|
29 | $(VBOX_PATH_SDK)
|
---|
30 |
|
---|
31 | VBoxSharedClipboard_SOURCES = \
|
---|
32 | service.cpp
|
---|
33 | VBoxSharedClipboard_SOURCES.win = \
|
---|
34 | win32.cpp
|
---|
35 | VBoxSharedClipboard_SOURCES.darwin = \
|
---|
36 | darwin.cpp \
|
---|
37 | clipboard-helper.cpp \
|
---|
38 | darwin-pasteboard.cpp
|
---|
39 | if1of ($(BUILD_TARGET),linux solaris) ## @todo X11
|
---|
40 | ifndef VBOX_HEADLESS
|
---|
41 | VBoxSharedClipboard_SOURCES += \
|
---|
42 | clipboard-helper.cpp \
|
---|
43 | x11.cpp
|
---|
44 | else
|
---|
45 | VBoxSharedClipboard_SOURCES += \
|
---|
46 | x11-stub.cpp
|
---|
47 | endif
|
---|
48 | endif
|
---|
49 |
|
---|
50 | VBoxSharedClipboard_LIBS = \
|
---|
51 | $(LIB_VMM) \
|
---|
52 | $(LIB_RUNTIME) \
|
---|
53 | $(LIB_REM)
|
---|
54 | if1of ($(BUILD_TARGET),linux solaris)
|
---|
55 | ifndef VBOX_HEADLESS
|
---|
56 | VBoxSharedClipboard_LIBPATH = \
|
---|
57 | $(VBOX_LIBPATH_X11)
|
---|
58 | VBoxSharedClipboard_LIBS += \
|
---|
59 | Xt \
|
---|
60 | X11
|
---|
61 | endif
|
---|
62 | endif
|
---|
63 |
|
---|
64 | VBoxSharedClipboard_LDFLAGS.darwin = -framework ApplicationServices
|
---|
65 |
|
---|
66 | include $(PATH_KBUILD)/subfooter.kmk
|
---|
67 |
|
---|