VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/Makefile.kmk@ 68495

Last change on this file since 68495 was 64270, checked in by vboxsync, 8 years ago

bugref:3810: X11 Guest Additions maintenance: Add two new defines - VBOX_USE_SYSTEM_GL_HEADERS and VBOX_NO_LEGACY_XORG_X11 - for the benefit of people doing distribution builds. They make us use system OpenGL headers for building our libGL and prevent us building X.Org drivers and stub libraries for linking on old distributions. These changes are to be tested by people who need them, not by upstream developers.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1# $Id: Makefile.kmk 64270 2016-10-14 06:19:12Z vboxsync $
2## @file
3# Sub-Makefile for the X11 Guest Additions.
4#
5
6# Copyright (C) 2006-2016 Oracle Corporation
7#
8# This file is part of VirtualBox Open Source Edition (OSE), as
9# available from http://www.virtualbox.org. This file is free software;
10# you can redistribute it and/or modify it under the terms of the GNU
11# General Public License (GPL) as published by the Free Software
12# Foundation, in version 2 as it comes in the "COPYING" file of the
13# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15#
16
17SUB_DEPTH = ../../../..
18include $(KBUILD_PATH)/subheader.kmk
19
20# Include sub-makefiles.
21if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
22 include $(PATH_SUB_CURRENT)/VBoxClient/Makefile.kmk
23 ifndef VBOX_NO_LEGACY_XORG_X11
24 include $(PATH_SUB_CURRENT)/vboxvideo/Makefile.kmk
25 ifneq ($(KBUILD_TARGET), solaris)
26 include $(PATH_SUB_CURRENT)/vboxmouse/Makefile.kmk
27 endif
28 # This should logically only be controlled by VBOX_NO_LEGACY_XORG_X11,
29 # as it is not used for drivers at all, but rather to build X11 clients
30 # on systems missing needed libraries.
31 ## @todo fix at some later point when it will not break people's workflows.
32 ifndef VBOX_USE_SYSTEM_XORG_HEADERS
33 include $(PATH_SUB_CURRENT)/x11stubs/Makefile.kmk
34 endif
35 endif
36endif
37
38include $(FILE_KBUILD_SUB_FOOTER)
39
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