Makefile revision 970
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm###############################################################################
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm#
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Xaw Makefile
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm#
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm#
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Permission is hereby granted, free of charge, to any person obtaining a
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# copy of this software and associated documentation files (the "Software"),
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# to deal in the Software without restriction, including without limitation
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# the rights to use, copy, modify, merge, publish, distribute, sublicense,
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# and/or sell copies of the Software, and to permit persons to whom the
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Software is furnished to do so, subject to the following conditions:
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm#
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# The above copyright notice and this permission notice (including the next
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# paragraph) shall be included in all copies or substantial portions of the
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Software.
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm#
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
f317a3a3712d9b82387b437ac621db3733d8c804krishna# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# DEALINGS IN THE SOFTWARE.
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm#
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm#
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Package name used in tarballs
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmMODULE_NAME=libXaw
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Version number (used in path names)
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmMODULE_VERSION=1.0.7
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Checksums for upstream tarball
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmTARBALL_MD5 = 815e74de989ccda684e2baf8d12cf519
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmTARBALL_SHA1 = 0e5effe33c4c44d960132e3dd50370134a28f8b2
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Patches to apply to source after unpacking, in order
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmSOURCE_PATCHES=
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Library name
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmLIBNAME=Xaw
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# pkg(5) name we deliver the files in (override default)
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmMODULE_PKGNAME=x11/toolkit/libxaw7
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmMODULE_PKGNAME_SET=yes
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# ARC cases that covered this module
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# LSARC/2008/609 libXaw.so.7
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmMODULE_ARC_CASES = LSARC/2008/609
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Library man pages to apply Sun footer to & attributes to list
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmSUNTOUCHED_MANPAGES=man/*.man
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmMODULE_STABILITY=Uncommitted
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmLIB_MAN_SUFFIX=3xaw
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Link with version mapfile
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# pkg-config files that need to have -R added
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmFIX_PC_FILES=xaw7.pc.in
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Additional arguments to pass to configure
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# We only ship libXaw.so.7, since we don't need to maintain binary
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# compatibility with the libXaw.so.6 version we never shipped, and never
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# started shipping the now-dropped-by-X.Org libXaw.so.8 (Xaw + Xprint)
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmMODULE_CONFIG_OPTS= --disable-xaw6
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Compatibility links from /usr/X11/lib to /usr/lib
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmMODULE_X11_LIBCOMPAT_LINKS = libXaw.so libXaw.so.7 libXaw7.so libXaw7.so.7
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gminclude ../Makefile.inc
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm# Remove existing Xaw headers from proto area before build to avoid conflicts
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmclean: clean_old_headers
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmclean_old_headers:
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm rm -rf $(PROTODIR)$(X11_INCLUDES_DIR)/X11/Xaw
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm