Makefile revision 911
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder###############################################################################
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder#
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Xaw Makefile
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder#
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# Use is subject to license terms.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder#
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Permission is hereby granted, free of charge, to any person obtaining a
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# copy of this software and associated documentation files (the
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# "Software"), to deal in the Software without restriction, including
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# without limitation the rights to use, copy, modify, merge, publish,
d8c71aacc9f1c8cd40a8ad8dcdad9be8854b849fChristian Maeder# distribute, and/or sell copies of the Software, and to permit persons
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian Maeder# to whom the Software is furnished to do so, provided that the above
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# copyright notice(s) and this permission notice appear in all copies of
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# the Software and that both the above copyright notice(s) and this
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# permission notice appear in supporting documentation.
d27ad22f77ca7399742b54e9dce2cdceed12d5e0Christian Maeder#
83394c6b6e6de128e71b67c9251ed7a84485d082Christian Maeder# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
83394c6b6e6de128e71b67c9251ed7a84485d082Christian Maeder# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
83394c6b6e6de128e71b67c9251ed7a84485d082Christian Maeder# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
83394c6b6e6de128e71b67c9251ed7a84485d082Christian Maeder# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
c9acb8681bcc512245b4f0d1a9f2b189c60e10d4Christian Maeder# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
ce8b15da31cd181b7e90593cbbca98f47eda29d6Till Mossakowski# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder#
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Except as contained in this notice, the name of a copyright holder
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# shall not be used in advertising or otherwise to promote the sale, use
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# or other dealings in this Software without prior written authorization
ac0bbbcb2774629bb87986e69cf53d3402c5f575Christian Maeder# of the copyright holder.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder#
2e2094a642e3775b0d76b890556407941d3a53b6Christian Maeder#
2e2094a642e3775b0d76b890556407941d3a53b6Christian Maeder
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# Package name used in tarballs
2e2094a642e3775b0d76b890556407941d3a53b6Christian MaederMODULE_NAME=libXaw
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder
8410667510a76409aca9bb24ff0eda0420088274Christian Maeder# Version number (used in path names)
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian MaederMODULE_VERSION=1.0.7
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder
8410667510a76409aca9bb24ff0eda0420088274Christian Maeder# Checksums for upstream tarball
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus LuettichTARBALL_MD5 = 815e74de989ccda684e2baf8d12cf519
eee4b2ee739f163e09d6af6e45c025681e6c01a0Christian MaederTARBALL_SHA1 = 0e5effe33c4c44d960132e3dd50370134a28f8b2
4d56f2fa72e4aec20eb827c11ed49c8cbb7014bdChristian Maeder
eee4b2ee739f163e09d6af6e45c025681e6c01a0Christian Maeder# Patches to apply to source after unpacking, in order
eee4b2ee739f163e09d6af6e45c025681e6c01a0Christian MaederSOURCE_PATCHES=
eee4b2ee739f163e09d6af6e45c025681e6c01a0Christian Maeder
eee4b2ee739f163e09d6af6e45c025681e6c01a0Christian Maeder# Library name
eee4b2ee739f163e09d6af6e45c025681e6c01a0Christian MaederLIBNAME=Xaw
eee4b2ee739f163e09d6af6e45c025681e6c01a0Christian Maeder
eee4b2ee739f163e09d6af6e45c025681e6c01a0Christian Maeder# Library man pages to apply Sun footer to & attributes to list
d4892fa7401ceef014ea59d2d900773eaf88fcbdChristian MaederSUNTOUCHED_MANPAGES=man/*.man
eee4b2ee739f163e09d6af6e45c025681e6c01a0Christian MaederSUN_PACKAGE=SUNWxwplt
eee4b2ee739f163e09d6af6e45c025681e6c01a0Christian MaederMODULE_STABILITY=Uncommitted
eee4b2ee739f163e09d6af6e45c025681e6c01a0Christian MaederLIB_MAN_SUFFIX=3Xaw
eee4b2ee739f163e09d6af6e45c025681e6c01a0Christian Maeder
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus Luettich# Link with version mapfile
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder
55adfe57a4de1f36adc3e3bfc16f342e44a7d444Christian Maeder# pkg-config files that need to have -R added
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian MaederFIX_PC_FILES=xaw7.pc.in
d23b0cc79c0d204e6ec758dff8d0ba71c9f693f7Christian Maeder
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Additional arguments to pass to configure
e593b89bfd4952698dc37feced21cefe869d87a2Christian Maeder# We only ship libXaw.so.7, since we don't need to maintain binary
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# compatibility with the libXaw.so.6 version we never shipped, and never
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# started shipping the now-dropped-by-X.Org libXaw.so.8 (Xaw + Xprint)
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian MaederMODULE_CONFIG_OPTS= --disable-xaw6
2e2094a642e3775b0d76b890556407941d3a53b6Christian Maeder
f13d1e86e58da53680e78043e8df182eed867efbChristian Maederinclude ../Makefile.inc
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Remove existing Xaw headers from proto area before build to avoid conflicts
a2d6702f18737cc5fff8e8631c08f221f8375c4bChristian Maederclean: clean_old_headers
c6fcd42c6d6d9dae8c7835c24fcb7ce8531a9050Christian Maeder
31c49f2fa23d4ac089f35145d80a224deb6ea7e4Till Mossakowskiclean_old_headers:
c55a0f77be7e88d3620b419ec8961f4379a586e3Klaus Luettich rm -rf $(PROTODIR)$(X11_INCLUDES_DIR)/X11/Xaw
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder