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