Makefile revision 1610
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny###############################################################################
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# xcb - Lighter weight X11 client libraries
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Permission is hereby granted, free of charge, to any person obtaining a
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# copy of this software and associated documentation files (the "Software"),
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# to deal in the Software without restriction, including without limitation
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# the rights to use, copy, modify, merge, publish, distribute, sublicense,
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# and/or sell copies of the Software, and to permit persons to whom the
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Software is furnished to do so, subject to the following conditions:
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# The above copyright notice and this permission notice (including the next
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# paragraph) shall be included in all copies or substantial portions of the
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# DEALINGS IN THE SOFTWARE.
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Package name used in tarballs
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Version number (used in path names)
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Checksums for upstream tarball
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan ZelenyTARBALL_SHA1 = 8343b417d7eeb2a2c6b6c4a87a03a4fd0fc65c46
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan ZelenyTARBALL_SHA256= 03635d70045b9ede90778e67516135828a57de87ac508f987024f43c03620ff7
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# ARC cases that covered this module
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Package metadata
bd92e8ee315d4da9350b9ef0358c88a7b54aeebeStephen GallagherMODULE_DESC = the XCB family of X11 client libraries
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Patches to apply to source after unpacking, in order
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Regenerate Makefile.in's from Makefile.am's after patching them
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Library name (used for specfiles/mapfiles)
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Man pages to apply Sun footer to & attributes to list
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan ZelenySUNTOUCHED_MANPAGES= man/xcb-examples.man man/xcb-requests.man
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan ZelenyLD_LIBRARY_PATH=$(PROTODIR)/usr/lib$(ARCHLIBSUBDIR)
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Command line options to GNU autoconf configure script
bd92e8ee315d4da9350b9ef0358c88a7b54aeebeStephen GallagherMODULE_CONFIG_OPTS = $(MODTYPE_CONFIG_OPTS) \
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Work around libtool's interference
83bf46f4066e3d5e838a32357c201de9bd6ecdfdNikolai Kondrashov# pkg-config files that need to have -R added
83bf46f4066e3d5e838a32357c201de9bd6ecdfdNikolai Kondrashov# Additional rules beyond what upstream provides
83bf46f4066e3d5e838a32357c201de9bd6ecdfdNikolai KondrashovMODULE_ADD_INSTALL_TARGETS=install_solaris_exts
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Additional files we need to install
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny# Need to apply suntouch changes to man pages generated during build
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny $(PERL) $(TOP)/open-src/common/suntouch-manpages.pl \
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny $(SUNTOUCH_MAN_FLAGS) $(BUILD_DIR)/src/man/*.3xcb
e526b608657f229f7486b3aa8c53b0f2c53b42b1Jan Zeleny ginstall -m 0444 $(SOURCE_DIR)/man/xcb-examples.man \
a3c8390d19593b1e5277d95bfb4ab206d4785150Nikolai Kondrashov ginstall -m 0444 $(SOURCE_DIR)/man/xcb-requests.man \
3e1c814a7ca3a0e4086e0822d6b4df23b8465bc8Jan Zeleny ginstall -m 0444 $(BUILD_DIR)/src/man/*.3xcb $(MANDIR)/