Makefile revision 911
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews###############################################################################
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User#
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Xaw Makefile
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User#
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Use is subject to license terms.
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User#
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Permission is hereby granted, free of charge, to any person obtaining a
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews# copy of this software and associated documentation files (the
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# "Software"), to deal in the Software without restriction, including
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# without limitation the rights to use, copy, modify, merge, publish,
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# distribute, and/or sell copies of the Software, and to permit persons
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# to whom the Software is furnished to do so, provided that the above
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# copyright notice(s) and this permission notice appear in all copies of
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# the Software and that both the above copyright notice(s) and this
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# permission notice appear in supporting documentation.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User#
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User#
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Except as contained in this notice, the name of a copyright holder
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# shall not be used in advertising or otherwise to promote the sale, use
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# or other dealings in this Software without prior written authorization
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# of the copyright holder.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User#
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Package name used in tarballs
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserMODULE_NAME=libXaw
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Version number (used in path names)
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserMODULE_VERSION=1.0.7
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Checksums for upstream tarball
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserTARBALL_MD5 = 815e74de989ccda684e2baf8d12cf519
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserTARBALL_SHA1 = 0e5effe33c4c44d960132e3dd50370134a28f8b2
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Patches to apply to source after unpacking, in order
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox UserSOURCE_PATCHES=
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# Library name
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserLIBNAME=Xaw
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Library man pages to apply Sun footer to & attributes to list
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserSUNTOUCHED_MANPAGES=man/*.man
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserSUN_PACKAGE=SUNWxwplt
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserMODULE_STABILITY=Uncommitted
7e71f05d8643aca84914437c900cb716444507e4Tinderbox UserLIB_MAN_SUFFIX=3Xaw
7e71f05d8643aca84914437c900cb716444507e4Tinderbox User
7e71f05d8643aca84914437c900cb716444507e4Tinderbox User# Link with version mapfile
dec590a3deb8e87380a8bd3a77d535dba3729bf6Tinderbox User# MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# pkg-config files that need to have -R added
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserFIX_PC_FILES=xaw7.pc.in
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Additional arguments to pass to configure
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# We only ship libXaw.so.7, since we don't need to maintain binary
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# compatibility with the libXaw.so.6 version we never shipped, and never
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# started shipping the now-dropped-by-X.Org libXaw.so.8 (Xaw + Xprint)
dec590a3deb8e87380a8bd3a77d535dba3729bf6Tinderbox UserMODULE_CONFIG_OPTS= --disable-xaw6
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox Userinclude ../Makefile.inc
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Remove existing Xaw headers from proto area before build to avoid conflicts
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox Userclean: clean_old_headers
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox Userclean_old_headers:
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User rm -rf $(PROTODIR)$(X11_INCLUDES_DIR)/X11/Xaw
7e71f05d8643aca84914437c900cb716444507e4Tinderbox User