Makefile revision 618
7b4bfc0201ffbcd64a336b99c945891808c44af0Mark Andrews###############################################################################
7b4bfc0201ffbcd64a336b99c945891808c44af0Mark Andrews# Xau 1.x Makefile
7cd594b8427fe742d44295790ba367e1de22a47dEvan Hunt# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
7cd594b8427fe742d44295790ba367e1de22a47dEvan Hunt# Use subject to license terms.
c76e8412f4ff4f5945157410312df2a8950f942dMark Andrews# Permission is hereby granted, free of charge, to any person obtaining a
a2a0100e0fc73c0af67a7c9e3524816954448dc6Evan Hunt# copy of this software and associated documentation files (the
a2a0100e0fc73c0af67a7c9e3524816954448dc6Evan Hunt# "Software"), to deal in the Software without restriction, including
a2a0100e0fc73c0af67a7c9e3524816954448dc6Evan Hunt# without limitation the rights to use, copy, modify, merge, publish,
a2a0100e0fc73c0af67a7c9e3524816954448dc6Evan Hunt# distribute, and/or sell copies of the Software, and to permit persons
1feffc6fdb1ba386b22d45ea2d2f1613e717cb9eMark Andrews# to whom the Software is furnished to do so, provided that the above
1feffc6fdb1ba386b22d45ea2d2f1613e717cb9eMark Andrews# copyright notice(s) and this permission notice appear in all copies of
1feffc6fdb1ba386b22d45ea2d2f1613e717cb9eMark Andrews# the Software and that both the above copyright notice(s) and this
22bed621ef87bc8b6c1fea599b02c4b38dd6bf48Mark Andrews# permission notice appear in supporting documentation.
22bed621ef87bc8b6c1fea599b02c4b38dd6bf48Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
e5f5675b1da287ed40aeff081ad2af86090e8d17Evan Hunt# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
e5f5675b1da287ed40aeff081ad2af86090e8d17Evan Hunt# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
e5f5675b1da287ed40aeff081ad2af86090e8d17Evan Hunt# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
29f0ced781d745591fd058e530a68a281cd7a510Evan Hunt# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
29f0ced781d745591fd058e530a68a281cd7a510Evan Hunt# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
29f0ced781d745591fd058e530a68a281cd7a510Evan Hunt# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
b9fd54f8d4572fe5dcaf9d4b74f6ecb8027cc450Evan Hunt# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
b9fd54f8d4572fe5dcaf9d4b74f6ecb8027cc450Evan Hunt# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
fcb5e646e4d775539e348fa21ba13307f2695bf5Mark Andrews# Except as contained in this notice, the name of a copyright holder
fcb5e646e4d775539e348fa21ba13307f2695bf5Mark Andrews# shall not be used in advertising or otherwise to promote the sale, use
fcb5e646e4d775539e348fa21ba13307f2695bf5Mark Andrews# or other dealings in this Software without prior written authorization
a22c3cf51567651f74aee5c263c597b8d752c2ccMichał Kępień# of the copyright holder.
a22c3cf51567651f74aee5c263c597b8d752c2ccMichał Kępień# @(#)Makefile 1.6 08/08/27
b301c4293c082fcce4ec26218e6fad346976eb9eMark Andrews# Package name used in tarballs
5c4e0c7800b5c7783e7f8b9ce80a6f8dc47f8856Mark Andrews# Version number (used in path names)
6e1f755f19ef244422e1efa4551fe23775e1a38cMark Andrews# Patches to apply to source after unpacking, in order
435a7cd2293dfa9264678508762ab9acb8d41e50Mark Andrews# Library name (used for specfiles/mapfiles)
b7a823a402eb5c4e99f283e58d778a903d2e72f5Michał Kępień# Man pages to apply Sun footer to & attributes to list
031bc55634f443c7c70fbf44c6ac6d8abe72f22bEvan HuntLIB_SUNTOUCH_MAN_FLAGS= -a '{Availability, $(SUN_PACKAGE)} {Interface Stability, $(MODULE_STABILITY)} {MT-Level, Unsafe}'
a64daf673deff2358a91bee26bbf2bf874f47c6eMark Andrews# Command line options to GNU autoconf configure script
a64daf673deff2358a91bee26bbf2bf874f47c6eMark AndrewsMODULE_CONFIG_OPTS = --enable-xthreads --with-lint --enable-lint-library
0aadc6dd7b719539445e7a0a058b15dd9d982a9bMichał Kępień# Use specfile to make mapfile & link with it
f20ff8b74d21fa3e3f071544f6fd060d015cf27eMichał KępieńMODULE_LD_OPTIONS = -M $(PWD)/$(BUILD_DIR)/$(SPECMAP)
f20ff8b74d21fa3e3f071544f6fd060d015cf27eMichał Kępień# pkg-config files that need to have -R added