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