Makefile revision 1549
65fea56f17cd614bc8908264df980a62e1931468vboxsync###############################################################################
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Xorg server Makefile
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Permission is hereby granted, free of charge, to any person obtaining a
65fea56f17cd614bc8908264df980a62e1931468vboxsync# copy of this software and associated documentation files (the "Software"),
65fea56f17cd614bc8908264df980a62e1931468vboxsync# to deal in the Software without restriction, including without limitation
65fea56f17cd614bc8908264df980a62e1931468vboxsync# the rights to use, copy, modify, merge, publish, distribute, sublicense,
65fea56f17cd614bc8908264df980a62e1931468vboxsync# and/or sell copies of the Software, and to permit persons to whom the
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Software is furnished to do so, subject to the following conditions:
65fea56f17cd614bc8908264df980a62e1931468vboxsync# The above copyright notice and this permission notice (including the next
65fea56f17cd614bc8908264df980a62e1931468vboxsync# paragraph) shall be included in all copies or substantial portions of the
65fea56f17cd614bc8908264df980a62e1931468vboxsync# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
65fea56f17cd614bc8908264df980a62e1931468vboxsync# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
65fea56f17cd614bc8908264df980a62e1931468vboxsync# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
65fea56f17cd614bc8908264df980a62e1931468vboxsync# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
65fea56f17cd614bc8908264df980a62e1931468vboxsync# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
65fea56f17cd614bc8908264df980a62e1931468vboxsync# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
65fea56f17cd614bc8908264df980a62e1931468vboxsync# DEALINGS IN THE SOFTWARE.
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Package name used in tarballs
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Package metadata
65fea56f17cd614bc8908264df980a62e1931468vboxsyncMODULE_DESC = portions of the X.Org X server software
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Version number (used in path names) - set in open-src/common/Makefile.init
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Checksums for upstream tarball
65fea56f17cd614bc8908264df980a62e1931468vboxsyncTARBALL_SHA1 = 56ac29a82b99bcf4c7ba2fca41a44cfa18748262
65fea56f17cd614bc8908264df980a62e1931468vboxsyncTARBALL_SHA256= f61120612728f2c5034671d0ca3e2273438c60aba93b3dda4a8aa40e6a257993
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Patches to apply to source after unpacking, in order
65fea56f17cd614bc8908264df980a62e1931468vboxsync# *** Moved to patch-list file so they can be shared between Xorg & Xvnc builds
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Used in rules shared between Xorg & Xvnc builds in Makefile.inc
65fea56f17cd614bc8908264df980a62e1931468vboxsync# to allow for different source layouts
65fea56f17cd614bc8908264df980a62e1931468vboxsync# ARC cases that covered this module
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2004/187 Xorg Server for Solaris
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2004/685 Xorg server upgrade to X11R6.8 release
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2004/829 Xorg 6.8.2 server upgrade for Solaris
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2005/450 Xorg 6.9 for Solaris
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2006/609 Xserver provider for DTrace
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2007/051 Xorg server upgrade to 7.2
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2007/434 Xorg server 1.3
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2007/500 X11 MIT-SHM Extension across zones
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2008/294 Xorg driver selection based on VIS_GETIDENTIFIER
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2009/021 Xorg server 1.5
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2009/292 Xorg server 1.6
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2009/679 Xorg server 1.7
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2010/109 Introduce libXcb in Solaris
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2011/008 Xorg server 1.9
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2010/382 Removal of 32-bit X servers
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2011/214 Xorg server 1.10
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2012/144 Xorg server 1.12
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2012/320 Xorg server 1.13
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2013/091 Xorg server 1.14
65fea56f17cd614bc8908264df980a62e1931468vboxsync# PSARC/2015/251 Xorg server 1.17
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Man pages to apply Sun footer to & attributes to list
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Override specific attributes for specific man pages
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(SUNTOUCH_MAN_FLAGS_$(@F:%.man.$(FIXED_MAN_SUFFIX)=%))
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Xephyr, Xvfb, and Xdmx are split out into their own packages
65fea56f17cd614bc8908264df980a62e1931468vboxsyncSUNTOUCH_MAN_FLAGS_Xephyr = -o '{Availability, $(MODULE_PKGNAME:%xorg=%xephyr)}'
65fea56f17cd614bc8908264df980a62e1931468vboxsyncSUNTOUCH_MAN_FLAGS_Xvfb = -o '{Availability, $(MODULE_PKGNAME:%xorg=%xvfb)}'
65fea56f17cd614bc8908264df980a62e1931468vboxsyncSUNTOUCH_MAN_FLAGS_Xdmx = -o '{Availability, $(MODULE_PKGNAME:%xorg=%xdmx)}'
65fea56f17cd614bc8908264df980a62e1931468vboxsyncSUNTOUCH_MAN_FLAGS_Xserver = -o '{Availability, $(MODULE_PKGNAME:%xorg=%xserver-common)}'
65fea56f17cd614bc8908264df980a62e1931468vboxsyncSUNTOUCH_MAN_FLAGS_cvt = -o '{Availability, x11/modeline-utilities}'
65fea56f17cd614bc8908264df980a62e1931468vboxsyncSUNTOUCH_MAN_FLAGS_gtf = -o '{Availability, x11/modeline-utilities}'
65fea56f17cd614bc8908264df980a62e1931468vboxsyncSUNTOUCH_MAN_FLAGS_xdmxconfig = $(SUNTOUCH_MAN_FLAGS_Xdmx)
65fea56f17cd614bc8908264df980a62e1931468vboxsyncSUNTOUCH_MAN_FLAGS_vdltodmx = $(SUNTOUCH_MAN_FLAGS_Xdmx)
65fea56f17cd614bc8908264df980a62e1931468vboxsyncSUNTOUCH_MAN_FLAGS_dmxtodmx = $(SUNTOUCH_MAN_FLAGS_Xdmx)
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Binary built in tree
65fea56f17cd614bc8908264df980a62e1931468vboxsyncBUILD_TARGETS=$(XORGSERVER_BIN) build_mdb set-elf-comments \
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Need to convert dtrace docs from xml to text/html ourselves, since
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Solaris doesn't bundle the xmlto tool used upstream
# Disable direct binding in shared objects, since it breaks libglx.so
# builds, and install xorg-server.pc in 32-bit pkgconfig dir too
-rm -f $@
$(EXTRA_ATTRDATA_FILES) \
mkdir -p $@
mkdir -p $@
@rm -f $@
mkdir -p $@
@rm -f $@
mkdir -p $@