Makefile revision 970
888N/A###############################################################################
888N/A#
888N/A# Xpm Makefile
888N/A#
888N/A# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
888N/A#
888N/A# Permission is hereby granted, free of charge, to any person obtaining a
888N/A# copy of this software and associated documentation files (the "Software"),
888N/A# to deal in the Software without restriction, including without limitation
888N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
888N/A# and/or sell copies of the Software, and to permit persons to whom the
888N/A# Software is furnished to do so, subject to the following conditions:
888N/A#
888N/A# The above copyright notice and this permission notice (including the next
888N/A# paragraph) shall be included in all copies or substantial portions of the
888N/A# Software.
888N/A#
888N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
888N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
888N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1716N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
888N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
888N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
888N/A# DEALINGS IN THE SOFTWARE.
888N/A#
888N/A#
888N/A
888N/A# Package name used in tarballs
888N/AMODULE_NAME=libXpm
888N/A
888N/A# Version number (used in path names)
888N/AMODULE_VERSION=3.5.8
888N/A
888N/A# Checksums for upstream tarball
888N/ATARBALL_MD5 = 38e58e72d476a74298a59052fde185a3
1289N/ATARBALL_SHA1 = 3bfc833ed4527f74b1c66c386da62271d0313413
888N/A
888N/A# Patches to apply to source after unpacking, in order
888N/ASOURCE_PATCHES = setuid.patch
888N/A
888N/A# ARC cases that covered this module
888N/AMODULE_ARC_CASES = PSARC/2001/060
1716N/A
888N/A# Library name
1716N/ALIBNAME=Xpm
888N/A
888N/A# Library man pages to apply Sun footer to & attributes to list
888N/A# SUNTOUCHED_MANPAGES=
888N/AMODULE_STABILITY=Uncommitted
888N/ALIB_MAN_SUFFIX=3
888N/A
# Link with version mapfile
MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
# pkg-config files that need to have -R added
FIX_PC_FILES=xpm.pc.in
# Additional arguments to pass to make
MODULE_MAKEFLAGS= -e SUBDIRS=src
# Install documentation as well
MODULE_ADD_INSTALL_TARGETS = install-docs
# Compatibility links from /usr/X11/lib to /usr/lib
MODULE_X11_LIBCOMPAT_LINKS = libXpm.so libXpm.so.4
include ../Makefile.inc
install-docs: $(PROTODIR)$(MODULE_DOC_DIR)/xpm.ps
$(PROTODIR)$(MODULE_DOC_DIR)/xpm.ps: $(INSTALL_DEPS) $(PROTODIR)$(MODULE_DOC_DIR)
gzcat $(SOURCE_DIR)/xpm.PS.gz > $@