Makefile revision 1075
1029N/A###############################################################################
1029N/A#
1029N/A# xcb 1.7 Makefile
1029N/A#
1075N/A# Copyright (c) 2010, 2011, 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)
1029N/AMODULE_VERSION=1.7
1029N/A
1029N/A# Checksums for upstream tarball
1029N/ATARBALL_MD5 = 925699df361b99491165ebc12068056b
1029N/ATARBALL_SHA1 = 7540f0587907bce421914f0ddb813810cb2f36f8
1029N/A
1029N/A# ARC cases that covered this module
1029N/AMODULE_ARC_CASES = PSARC/2010/109
1029N/A
1029N/A# Package metadata
1029N/AUPSTREAM = The XCB Project
1029N/AUPSTREAM_URL = http://xcb.freedesktop.org/
1029N/AUPSTREAM_SET = yes
1029N/A
1029N/A# Download site for source
1029N/ASOURCE_URL = http://xcb.freedesktop.org/dist//$(SOURCE_TARBALL_NAME)
1029N/ASOURCE_URL_SET = yes
1029N/A
1029N/A# Patches to apply to source after unpacking, in order
1029N/ASOURCE_PATCHES = Makefile.am.0.patch \
1029N/A configure.1.patch \
1029N/A aclocal.m4.2.patch \
1029N/A xcb_conn.c.3.patch \
1029N/A Makefile.am.4.patch
1029N/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
1029N/ASUNTOUCHED_MANPAGES=
1029N/AMODULE_STABILITY=Uncommitted
1029N/ALIB_MAN_SUFFIX=
1029N/A
1075N/AMODULE_LD_OPTIONS = -z ignore -lc
1029N/ALD_LIBRARY_PATH=$(PROTODIR)/usr/lib$(ARCHLIBSUBDIR)
1029N/A
1029N/A# We need Python
1029N/APYTHON_VERSION=2.6
1029N/APYTHON=/usr/bin/python$(PYTHON_VERSION)
1029N/APYTHON_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
1029N/APYTHONPATH=$(PYTHON_PATH)
1029N/A
1029N/A# We want GNU cp
1029N/AGNUCP=/usr/gnu/bin/cp
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/AMODULE_CPPFLAGS = -I$(PROTODIR)/usr/include/X11 \
1029N/A -I$(PROTODIR)/usr/include
1029N/A
1029N/A# pkg-config files that need to have -R added
1029N/AFIX_PC_FILES=*.pc.in
1029N/A
1029N/Ainclude ../Makefile.inc
1029N/A
1029N/A# Regenerate Makefile.in's from Makefile.am's after patching them
1029N/AAUTORECONF=yes
1029N/AAUTORECONF_FLAGS = -vif
1029N/A
1029N/A# We need PYTHON and PYTHONPATH in our environment
1029N/AMODULE_BUILD_ENV = PYTHON="$(PYTHON)" \
1029N/A PYTHONPATH="$(PYTHON_PATH)" \
1029N/A PROTODIR="$(PROTODIR)" \
1029N/A CC="$(CC)" \
1029N/A CFLAGS="$(CFLAGS)" \
1029N/A CPPFLAGS="$(CPPFLAGS)" \
1029N/A LDFLAGS="$(LDFLAGS)" \
1029N/A LD_OPTIONS="$(MODULE_LD_OPTIONS)" \
1029N/A LD="$(CC) $(CFLAGS) $(LDFLAGS)" \
1029N/A LD_LIBRARY_PATH="$(LD_LIBRARY_PATH)" \
1029N/A LD_OPTIONS="$(MODULE_LD_OPTIONS)"
1029N/A