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