Makefile revision 1029
70N/A###############################################################################
70N/A#
1376N/A# xcb 1.7 Makefile
70N/A#
70N/A# Copyright 2010, Oracle and/or its affiliates. All rights reserved.
919N/A#
919N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the
919N/A# "Software"), to deal in the Software without restriction, including
919N/A# without limitation the rights to use, copy, modify, merge, publish,
919N/A# distribute, and/or sell copies of the Software, and to permit persons
919N/A# to whom the Software is furnished to do so, provided that the above
919N/A# copyright notice(s) and this permission notice appear in all copies of
919N/A# the Software and that both the above copyright notice(s) and this
919N/A# permission notice appear in supporting documentation.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
919N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
919N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
919N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
919N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
919N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
70N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
70N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
70N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
70N/A#
851N/A# Except as contained in this notice, the name of a copyright holder
851N/A# shall not be used in advertising or otherwise to promote the sale, use
851N/A# or other dealings in this Software without prior written authorization
851N/A# of the copyright holder.
851N/A#
98N/A
551N/A# Package name used in tarballs
321N/AMODULE_NAME=libxcb
321N/A
550N/A# Version number (used in path names)
550N/AMODULE_VERSION=1.7
213N/A
649N/A# Checksums for upstream tarball
304N/ATARBALL_MD5 = 925699df361b99491165ebc12068056b
530N/ATARBALL_SHA1 = 7540f0587907bce421914f0ddb813810cb2f36f8
425N/A
425N/A# ARC cases that covered this module
325N/AMODULE_ARC_CASES = PSARC/2010/109
493N/A
536N/A# Package metadata
456N/AUPSTREAM = The XCB Project
320N/AUPSTREAM_URL = http://xcb.freedesktop.org/
332N/AUPSTREAM_SET = yes
501N/A
231N/A# Download site for source
550N/ASOURCE_URL = http://xcb.freedesktop.org/dist//$(SOURCE_TARBALL_NAME)
347N/ASOURCE_URL_SET = yes
532N/A
463N/A# Patches to apply to source after unpacking, in order
493N/ASOURCE_PATCHES = Makefile.am.0.patch \
425N/A configure.1.patch \
493N/A aclocal.m4.2.patch \
791N/A xcb_conn.c.3.patch \
472N/A Makefile.am.4.patch
324N/A
347N/A# Library name (used for specfiles/mapfiles)
310N/ALIBNAME=xcb
316N/A
474N/A# Man pages to apply Sun footer to & attributes to list
290N/ASUNTOUCHED_MANPAGES=
332N/AMODULE_STABILITY=Uncommitted
464N/ALIB_MAN_SUFFIX=
332N/A
509N/AMODULE_LD_OPTIONS = -L$(PROTODIR)/usr/lib$(ARCHLIBSUBDIR)
835N/ALD_LIBRARY_PATH=$(PROTODIR)/usr/lib$(ARCHLIBSUBDIR)
835N/A
332N/A# We need Python
210N/APYTHON_VERSION=2.6
493N/APYTHON=/usr/bin/python$(PYTHON_VERSION)
792N/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
128N/APYTHONPATH=$(PYTHON_PATH)
414N/A
484N/A# We want GNU cp
326N/AGNUCP=/usr/gnu/bin/cp
493N/A
335N/A# Command line options to GNU autoconf configure script
493N/AMODULE_CONFIG_OPTS = $(MODTYPE_CONFIG_OPTS) \
493N/A --disable-libtool-lock \
729N/A --enable-build-docs=no \
425N/A --enable-composite \
370N/A --enable-damage \
70N/A --enable-dpms \
400N/A --enable-dri2 \
294N/A --enable-glx \
435N/A --enable-randr \
800N/A --enable-record \
98N/A --enable-render \
434N/A --enable-resource \
505N/A --enable-screensaver \
277N/A --enable-shape \
433N/A --enable-shm \
546N/A --enable-sync \
356N/A --enable-xevie \
289N/A --enable-xfixes \
326N/A --enable-xfree86-dri \
439N/A --enable-xinerama \
501N/A --enable-xinput \
469N/A --enable-xprint \
290N/A --disable-selinux \
542N/A --enable-xtest \
424N/A --enable-xv \
286N/A --enable-xvmc \
90N/A --with-queue-size=32768 \
475N/A --with-pic
295N/A
70N/A# Work around libtool's interference
299N/ADELIBTOOLIZE=yes
262N/A
539N/AMODULE_CPPFLAGS = -I$(PROTODIR)/usr/include/X11 \
277N/A -I$(PROTODIR)/usr/include
332N/A
332N/A# pkg-config files that need to have -R added
493N/AFIX_PC_FILES=*.pc.in
70N/A
70N/Ainclude ../Makefile.inc
319N/A
280N/A# Regenerate Makefile.in's from Makefile.am's after patching them
319N/AAUTORECONF=yes
70N/AAUTORECONF_FLAGS = -vif
1117N/A
1117N/A# We need PYTHON and PYTHONPATH in our environment
98N/AMODULE_BUILD_ENV = PYTHON="$(PYTHON)" \
1376N/A PYTHONPATH="$(PYTHON_PATH)" \
1376N/A PROTODIR="$(PROTODIR)" \
98N/A CC="$(CC)" \
744N/A CFLAGS="$(CFLAGS)" \
1104N/A CPPFLAGS="$(CPPFLAGS)" \
744N/A LDFLAGS="$(LDFLAGS)" \
763N/A LD_OPTIONS="$(MODULE_LD_OPTIONS)" \
1122N/A LD="$(CC) $(CFLAGS) $(LDFLAGS)" \
763N/A LD_LIBRARY_PATH="$(LD_LIBRARY_PATH)" \
763N/A LD_OPTIONS="$(MODULE_LD_OPTIONS)"
744N/A
493N/A