Makefile revision 1345
###############################################################################
#
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
#
# Package name used in tarballs
# Version number (used in path names)
# Checksums for upstream tarball
# Patches to apply to source after unpacking, in order
SOURCE_PATCHES = \
1234757.patch,-p1 \
6714036.patch,-p1 \
6789219.patch,-p1 \
# Patches from May 2013 security alert - will be integrated into libX11 1.6
# Dates to show in Oracle copyright notice in pkg license file
# Earliest & latest of the copyrights in the Oracle files in this pkg
# ARC cases that covered this module
# PSARC/2006/448 UTF8_STRING support in Solaris libX11 and XLC modules
# PSARC/2008/062 Porting of Xorg XI18N
# PSARC/2009/666 libX11 1.3
# PSARC/2010/109 Introduce libXcb in Solaris
# Man pages to apply Sun footer to & attributes to list
# Command line options to GNU autoconf configure script
--disable-xf86bigfont \
# -xF is needed for mapfile reordering to work
MODULE_CFLAGS = -xF
# -DSUNSOFT enables Solaris extensions
# -DMOTIFBC enables compatibility with bugs in Motif & other apps
# -DSUNSOFT_KBD enables Solaris traditional keyboard handling
# Need to ignore extra libraries like -lsocket & -lnsl in i18n modules
MODULE_LD_OPTIONS = -z ignore
# Backwards compatibility for old paths until g11n moves all input methods
# Work around libtool's interference
# Use -KPIC instead of -Kpic because we have too many symbols on SPARC
# Need additional mapfile for additional symbols in 64-bit versions
# pkg-config files that need to have -R added
# Regenerate Makefile.in's from Makefile.am's after patching them
# Merge in additional sources from sun-src directory
# Install additional headers we need in other parts of the build or ship in
# packages, but which X.Org doesn't
# Extra links to libX11 for compatibility with SVID / SPARC ABI / etc.
# Install additional links to libX11 that we include in our packages
$(EXTRA_PROTO_LINKS): $(INSTALL_DEPS)
@rm -f $@