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