VirtualBox

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

Last change on this file since 3895 was 3134, checked in by vboxsync, 18 years ago

hack for filesystems which do not support symbolic links

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Makefile.kmk 3134 2007-06-17 20:40:40Z 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#
17# If you received this file as part of a commercial VirtualBox
18# distribution, then only the terms of your commercial VirtualBox
19# license agreement apply instead of the previous paragraph.
20#
21#
22
23DEPTH = ../../../../..
24include $(PATH_KBUILD)/header.kmk
25
26
27ifneq ($(USERNAME),bird) # crap
28PROGRAMS = vboxadd-xclient
29endif
30
31OTHER_CLEAN = $(PATH_TARGET)/vboxadd-xclient/libstdc++.a
32
33vboxadd-xclient_TEMPLATE = VBOXLNX32GUESTR3EXE
34vboxadd-xclient_SOURCES = clipboard.cpp
35vboxadd-xclient_LIBPATH = $(PATH_TARGET)/vboxadd-xclient $(VBOX_LIBPATH32_X11)
36vboxadd-xclient_LIBS = \
37 $(PATH_LIB)/RuntimeLnx32GuestR3.a pthread rt Xt X11
38vboxadd-xclient_DEFS = _GNU_SOURCE VBOX_HGCM
39
40# link agaginst libstdc++.a (http://www.trilithium.com/johan/2005/06/static-libstdc/)
41$(PATH_TARGET)/vboxadd-xclient/vboxadd-xclient: $(PATH_TARGET)/vboxadd-xclient/libstdc++.a
42
43$(PATH_TARGET)/vboxadd-xclient/libstdc++.a:
44 $(call MSG_L1,Forcing static libstdc++)
45 $(QUIET)ln -s `$(TOOL_$(VBOX_GCC32_TOOL)_CXX) -print-file-name=libstdc++.a` $@ || cp `$(TOOL_$(VBOX_GCC32_TOOL)_CXX) -print-file-name=libstdc++.a` $@
46
47include $(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