open-src/lib/libXpm/Makefile
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Mon, 30 Sep 2013 13:26:39 -0700
changeset 1370 7a7a374453e5
parent 1276 52f85727ce94
child 1402 7373cf518070
permissions -rw-r--r--
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition] 15804808 SUNBT7185228 xfs service will go to maintenance status after running fsinfo 15802823 SUNBT7182943 Update xinit man page to not reference /usr/ucb/rsh 15702480 SUNBT7027122 imake should use /usr/lib/cpp instead of /usr/ccs/lib/cpp 14963848 SUNBT4146469 imake config file uses incorrect "install" program on SunOS 5

###############################################################################
#
# libXpm - library for handling XPM format images
#
# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
#

# Package name used in tarballs
MODULE_NAME=libXpm

# Version number (used in path names)
MODULE_VERSION=3.5.11

# Checksums for upstream tarball
TARBALL_MD5   = 769ee12a43611cdebd38094eaf83f3f0
TARBALL_SHA1  = 77b95dd1c8cd9bc00b3b834b53d824409202acbb
TARBALL_SHA256= c5bdafa51d1ae30086fac01ab83be8d47fe117b238d3437f8e965434090e041c

# Patches to apply to source after unpacking, in order
SOURCE_PATCHES = setuid.patch

# ARC cases that covered this module
MODULE_ARC_CASES = PSARC/2001/060

# Library name
LIBNAME=Xpm

# Library man pages to apply Sun footer to & attributes to list
# SUNTOUCHED_MANPAGES=
MODULE_STABILITY=Uncommitted
LIB_MAN_SUFFIX=3

# 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 include"

# 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)
	-rm -f $@
	gzcat $(SOURCE_DIR)/doc/xpm.PS.gz > $@