Makefile revision 493
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh###############################################################################
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh#
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# Use subject to license terms.
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh#
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# Permission is hereby granted, free of charge, to any person obtaining a
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# copy of this software and associated documentation files (the
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# "Software"), to deal in the Software without restriction, including
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# without limitation the rights to use, copy, modify, merge, publish,
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# distribute, and/or sell copies of the Software, and to permit persons
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# to whom the Software is furnished to do so, provided that the above
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# copyright notice(s) and this permission notice appear in all copies of
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# the Software and that both the above copyright notice(s) and this
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# permission notice appear in supporting documentation.
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh#
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
9aed162131f1840d0bc1cd0275f4d7144f3690f0David Hollister# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh#
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# Except as contained in this notice, the name of a copyright holder
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# shall not be used in advertising or otherwise to promote the sale, use
f7aef0b0ce0e9a2c3da9c2e3aa9122f3642c1459Reed# or other dealings in this Software without prior written authorization
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# of the copyright holder.
c3bc407cfbd238a18e4728ad5f36f39cecdb062fdh#
f7aef0b0ce0e9a2c3da9c2e3aa9122f3642c1459Reed# @(#)Makefile 1.5 08/08/08
f7aef0b0ce0e9a2c3da9c2e3aa9122f3642c1459Reed#
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# Package name used in tarballs
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dhMODULE_NAME=util-macros
f7aef0b0ce0e9a2c3da9c2e3aa9122f3642c1459Reed
f7aef0b0ce0e9a2c3da9c2e3aa9122f3642c1459Reed# Version number (used in path names)
f7aef0b0ce0e9a2c3da9c2e3aa9122f3642c1459ReedMODULE_VERSION=1.1.6
f7aef0b0ce0e9a2c3da9c2e3aa9122f3642c1459Reed
f7aef0b0ce0e9a2c3da9c2e3aa9122f3642c1459Reed# Patches to apply to source after unpacking, in order
f7aef0b0ce0e9a2c3da9c2e3aa9122f3642c1459ReedSOURCE_PATCHES= XORG_SGML_PATH.patch,-p1
f7aef0b0ce0e9a2c3da9c2e3aa9122f3642c1459Reed
f7aef0b0ce0e9a2c3da9c2e3aa9122f3642c1459Reed### Include common rulesets
f7aef0b0ce0e9a2c3da9c2e3aa9122f3642c1459Reedinclude ../Makefile.inc
f7aef0b0ce0e9a2c3da9c2e3aa9122f3642c1459Reed
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# Libtool versions before 2.2.2 fail to work with LD=cc in 64 bit builds,
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# so install fixed libtool m4 macros here as well, so that modules that
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh# run autoreconf get the fixed sources
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dhinstall_gen::
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh mkdir -p $(PROTODIR)$(X11_ACLOCAL_DIR)/
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh -rm -f $(PROTODIR)$(X11_ACLOCAL_DIR)/libtool.m4
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh SYSTEM_ACLOCAL_DIR=$$(aclocal --print-ac-dir) ; \
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh cp $${SYSTEM_ACLOCAL_DIR}/libtool.m4 \
14d6cf0a831fafb130183d4a32c30acbe84b9f4bdh $(PROTODIR)$(X11_ACLOCAL_DIR)/libtool.m4
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh gpatch -d $(PROTODIR)$(X11_ACLOCAL_DIR) < libtool-64.patch
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh