Makefile revision 1029
469N/A###############################################################################
469N/A#
1422N/A# xcbproto 1.6 Makefile
469N/A#
469N/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
469N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
469N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
469N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
469N/A#
493N/A# Except as contained in this notice, the name of a copyright holder
469N/A# shall not be used in advertising or otherwise to promote the sale, use
970N/A# or other dealings in this Software without prior written authorization
977N/A# of the copyright holder.
970N/A#
970N/A
1339N/A# Package name used in tarballs
1339N/AMODULE_NAME=xcb-proto
1370N/A
911N/A# Version number (used in path names)
1370N/AMODULE_VERSION=1.6
1370N/A
1370N/A# Checksums for upstream tarball
469N/ATARBALL_MD5 = 04313e1d914b44d0e457f6c494fc178b
1370N/ATARBALL_SHA1 = e82418557c7f59f29da9ec18e0906d6d78e3a164
1370N/A
1370N/A# ARC cases that covered this module
1370N/AMODULE_ARC_CASES = PSARC/2010/109
493N/A
469N/A# Package metadata
469N/AUPSTREAM = The XCB Project
1370N/AUPSTREAM_URL = http://xcb.freedesktop.org/
493N/AUPSTREAM_SET = yes
912N/A
1422N/A# Download site for source
1422N/ASOURCE_URL = http://xcb.freedesktop.org/dist//$(SOURCE_TARBALL_NAME)
1370N/ASOURCE_URL_SET = yes
1370N/A
1370N/A# Patches to apply to source after unpacking, in order
1422N/ASOURCE_PATCHES = configure.0.patch \
1422N/A Makefile.in.1.patch
1422N/A
1422N/A# Merge in additional sources from sun-src directory
1370N/AADDITIONAL_SOURCE_DIR=sun-src
970N/A
970N/A# We need Python
970N/APYTHON_VERSION=2.6
912N/APYTHON=/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
# We want to use the PYTHON set above in our environment
MODULE_BUILD_ENV = PYTHON="$(PYTHON)" \
PYTHONPATH="$(PYTHON_PATH)"
### Include common rulesets
include ../Makefile.inc