VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedClipboard/Makefile.kmk@ 11836

Last change on this file since 11836 was 11820, checked in by vboxsync, 16 years ago

made Qt4 the default GUI; VBOX_VRDP => VBOX_WITH_VRDP; VBOX_HGCM => VBOX_WITH_HGCM; Makefile cleanup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Makefile.kmk 11820 2008-08-29 14:09:39Z 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
22ifdef VBOX_KBUILD_HACKING
23SUB_DEPTH = ../../../..
24else
25DEPTH ?= ../../../..
26SUB_DEPTH = ..
27endif
28include $(KBUILD_PATH)/subheader.kmk
29
30#
31# The shared folder service DLL.
32#
33DLLS += VBoxSharedClipboard
34VBoxSharedClipboard_TEMPLATE = VBOXR3
35VBoxSharedClipboard_DEFS = VBOX_WITH_HGCM
36VBoxSharedClipboard_INCS.win = \
37 $(VBOX_PATH_SDK)
38
39VBoxSharedClipboard_SOURCES = \
40 service.cpp
41VBoxSharedClipboard_SOURCES.win = \
42 VBoxClipboard-win.cpp
43VBoxSharedClipboard_SOURCES.darwin = \
44 darwin.cpp \
45 clipboard-helper.cpp \
46 darwin-pasteboard.cpp
47if1of ($(KBUILD_TARGET),linux solaris) ## @todo X11
48 ifndef VBOX_HEADLESS
49 VBoxSharedClipboard_SOURCES += \
50 clipboard-helper.cpp \
51 x11.cpp
52 else
53 VBoxSharedClipboard_SOURCES += \
54 x11-stub.cpp
55 endif
56endif
57
58VBoxSharedClipboard_LIBS = \
59 $(LIB_VMM) \
60 $(LIB_RUNTIME) \
61 $(LIB_REM)
62if1of ($(KBUILD_TARGET),linux solaris)
63 ifndef VBOX_HEADLESS
64 VBoxSharedClipboard_LIBPATH = \
65 $(VBOX_LIBPATH_X11)
66 VBoxSharedClipboard_LIBS += \
67 Xt \
68 X11
69 endif
70endif
71
72VBoxSharedClipboard_LDFLAGS.darwin = \
73 -framework ApplicationServices -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxSharedClipboard.dylib
74
75include $(KBUILD_PATH)/subfooter.kmk
76
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette