Makefile revision 1258
6238N/A############################################################################### 6238N/A# Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. 6238N/A# Permission is hereby granted, free of charge, to any person obtaining a 6238N/A# copy of this software and associated documentation files (the "Software"), 6238N/A# to deal in the Software without restriction, including without limitation 6238N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense, 6238N/A# and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice (including the next # paragraph) shall be included in all copies or substantial portions of the # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. # Package name used in tarballs # pkg(5) name we deliver the files in (override default) # Version number (used in path names) # Checksums for upstream tarball # Patches to apply to source after unpacking, in order # Additional rules for generating sources # Need to autoreconf after running source_fix_pkgname # Additional install rules beyond what upstream installs # xorg-macro pkg-config files are architecture independent, so install in share ### Include common rulesets # Install additional data files under xorg-macros instead of the # too-generic "util-macros" # Libtool versions before 2.2.2 fail to work with LD=cc in 64 bit builds, # so install fixed libtool m4 macros here as well, so that modules that # run autoreconf get the fixed sources # S11U1 now has libtool 2.4.2, but not everyone has updated yet to a build # with the new version, so for now, we check the version number before trying # to apply the patch, to avoid failures on versions with the bug already fixed. # This will be removed in the future, once everyone has had a chance to upgrade. awk '/^libtool / {print $$NF ; exit}') ; \
# autoreconf fails if the aclocal include directories don't exist yet