Makefile revision 1589
6ca0e6973c8176100f4a426444823ae5e777e28fsascha###############################################################################
cb5d3f2f217d457dada4883addb1dc9f3f17bb85fielding# Xorg server Makefile
6ded37e63424e43b00ca7c9055d355e071d6a444rbb# Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
9022fa73d4ac101553e7c36a1457ead52a73333borlikowski# Permission is hereby granted, free of charge, to any person obtaining a
9022fa73d4ac101553e7c36a1457ead52a73333borlikowski# copy of this software and associated documentation files (the "Software"),
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# to deal in the Software without restriction, including without limitation
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# the rights to use, copy, modify, merge, publish, distribute, sublicense,
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# and/or sell copies of the Software, and to permit persons to whom the
ce3da141a81ef0e22f46e496675f602e3c483b88rbb# Software is furnished to do so, subject to the following conditions:
6687a315a676cbcb8063a8477a579876d82ab327gstein# The above copyright notice and this permission notice (including the next
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# paragraph) shall be included in all copies or substantial portions of the
cb5d3f2f217d457dada4883addb1dc9f3f17bb85fielding# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
b20fd88fb62a14780223a39488dba735d3643fdcwrowe# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
b20fd88fb62a14780223a39488dba735d3643fdcwrowe# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
b20fd88fb62a14780223a39488dba735d3643fdcwrowe# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
cb5d3f2f217d457dada4883addb1dc9f3f17bb85fielding# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
9832ee60b23ca2a3faa403bbe88720815969a9fefielding# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
cb5d3f2f217d457dada4883addb1dc9f3f17bb85fielding# DEALINGS IN THE SOFTWARE.
2795c373a9fb112dc77576c1dfc23119f02d598amanoj# Package name used in tarballs
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Package metadata
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Version number (used in path names) - set in open-src/common/Makefile.init
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Checksums for upstream tarball
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaTARBALL_SHA1 = 56ac29a82b99bcf4c7ba2fca41a44cfa18748262
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaTARBALL_SHA256= f61120612728f2c5034671d0ca3e2273438c60aba93b3dda4a8aa40e6a257993
46a06e5f359747d9b673ea77fcef89a851192e18rbb# Patches to apply to source after unpacking, in order
46a06e5f359747d9b673ea77fcef89a851192e18rbb# *** Moved to patch-list file so they can be shared between Xorg & Xvnc builds
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Used in rules shared between Xorg & Xvnc builds in Makefile.inc
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# to allow for different source layouts
4cbb3bcf66a6788196bcc7244e4e36705acfbb57rbb# ARC cases that covered this module
4cbb3bcf66a6788196bcc7244e4e36705acfbb57rbb# PSARC/2004/187 Xorg Server for Solaris
d8421e1ac84065452b1033e4a9ac4ab76f44e0dbrbb# PSARC/2004/685 Xorg server upgrade to X11R6.8 release
2d0b0e8c8f940cbdf31c97826529370e6bf9c070rbb# PSARC/2004/829 Xorg 6.8.2 server upgrade for Solaris
2d0b0e8c8f940cbdf31c97826529370e6bf9c070rbb# PSARC/2005/450 Xorg 6.9 for Solaris
4cbb3bcf66a6788196bcc7244e4e36705acfbb57rbb# PSARC/2006/609 Xserver provider for DTrace
de2aecd8da21eeae4394088cca196dfcb491de84rbb# PSARC/2007/051 Xorg server upgrade to 7.2
26d4668b602c703d63655271b1caaa420bf7a572rbb# PSARC/2007/434 Xorg server 1.3
26d4668b602c703d63655271b1caaa420bf7a572rbb# PSARC/2007/500 X11 MIT-SHM Extension across zones
ef0665105781ee79245fd5014fbc8569730c47a9rbb# PSARC/2008/294 Xorg driver selection based on VIS_GETIDENTIFIER
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# PSARC/2009/021 Xorg server 1.5
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha# PSARC/2009/292 Xorg server 1.6
ec9b5c4854a4055d00f5459dbbd879d517f1531dmartin# PSARC/2009/679 Xorg server 1.7
f2bf28198a285815ec536b7e370629bb68a0bb17rbb# PSARC/2010/109 Introduce libXcb in Solaris
b20fd88fb62a14780223a39488dba735d3643fdcwrowe# PSARC/2011/008 Xorg server 1.9
b20fd88fb62a14780223a39488dba735d3643fdcwrowe# PSARC/2010/382 Removal of 32-bit X servers
b20fd88fb62a14780223a39488dba735d3643fdcwrowe# PSARC/2011/214 Xorg server 1.10
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# PSARC/2012/144 Xorg server 1.12
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha# PSARC/2012/320 Xorg server 1.13
f2bf28198a285815ec536b7e370629bb68a0bb17rbb# PSARC/2013/091 Xorg server 1.14
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# PSARC/2015/251 Xorg server 1.17
ef0665105781ee79245fd5014fbc8569730c47a9rbb# Man pages to apply Sun footer to & attributes to list
87193a6150fcb830b68d79fdbb3f068cb3724677sascha# Override specific attributes for specific man pages
156e4036ec6e4b5d858025a1af72403c0eb15d9adreid# Xephyr, Xvfb, and Xdmx are split out into their own packages
156e4036ec6e4b5d858025a1af72403c0eb15d9adreidSUNTOUCH_MAN_FLAGS_Xephyr = -o '{Availability, $(MODULE_PKGNAME:%xorg=%xephyr)}'
1e8d4cfede0bad3a1a33e3b2eef0ba6754746f72rbbSUNTOUCH_MAN_FLAGS_Xvfb = -o '{Availability, $(MODULE_PKGNAME:%xorg=%xvfb)}'
b6d830878cedf541e64b399766a38ffc5d8edf05gsteinSUNTOUCH_MAN_FLAGS_Xdmx = -o '{Availability, $(MODULE_PKGNAME:%xorg=%xdmx)}'
6f7e9706af6d8aa1153b5badcf0688835b4cde64rbbSUNTOUCH_MAN_FLAGS_Xserver = -o '{Availability, $(MODULE_PKGNAME:%xorg=%xserver-common)}'
01ff03f2d2915e84955403ac58d1a4f24ee6390crbbSUNTOUCH_MAN_FLAGS_cvt = -o '{Availability, x11/modeline-utilities}'
2a0b1e02f6dc3b02b9a42448f35dcf39b929e37crbbSUNTOUCH_MAN_FLAGS_gtf = -o '{Availability, x11/modeline-utilities}'
e83476358ef015a1959284421fdc25ab18a7aa02rbbSUNTOUCH_MAN_FLAGS_xdmxconfig = $(SUNTOUCH_MAN_FLAGS_Xdmx)
1e8d4cfede0bad3a1a33e3b2eef0ba6754746f72rbb# Binary built in tree
a773226ea345018b49d45cf2e076ff2452eead5arbbBUILD_TARGETS=$(XORGSERVER_BIN) build_mdb set-elf-comments \
a773226ea345018b49d45cf2e076ff2452eead5arbb# Need to convert dtrace docs from xml to text/html ourselves, since
ef0665105781ee79245fd5014fbc8569730c47a9rbb# Solaris doesn't bundle the xmlto tool used upstream
150d51d42d77924d8b84d2f34299fb5ffc952679rbb# Need to regenerate autoconf/automake files after patching
ce8d7a0627c0f246376cccd980463f8250a6a97ebjh# Command line options to GNU autoconf configure script
ce8d7a0627c0f246376cccd980463f8250a6a97ebjh# XXX: --disable-dga
# 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 $@