Makefile revision 963
f743002678eb67b99bbc29fee116b65d9530fec0wrowe###############################################################################
a34684a59b60a4173c25035d0c627ef17e6dc215rpluem# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
4d9aacb99fa81594665b3024fd15adcad28d2e60ylavic# Permission is hereby granted, free of charge, to any person obtaining a
4d9aacb99fa81594665b3024fd15adcad28d2e60ylavic# copy of this software and associated documentation files (the "Software"),
4d9aacb99fa81594665b3024fd15adcad28d2e60ylavic# to deal in the Software without restriction, including without limitation
4d9aacb99fa81594665b3024fd15adcad28d2e60ylavic# the rights to use, copy, modify, merge, publish, distribute, sublicense,
f4c3ded5dd561f8aa9779f227fed41303c15efaaylavic# and/or sell copies of the Software, and to permit persons to whom the
f4c3ded5dd561f8aa9779f227fed41303c15efaaylavic# Software is furnished to do so, subject to the following conditions:
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic# The above copyright notice and this permission notice (including the next
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic# paragraph) shall be included in all copies or substantial portions of the
206ee035a75fa226ca51d6ee1f118624354803d2ylavic# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
206ee035a75fa226ca51d6ee1f118624354803d2ylavic# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
206ee035a75fa226ca51d6ee1f118624354803d2ylavic# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
206ee035a75fa226ca51d6ee1f118624354803d2ylavic# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
206ee035a75fa226ca51d6ee1f118624354803d2ylavic# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
69301145375a889e7e37caf7cc7321ac0f91801erpluem# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
69301145375a889e7e37caf7cc7321ac0f91801erpluem# DEALINGS IN THE SOFTWARE.
506bfe33206b2fece40ef25f695af39dd4130facjkaluza# Package name used in tarballs
78ae177952e97903c19115e0f1b0383a5ca22eb4ylavic# Version number (used in path names)
78ae177952e97903c19115e0f1b0383a5ca22eb4ylavic# Checksums for upstream tarball
d58a848a016d401b965111e50ef829e1641f7834minfrinTARBALL_SHA1 = cbe9920712789ecd25386956649db0d666642f0f
d06d6ad3304fda986f67b5ada248e9ac05848cd9ylavic# Patches to apply to source after unpacking, in order
33a50f7ac69bc7f9f5c35cc7f0e240ec324ae660minfrin# Additional rules for generating sources
dd993bccb903f6f0b256c4dc973b793848986ef2minfrin# Need to autoreconf after running source_fix_pkgname
dd993bccb903f6f0b256c4dc973b793848986ef2minfrin# Additional install rules beyond what upstream installs
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sf# xorg-macro pkg-config files are architecture independent, so install in share
4e10eefaad0287c0c4ac2185bc3a1615092dbef8ylavic### Include common rulesets
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic# Install additional data files under xorg-macros instead of the
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic# too-generic "util-macros"
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic $(PERL) -i.orig -p -e 's{util-macros}{xorg-macros}g' \
ac7482772673c7dab4afbf53649e07030fd57a8eylavic# Libtool versions before 2.2.2 fail to work with LD=cc in 64 bit builds,
8c94893229334f5b79636e4ec53a992a0b9f9828ylavic# so install fixed libtool m4 macros here as well, so that modules that
8c94893229334f5b79636e4ec53a992a0b9f9828ylavic# run autoreconf get the fixed sources
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic$(TOOLS_ACLOCAL_DIR)/libtool.m4: $(TOOLS_ACLOCAL_DIR) libtool-64.patch
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic SYSTEM_ACLOCAL_DIR=$$($(ACLOCAL_PATH) --print-ac-dir) ; \
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener# autoreconf fails if the aclocal include directories don't exist yet