1029N/A###############################################################################
1029N/A#
1339N/A# xcb - Lighter weight X11 client libraries
1029N/A#
1402N/A# Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
1029N/A#
1029N/A# Permission is hereby granted, free of charge, to any person obtaining a
1075N/A# copy of this software and associated documentation files (the "Software"),
1075N/A# to deal in the Software without restriction, including without limitation
1075N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
1075N/A# and/or sell copies of the Software, and to permit persons to whom the
1075N/A# Software is furnished to do so, subject to the following conditions:
1075N/A#
1075N/A# The above copyright notice and this permission notice (including the next
1075N/A# paragraph) shall be included in all copies or substantial portions of the
1075N/A# Software.
1075N/A#
1075N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1075N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1075N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1075N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1075N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1075N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1075N/A# DEALINGS IN THE SOFTWARE.
1029N/A#
1029N/A
1029N/A# Package name used in tarballs
1029N/AMODULE_NAME=libxcb
1029N/A
1029N/A# Version number (used in path names)
1370N/AMODULE_VERSION=1.9.1
1029N/A
1029N/A# Checksums for upstream tarball
1370N/ATARBALL_MD5 = ed632cb0dc31b6fbd7ea5c0f931cf5a4
1370N/ATARBALL_SHA1 = bf786bb7b9089102b73753135e061c87dc8e8685
1370N/ATARBALL_SHA256= d44a5ff4eb0b9569e6f7183b51fdaf6f58da90e7d6bfc36b612d7263f83e362f
1029N/A
1029N/A# ARC cases that covered this module
1029N/AMODULE_ARC_CASES = PSARC/2010/109
1029N/A
1029N/A# Package metadata
1339N/AMODULE_DESC = the XCB family of X11 client libraries
1123N/AUPSTREAM_PROJECT = xcb
1123N/AUPSTREAM_PROJECT_SET = yes
1029N/A
1029N/A# Patches to apply to source after unpacking, in order
1276N/ASOURCE_PATCHES = Makefile.am.0.patch,-p1
1351N/ASOURCE_PATCHES += 16702043.patch
1029N/A
1132N/A# Regenerate Makefile.in's from Makefile.am's after patching them
1132N/AAUTORECONF=yes
1132N/A
1029N/A# Library name (used for specfiles/mapfiles)
1029N/ALIBNAME=xcb
1029N/A
1029N/A# Man pages to apply Sun footer to & attributes to list
1402N/ASUNTOUCHED_MANPAGES= src/man/xcb-examples.3 src/man/xcb-requests.3
1351N/AMODULE_STABILITY=Volatile
1402N/AMODULE_MTLEVEL=Safe
1402N/AMODULE_MTLEVEL_SET=yes
1351N/ALIB_MAN_SUFFIX=3xcb
1029N/A
1447N/AMODULE_LD_OPTIONS = $(ZDISCARD_UNUSED_DEP) -lc
1029N/ALD_LIBRARY_PATH=$(PROTODIR)/usr/lib$(ARCHLIBSUBDIR)
1029N/A
1029N/A# Command line options to GNU autoconf configure script
1029N/AMODULE_CONFIG_OPTS = $(MODTYPE_CONFIG_OPTS) \
1029N/A --disable-libtool-lock \
1029N/A --enable-build-docs=no \
1029N/A --enable-composite \
1029N/A --enable-damage \
1029N/A --enable-dpms \
1029N/A --enable-dri2 \
1029N/A --enable-glx \
1029N/A --enable-randr \
1029N/A --enable-record \
1029N/A --enable-render \
1029N/A --enable-resource \
1029N/A --enable-screensaver \
1029N/A --enable-shape \
1029N/A --enable-shm \
1029N/A --enable-sync \
1029N/A --enable-xevie \
1029N/A --enable-xfixes \
1029N/A --enable-xfree86-dri \
1029N/A --enable-xinerama \
1029N/A --enable-xinput \
1029N/A --enable-xprint \
1029N/A --disable-selinux \
1029N/A --enable-xtest \
1029N/A --enable-xv \
1029N/A --enable-xvmc \
1029N/A --with-queue-size=32768 \
1029N/A --with-pic
1029N/A
1029N/A# Work around libtool's interference
1029N/ADELIBTOOLIZE=yes
1029N/A
1029N/A# pkg-config files that need to have -R added
1029N/AFIX_PC_FILES=*.pc.in
1029N/A
1351N/A# Additional rules beyond what upstream provides
1351N/AMODULE_ADD_INSTALL_TARGETS=install_solaris_exts
1351N/A
1029N/Ainclude ../Makefile.inc
1351N/A
1351N/A# Additional files we need to install
1351N/AMANDIR = $(PROTODIR)$(X11_MAN_DIR)/man3xcb
1351N/A
1402N/A# Need to apply suntouch changes to man pages generated during build
1351N/Ainstall_solaris_exts: $(INSTALL_DEPS)
1402N/A $(PERL) $(TOP)/open-src/common/suntouch-manpages.pl \
1422N/A $(SUNTOUCH_MAN_FLAGS) $(BUILD_DIR)/src/man/*.3xcb
1351N/A mkdir -p $(MANDIR)
1402N/A ginstall -m 0444 $(SOURCE_DIR)/src/man/xcb-examples.3 \
1402N/A $(MANDIR)/xcb-examples.3xcb
1402N/A ginstall -m 0444 $(SOURCE_DIR)/src/man/xcb-requests.3 \
1402N/A $(MANDIR)/xcb-requests.3xcb
1422N/A ginstall -m 0444 $(BUILD_DIR)/src/man/*.3xcb $(MANDIR)/