VirtualBox

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

Last change on this file since 4353 was 4350, checked in by vboxsync, 18 years ago

Initial code for seamless mode in Linux guests

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Makefile.kmk 4350 2007-08-24 13:27:16Z 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
20
21ifneq ($(USERNAME),bird) # crap
22PROGRAMS = vboxadd-xclient
23endif
24
25OTHER_CLEAN = $(PATH_TARGET)/vboxadd-xclient/libstdc++.a
26
27vboxadd-xclient_TEMPLATE = VBOXLNX32GUESTR3EXE
28vboxadd-xclient_SOURCES = clipboard.cpp main.cpp
29vboxadd-xclient_LIBPATH = $(PATH_TARGET)/vboxadd-xclient $(VBOX_LIBPATH32_X11)
30vboxadd-xclient_LIBS = \
31 $(PATH_LIB)/RuntimeLnx32GuestR3.a pthread rt Xt X11
32vboxadd-xclient_DEFS = _GNU_SOURCE VBOX_HGCM
33
34# link agaginst libstdc++.a (http://www.trilithium.com/johan/2005/06/static-libstdc/)
35$(PATH_TARGET)/vboxadd-xclient/vboxadd-xclient: $(PATH_TARGET)/vboxadd-xclient/libstdc++.a
36
37$(PATH_TARGET)/vboxadd-xclient/libstdc++.a:
38 $(call MSG_L1,Forcing static libstdc++)
39 $(QUIET)ln -s `$(TOOL_$(VBOX_GCC32_TOOL)_CXX) -print-file-name=libstdc++.a` $@ || cp `$(TOOL_$(VBOX_GCC32_TOOL)_CXX) -print-file-name=libstdc++.a` $@
40
41include $(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