Makefile revision 1029
486N/A###############################################################################
486N/A#
486N/A# xcbproto 1.6 Makefile
486N/A#
1068N/A# Copyright 2010, Oracle and/or its affiliates. All rights reserved.
486N/A#
486N/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
919N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
919N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
486N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
486N/A#
486N/A# Except as contained in this notice, the name of a copyright holder
486N/A# shall not be used in advertising or otherwise to promote the sale, use
493N/A# or other dealings in this Software without prior written authorization
486N/A# of the copyright holder.
970N/A#
970N/A
970N/A# Package name used in tarballs
970N/AMODULE_NAME=xcb-proto
486N/A
1179N/A# Version number (used in path names)
486N/AMODULE_VERSION=1.6
911N/A
1179N/A# Checksums for upstream tarball
1179N/ATARBALL_MD5 = 04313e1d914b44d0e457f6c494fc178b
911N/ATARBALL_SHA1 = e82418557c7f59f29da9ec18e0906d6d78e3a164
486N/A
1179N/A# ARC cases that covered this module
1072N/AMODULE_ARC_CASES = PSARC/2010/109
1072N/A
1072N/A# Package metadata
486N/AUPSTREAM = The XCB Project
486N/AUPSTREAM_URL = http://xcb.freedesktop.org/
1179N/AUPSTREAM_SET = yes
493N/A
486N/A# Download site for source
970N/ASOURCE_URL = http://xcb.freedesktop.org/dist//$(SOURCE_TARBALL_NAME)
970N/ASOURCE_URL_SET = yes
970N/A
486N/A# Patches to apply to source after unpacking, in order
SOURCE_PATCHES = configure.0.patch \
Makefile.in.1.patch
# Merge in additional sources from sun-src directory
ADDITIONAL_SOURCE_DIR=sun-src
# 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
# 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