Makefile revision 1132
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber###############################################################################
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber#
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# xcb 1.7 Makefile
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber#
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber#
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# Permission is hereby granted, free of charge, to any person obtaining a
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# copy of this software and associated documentation files (the "Software"),
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# to deal in the Software without restriction, including without limitation
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# the rights to use, copy, modify, merge, publish, distribute, sublicense,
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# and/or sell copies of the Software, and to permit persons to whom the
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# Software is furnished to do so, subject to the following conditions:
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber#
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# The above copyright notice and this permission notice (including the next
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# paragraph) shall be included in all copies or substantial portions of the
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# Software.
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber#
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# DEALINGS IN THE SOFTWARE.
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber#
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# Package name used in tarballs
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberMODULE_NAME=libxcb
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# Version number (used in path names)
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberMODULE_VERSION=1.7
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# Checksums for upstream tarball
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberTARBALL_MD5 = 925699df361b99491165ebc12068056b
4eb706b3ce9891f86ff3f9b5b5d063922df9f6b6Stéphane GraberTARBALL_SHA1 = 7540f0587907bce421914f0ddb813810cb2f36f8
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# ARC cases that covered this module
41670b35b0d7a11c7fa7d04e2535495dc90b76a9Stéphane GraberMODULE_ARC_CASES = PSARC/2010/109
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# Package metadata
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberUPSTREAM_PROJECT = xcb
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberUPSTREAM_PROJECT_SET = yes
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
b0f0932a944abf6425e9f185dea9c6d9ba6e8436Stéphane Graber# Patches to apply to source after unpacking, in order
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberSOURCE_PATCHES = \
10a5fab6f3ad5cab234b198da31633e41c8ee364Stéphane Graber tsol-sockets.patch,-p1 \
9accc2efea59a685942501c13e8eb7a21f74a5f6Stéphane Graber unix-sockets.patch,-p1 \
b0f0932a944abf6425e9f185dea9c6d9ba6e8436Stéphane Graber Makefile.am.0.patch \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber configure.1.patch \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber aclocal.m4.2.patch \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber xcb_conn.c.3.patch \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber Makefile.am.4.patch
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
2133f58c66ab7627a4159fafbb75106c556b014dSerge Hallyn# Regenerate Makefile.in's from Makefile.am's after patching them
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberAUTORECONF=yes
4eb706b3ce9891f86ff3f9b5b5d063922df9f6b6Stéphane Graber
4eb706b3ce9891f86ff3f9b5b5d063922df9f6b6Stéphane Graber# Library name (used for specfiles/mapfiles)
4eb706b3ce9891f86ff3f9b5b5d063922df9f6b6Stéphane GraberLIBNAME=xcb
4eb706b3ce9891f86ff3f9b5b5d063922df9f6b6Stéphane Graber
4eb706b3ce9891f86ff3f9b5b5d063922df9f6b6Stéphane Graber# Man pages to apply Sun footer to & attributes to list
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberSUNTOUCHED_MANPAGES=
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberMODULE_STABILITY=Uncommitted
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberLIB_MAN_SUFFIX=
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberMODULE_LD_OPTIONS = -z ignore -lc
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberLD_LIBRARY_PATH=$(PROTODIR)/usr/lib$(ARCHLIBSUBDIR)
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# Command line options to GNU autoconf configure script
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberMODULE_CONFIG_OPTS = $(MODTYPE_CONFIG_OPTS) \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --disable-libtool-lock \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --enable-build-docs=no \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --enable-composite \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --enable-damage \
fad967669817061cda3aafc40be04dcb712a4767Dwight Engen --enable-dpms \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --enable-dri2 \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --enable-glx \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --enable-randr \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --enable-record \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --enable-render \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --enable-resource \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --enable-screensaver \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --enable-shape \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --enable-shm \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --enable-sync \
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber --enable-xevie \
fad967669817061cda3aafc40be04dcb712a4767Dwight Engen --enable-xfixes \
33aa351ac13936fb2549403f18a44fed32b2edfbStéphane Graber --enable-xfree86-dri \
33aa351ac13936fb2549403f18a44fed32b2edfbStéphane Graber --enable-xinerama \
33aa351ac13936fb2549403f18a44fed32b2edfbStéphane Graber --enable-xinput \
33aa351ac13936fb2549403f18a44fed32b2edfbStéphane Graber --enable-xprint \
33aa351ac13936fb2549403f18a44fed32b2edfbStéphane Graber --disable-selinux \
33aa351ac13936fb2549403f18a44fed32b2edfbStéphane Graber --enable-xtest \
33aa351ac13936fb2549403f18a44fed32b2edfbStéphane Graber --enable-xv \
33aa351ac13936fb2549403f18a44fed32b2edfbStéphane Graber --enable-xvmc \
33aa351ac13936fb2549403f18a44fed32b2edfbStéphane Graber --with-queue-size=32768 \
33aa351ac13936fb2549403f18a44fed32b2edfbStéphane Graber --with-pic
33aa351ac13936fb2549403f18a44fed32b2edfbStéphane Graber
fad967669817061cda3aafc40be04dcb712a4767Dwight Engen# Work around libtool's interference
fad967669817061cda3aafc40be04dcb712a4767Dwight EngenDELIBTOOLIZE=yes
fad967669817061cda3aafc40be04dcb712a4767Dwight Engen
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber# pkg-config files that need to have -R added
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberFIX_PC_FILES=*.pc.in
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graberinclude ../Makefile.inc
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber