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