Makefile revision 1370
341N/A###############################################################################
341N/A#
341N/A# xcb - Lighter weight X11 client libraries
341N/A#
943N/A# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
341N/A#
341N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the "Software"),
919N/A# to deal in the Software without restriction, including without limitation
919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A# DEALINGS IN THE SOFTWARE.
341N/A#
341N/A
341N/A# Package name used in tarballs
341N/AMODULE_NAME=libxcb
341N/A
341N/A# Version number (used in path names)
341N/AMODULE_VERSION=1.9.1
341N/A
341N/A# Checksums for upstream tarball
341N/ATARBALL_MD5 = ed632cb0dc31b6fbd7ea5c0f931cf5a4
341N/ATARBALL_SHA1 = bf786bb7b9089102b73753135e061c87dc8e8685
341N/ATARBALL_SHA256= d44a5ff4eb0b9569e6f7183b51fdaf6f58da90e7d6bfc36b612d7263f83e362f
341N/A
# ARC cases that covered this module
MODULE_ARC_CASES = PSARC/2010/109
# Package metadata
MODULE_DESC = the XCB family of X11 client libraries
UPSTREAM_PROJECT = xcb
UPSTREAM_PROJECT_SET = yes
# Patches to apply to source after unpacking, in order
SOURCE_PATCHES = Makefile.am.0.patch,-p1
SOURCE_PATCHES += 16702043.patch
# Regenerate Makefile.in's from Makefile.am's after patching them
AUTORECONF=yes
# Library name (used for specfiles/mapfiles)
LIBNAME=xcb
# Man pages to apply Sun footer to & attributes to list
SUNTOUCHED_MANPAGES=src/man/*
MODULE_STABILITY=Volatile
LIB_MAN_SUFFIX=3xcb
MODULE_LD_OPTIONS = -z ignore -lc
LD_LIBRARY_PATH=$(PROTODIR)/usr/lib$(ARCHLIBSUBDIR)
# Command line options to GNU autoconf configure script
MODULE_CONFIG_OPTS = $(MODTYPE_CONFIG_OPTS) \
--disable-libtool-lock \
--enable-build-docs=no \
--enable-composite \
--enable-damage \
--enable-dpms \
--enable-dri2 \
--enable-glx \
--enable-randr \
--enable-record \
--enable-render \
--enable-resource \
--enable-screensaver \
--enable-shape \
--enable-shm \
--enable-sync \
--enable-xevie \
--enable-xfixes \
--enable-xfree86-dri \
--enable-xinerama \
--enable-xinput \
--enable-xprint \
--disable-selinux \
--enable-xtest \
--enable-xv \
--enable-xvmc \
--with-queue-size=32768 \
--with-pic
# Work around libtool's interference
DELIBTOOLIZE=yes
# pkg-config files that need to have -R added
FIX_PC_FILES=*.pc.in
# Additional rules beyond what upstream provides
MODULE_ADD_INSTALL_TARGETS=install_solaris_exts
include ../Makefile.inc
# Additional files we need to install
CP = cp -pf
MANDIR = $(PROTODIR)$(X11_MAN_DIR)/man3xcb
install_solaris_exts: $(INSTALL_DEPS)
mkdir -p $(MANDIR)
$(CP) $(SOURCE_DIR)/src/man/xcb-examples.3 $(MANDIR)/xcb-examples.3xcb
$(CP) $(SOURCE_DIR)/src/man/xcb-requests.3 $(MANDIR)/xcb-requests.3xcb