VirtualBox

source: vbox/trunk/src/VBox/Additions/linux/xclient/Makefile.kmk@ 5823

Last change on this file since 5823 was 5823, checked in by vboxsync, 17 years ago

Additions (Linux): committed current seamless code, still disabled

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Makefile.kmk 5823 2007-11-22 19:22:50Z vboxsync $
2## @file
3# Makefile for the VirtualBox Linux Guest Addition X11 Client.
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 as published by the Free Software Foundation,
13# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
14# distribution. VirtualBox OSE is distributed in the hope that it will
15# be useful, but WITHOUT ANY WARRANTY of any kind.
16
17DEPTH = ../../../../..
18include $(PATH_KBUILD)/header.kmk
19
20ifneq ($(USERNAME),bird) # crap
21PROGRAMS = vboxadd-xclient
22endif
23
24OTHER_CLEAN = $(PATH_TARGET)/vboxadd-xclient/libstdc++.a
25
26vboxadd-xclient_TEMPLATE = VBOXLNX32GUESTR3EXE
27vboxadd-xclient_SOURCES = clipboard.cpp main.cpp
28ifdef LINUX_SEAMLESS_GUEST
29vboxadd-xclient_SOURCES += \
30 seamless-host.cpp \
31 seamless-x11.cpp
32endif
33vboxadd-xclient_LIBPATH = $(PATH_TARGET)/vboxadd-xclient $(VBOX_LIBPATH32_X11)
34vboxadd-xclient_LIBS = \
35 $(PATH_LIB)/VBoxGuestR3LibLinux.a \
36 $(PATH_LIB)/RuntimeLnx32GuestR3.a \
37 pthread \
38 rt \
39 Xt \
40 Xext \
41 X11
42vboxadd-xclient_DEFS = _GNU_SOURCE VBOX_HGCM
43ifdef LINUX_SEAMLESS_GUEST
44vboxadd-xclient_DEFS += LINUX_SEAMLESS
45endif
46
47# link agaginst libstdc++.a (http://www.trilithium.com/johan/2005/06/static-libstdc/)
48$(PATH_TARGET)/vboxadd-xclient/vboxadd-xclient: $(PATH_TARGET)/vboxadd-xclient/libstdc++.a
49
50$(PATH_TARGET)/vboxadd-xclient/libstdc++.a:
51 $(call MSG_L1,Forcing static libstdc++)
52 $(QUIET)ln -sf `$(TOOL_$(VBOX_GCC32_TOOL)_CXX) -print-file-name=libstdc++.a` $@ || cp `$(TOOL_$(VBOX_GCC32_TOOL)_CXX) -print-file-name=libstdc++.a` $@
53
54include $(PATH_KBUILD)/footer.kmk
Note: See TracBrowser for help on using the repository browser.

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