VirtualBox

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

Last change on this file since 13835 was 12250, checked in by vboxsync, 16 years ago

HostServices/Makefiles: Eliminated PATH_TARGET usage and pushed them up to root level (sub-makefile wise). Fixed a little mixup in the shared folder testcases.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
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
22SUB_DEPTH = ../../../..
23include $(KBUILD_PATH)/subheader.kmk
24
25#
26# The shared folder service DLL.
27#
28DLLS += VBoxSharedClipboard
29VBoxSharedClipboard_TEMPLATE = VBOXR3
30VBoxSharedClipboard_DEFS = VBOX_WITH_HGCM
31VBoxSharedClipboard_INCS.win = \
32 $(VBOX_PATH_SDK)
33
34VBoxSharedClipboard_SOURCES = \
35 service.cpp
36VBoxSharedClipboard_SOURCES.win = \
37 VBoxClipboard-win.cpp
38VBoxSharedClipboard_SOURCES.darwin = \
39 darwin.cpp \
40 clipboard-helper.cpp \
41 darwin-pasteboard.cpp
42if1of ($(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
51endif
52
53VBoxSharedClipboard_LIBS = \
54 $(LIB_VMM) \
55 $(LIB_RUNTIME) \
56 $(LIB_REM)
57if1of ($(KBUILD_TARGET), linux solaris)
58 ifndef VBOX_HEADLESS
59 VBoxSharedClipboard_LIBPATH = \
60 $(VBOX_LIBPATH_X11)
61 VBoxSharedClipboard_LIBS += \
62 Xt \
63 X11
64 endif
65endif
66
67VBoxSharedClipboard_LDFLAGS.darwin = \
68 -framework ApplicationServices -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxSharedClipboard.dylib
69
70include $(KBUILD_PATH)/subfooter.kmk
71
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