Makefile revision 1308
481N/A###############################################################################
481N/A#
911N/A# libXaw - Athena Widgets toolkit, based on libXt intrinsics
919N/A#
481N/A# Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
481N/A#
919N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the "Software"),
919N/A# to deal in the Software without restriction, including without limitation
919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
481N/A# DEALINGS IN THE SOFTWARE.
481N/A#
481N/A#
493N/A
493N/A# Package name used in tarballs
481N/AMODULE_NAME=libXaw
481N/A
493N/A# Version number (used in path names)
481N/AMODULE_VERSION=1.0.11
911N/A
911N/A# Checksums for upstream tarball
911N/ATARBALL_MD5 = f39942f2cab379fc9b4c3731bf191b84
911N/ATARBALL_SHA1 = a27556b14e2b4c250afcb98b6e99eebd7623816f
481N/ATARBALL_SHA256= 87a874acbb71d1ee59b8047312fc91d89dcb373e2970f121184cdae29a3d9492
481N/A
481N/A# Patches to apply to source after unpacking, in order
481N/ASOURCE_PATCHES=
493N/A
481N/A# Library name
481N/ALIBNAME=Xaw
# pkg(5) name we deliver the files in (override default)
MODULE_PKGNAME=x11/library/toolkit/libxaw7
MODULE_PKGNAME_SET=yes
# ARC cases that covered this module
# LSARC/2008/609 libXaw.so.7
MODULE_ARC_CASES = LSARC/2008/609
# Library man pages to apply Sun footer to & attributes to list
SUNTOUCHED_MANPAGES=man/*.man
MODULE_STABILITY=Uncommitted
MODULE_MTLEVEL=See XtToolkitThreadInitialize(3XT)
MODULE_MTLEVEL_SET=yes
LIB_MAN_SUFFIX=3xaw
# Link with version mapfile
# MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
# pkg-config files that need to have -R added
FIX_PC_FILES=xaw7.pc.in
# Additional arguments to pass to configure
# We only ship libXaw.so.7, since we don't need to maintain binary
# compatibility with the libXaw.so.6 version we never shipped, and never
# started shipping the now-dropped-by-X.Org libXaw.so.8 (Xaw + Xprint)
MODULE_CONFIG_OPTS= --disable-xaw6
# Compatibility links from /usr/X11/lib to /usr/lib
MODULE_X11_LIBCOMPAT_LINKS = libXaw.so libXaw.so.7 libXaw7.so libXaw7.so.7
include ../Makefile.inc
# Additional man page to install
MAN3LIB_DIR = $(PROTODIR)$(X11_MAN_DIR)/man3lib
install: $(MAN3LIB_DIR)/libXaw.3lib
$(MAN3LIB_DIR)/libXaw.3lib: libXaw.3lib
mkdir -p $(MAN3LIB_DIR)
sed -e 's%__distroname__%$(DISTRO_NAME)%g' libXaw.3lib > $@