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