Makefile revision 1292
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync###############################################################################
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync#
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# libXtst - Xlib-based client library for Xtest & Record extension protocols
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync#
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync#
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Permission is hereby granted, free of charge, to any person obtaining a
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# copy of this software and associated documentation files (the "Software"),
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# to deal in the Software without restriction, including without limitation
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# the rights to use, copy, modify, merge, publish, distribute, sublicense,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# and/or sell copies of the Software, and to permit persons to whom the
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Software is furnished to do so, subject to the following conditions:
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync#
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# The above copyright notice and this permission notice (including the next
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# paragraph) shall be included in all copies or substantial portions of the
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Software.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync#
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# DEALINGS IN THE SOFTWARE.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync#
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync#
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Package name used in tarballs
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncMODULE_NAME=libXtst
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Version number (used in path names)
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncMODULE_VERSION=1.2.1
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Checksums for upstream tarball
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncTARBALL_MD5 = e8abc5c00c666f551cf26aa53819d592
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncTARBALL_SHA1 = 44e19899f9938d3db5546e51c338d6f86d88cfe2
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncTARBALL_SHA256= 7eea3e66e392aca3f9dad6238198753c28e1c32fa4903cbb7739607a2504e5e0
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Patches to apply to source after unpacking, in order
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncSOURCE_PATCHES = \
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync solaris-abi.patch
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Need to regenerate automake files after solaris-abi.patch
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncAUTORECONF=yes
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Library name
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncLIBNAME=Xtst
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Man pages to apply Sun footer to & attributes to list
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncSUNTOUCHED_MANPAGES=man/*.man
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncMODULE_STABILITY=Committed
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncLIB_MAN_SUFFIX=3xtst
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Fix .so links generated by xmlto to contain directory information
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncMODULE_SUNTOUCH_MAN_FLAGS = -r '{^\.so X,.so man3xtst/X}'
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync# Link with version mapfile
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncMODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync
# configure includes xi in PKG_CHECK_MODULES since libXi headers & macros
# are used, but currently no functions are actually linked with, so we can
# ignore it when linking
MODULE_LD_OPTIONS += -z ignore
# pkg-config files that need to have -R added
FIX_PC_FILES=xtst.pc.in
# Compatibility links from /usr/X11/lib to /usr/lib
MODULE_X11_LIBCOMPAT_LINKS = libXtst.so libXtst.so.1
include ../Makefile.inc