Makefile revision 1273
195N/A###############################################################################
195N/A#
195N/A# Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
195N/A#
195N/A# Permission is hereby granted, free of charge, to any person obtaining a
195N/A# copy of this software and associated documentation files (the "Software"),
195N/A# to deal in the Software without restriction, including without limitation
195N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
195N/A# and/or sell copies of the Software, and to permit persons to whom the
195N/A# Software is furnished to do so, subject to the following conditions:
195N/A#
195N/A# The above copyright notice and this permission notice (including the next
195N/A# paragraph) shall be included in all copies or substantial portions of the
195N/A# Software.
195N/A#
195N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
195N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
195N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
195N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
195N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
5680N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
5680N/A# DEALINGS IN THE SOFTWARE.
5663N/A#
195N/A#
5680N/A
5680N/A# Package name used in tarballs
195N/AMODULE_NAME=util-macros
195N/A
195N/A# pkg(5) name we deliver the files in (override default)
5663N/AMODULE_PKGNAME=developer/build/autoconf/xorg-macros
618N/AMODULE_PKGNAME_SET=yes
195N/A
844N/A# Version number (used in path names)
5663N/AMODULE_VERSION=1.16.2
195N/A
195N/A# Checksums for upstream tarball
778N/ATARBALL_MD5 = b54342201bb8fef7bafaf335ce8c9c52
778N/ATARBALL_SHA1 = 17340193e7ba5d9fd5a787a9401e84d223fcc918
844N/ATARBALL_SHA256= 70986a05efab7557f54d719f55b8d65bc459ed13048f8a59e2d9e5efdb9af9e5
5663N/A
778N/A# Patches to apply to source after unpacking, in order
778N/ASOURCE_PATCHES=
5663N/A
2899N/A# Additional rules for generating sources
5680N/AMODULE_ADD_SOURCE_TARGETS=source_fix_pkgname
5680N/A
5680N/A# Need to autoreconf after running source_fix_pkgname
3902N/AAUTORECONF=yes
1845N/A
5680N/A# xorg-macro pkg-config files are architecture independent, so install in share
5680N/AMODTYPE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE)
5680N/AMODTYPE_PKGCONFIG_DIR_SET=yes
5680N/A
1845N/A### Include common rulesets
1845N/Ainclude ../Makefile.inc
195N/A
195N/A# Install additional data files under xorg-macros instead of the
195N/A# too-generic "util-macros"
195N/Asource_fix_pkgname: $(PATCHED_TARGET)
5123N/A $(PERL) -i.orig -p -e 's{util-macros}{xorg-macros}g' \
5123N/A $(SOURCE_DIR)/configure.ac
195N/A
3040N/A# autoreconf fails if the aclocal include directories don't exist yet
3040N/A$(AUTOCONF_TARGET): $(PROTODIR)$(X11_ACLOCAL_DIR)
3040N/A
3040N/A$(PROTODIR)$(X11_ACLOCAL_DIR):
1789N/A mkdir -p $@
3040N/A