Makefile revision 1123
290N/A###############################################################################
290N/A#
290N/A# xcb 1.7 Makefile
290N/A#
943N/A# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
290N/A#
290N/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.
290N/A#
290N/A
290N/A# Package name used in tarballs
290N/AMODULE_NAME=libxcb
493N/A
290N/A# Version number (used in path names)
290N/AMODULE_VERSION=1.7
946N/A
290N/A# Checksums for upstream tarball
911N/ATARBALL_MD5 = 925699df361b99491165ebc12068056b
946N/ATARBALL_SHA1 = 7540f0587907bce421914f0ddb813810cb2f36f8
946N/A
911N/A# ARC cases that covered this module
290N/AMODULE_ARC_CASES = PSARC/2010/109
290N/A
290N/A# Package metadata
290N/AUPSTREAM_PROJECT = xcb
290N/AUPSTREAM_PROJECT_SET = yes
493N/A
493N/A# Patches to apply to source after unpacking, in order
290N/ASOURCE_PATCHES = \
290N/A tsol-sockets.patch,-p1 \
unix-sockets.patch,-p1 \
Makefile.am.0.patch \
configure.1.patch \
aclocal.m4.2.patch \
xcb_conn.c.3.patch \
Makefile.am.4.patch
# Library name (used for specfiles/mapfiles)
LIBNAME=xcb
# Man pages to apply Sun footer to & attributes to list
SUNTOUCHED_MANPAGES=
MODULE_STABILITY=Uncommitted
LIB_MAN_SUFFIX=
MODULE_LD_OPTIONS = -z ignore -lc
LD_LIBRARY_PATH=$(PROTODIR)/usr/lib$(ARCHLIBSUBDIR)
# We need Python
PYTHON_VERSION=2.6
PYTHON=/usr/bin/python$(PYTHON_VERSION)
PYTHON_PATH=$(PROTODIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages:$(PROTODIR)/usr/lib/python$(PYTHON_VERSION)/site-packages:/usr/lib/python$(PYTHON_VERSION)/site-packages:/usr/lib/python$(PYTHON_VERSION)/vendor-packages
PYTHONPATH=$(PYTHON_PATH)
# We want GNU cp
GNUCP=/usr/gnu/bin/cp
# 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
MODULE_CPPFLAGS = -I$(PROTODIR)/usr/include/X11 \
-I$(PROTODIR)/usr/include
# pkg-config files that need to have -R added
FIX_PC_FILES=*.pc.in
include ../Makefile.inc
# Regenerate Makefile.in's from Makefile.am's after patching them
AUTORECONF=yes
AUTORECONF_FLAGS = -vif
# We need PYTHON and PYTHONPATH in our environment
MODULE_BUILD_ENV = PYTHON="$(PYTHON)" \
PYTHONPATH="$(PYTHON_PATH)" \
PROTODIR="$(PROTODIR)" \
CC="$(CC)" \
CFLAGS="$(CFLAGS)" \
CPPFLAGS="$(CPPFLAGS)" \
LDFLAGS="$(LDFLAGS)" \
LD_OPTIONS="$(MODULE_LD_OPTIONS)" \
LD="$(CC) $(CFLAGS) $(LDFLAGS)" \
LD_LIBRARY_PATH="$(LD_LIBRARY_PATH)" \
LD_OPTIONS="$(MODULE_LD_OPTIONS)"