Makefile revision 618
7b4bfc0201ffbcd64a336b99c945891808c44af0Mark Andrews###############################################################################
7b4bfc0201ffbcd64a336b99c945891808c44af0Mark Andrews#
7b4bfc0201ffbcd64a336b99c945891808c44af0Mark Andrews# Xau 1.x Makefile
7cd594b8427fe742d44295790ba367e1de22a47dEvan Hunt#
7cd594b8427fe742d44295790ba367e1de22a47dEvan Hunt# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
7cd594b8427fe742d44295790ba367e1de22a47dEvan Hunt# Use subject to license terms.
c76e8412f4ff4f5945157410312df2a8950f942dMark Andrews#
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#
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.
b9fd54f8d4572fe5dcaf9d4b74f6ecb8027cc450Evan Hunt#
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ń#
a22c3cf51567651f74aee5c263c597b8d752c2ccMichał Kępień# @(#)Makefile 1.6 08/08/27
a22c3cf51567651f74aee5c263c597b8d752c2ccMichał Kępień#
b301c4293c082fcce4ec26218e6fad346976eb9eMark Andrews
b301c4293c082fcce4ec26218e6fad346976eb9eMark Andrews# Package name used in tarballs
b301c4293c082fcce4ec26218e6fad346976eb9eMark AndrewsMODULE_NAME=libXau
5c4e0c7800b5c7783e7f8b9ce80a6f8dc47f8856Mark Andrews
5c4e0c7800b5c7783e7f8b9ce80a6f8dc47f8856Mark Andrews# Version number (used in path names)
5c4e0c7800b5c7783e7f8b9ce80a6f8dc47f8856Mark AndrewsMODULE_VERSION=1.0.4
6e1f755f19ef244422e1efa4551fe23775e1a38cMark Andrews
6e1f755f19ef244422e1efa4551fe23775e1a38cMark Andrews# Patches to apply to source after unpacking, in order
6e1f755f19ef244422e1efa4551fe23775e1a38cMark AndrewsSOURCE_PATCHES =
435a7cd2293dfa9264678508762ab9acb8d41e50Mark Andrews
435a7cd2293dfa9264678508762ab9acb8d41e50Mark Andrews# Library name (used for specfiles/mapfiles)
435a7cd2293dfa9264678508762ab9acb8d41e50Mark AndrewsLIBNAME=Xau
b7a823a402eb5c4e99f283e58d778a903d2e72f5Michał Kępień
b7a823a402eb5c4e99f283e58d778a903d2e72f5Michał Kępień# Man pages to apply Sun footer to & attributes to list
b7a823a402eb5c4e99f283e58d778a903d2e72f5Michał KępieńSUNTOUCHED_MANPAGES=Xau.man
c46c8e5c56ec4e81a39632e0036f20a6a3c18b8bMark AndrewsSUN_PACKAGE=SUNWxwplt
031bc55634f443c7c70fbf44c6ac6d8abe72f22bEvan HuntMODULE_STABILITY=Committed
031bc55634f443c7c70fbf44c6ac6d8abe72f22bEvan HuntLIB_MAN_SUFFIX=3Xau
031bc55634f443c7c70fbf44c6ac6d8abe72f22bEvan HuntLIB_SUNTOUCH_MAN_FLAGS= -a '{Availability, $(SUN_PACKAGE)} {Interface Stability, $(MODULE_STABILITY)} {MT-Level, Unsafe}'
a64daf673deff2358a91bee26bbf2bf874f47c6eMark Andrews
a64daf673deff2358a91bee26bbf2bf874f47c6eMark Andrews# Command line options to GNU autoconf configure script
a64daf673deff2358a91bee26bbf2bf874f47c6eMark AndrewsMODULE_CONFIG_OPTS = --enable-xthreads --with-lint --enable-lint-library
0aadc6dd7b719539445e7a0a058b15dd9d982a9bMichał Kępień
0aadc6dd7b719539445e7a0a058b15dd9d982a9bMichał Kępień
0aadc6dd7b719539445e7a0a058b15dd9d982a9bMichał Kępień
0aadc6dd7b719539445e7a0a058b15dd9d982a9bMichał Kępień# Use specfile to make mapfile & link with it
0aadc6dd7b719539445e7a0a058b15dd9d982a9bMichał KępieńMODULE_BUILD_DEPS = $(BUILD_DIR)/$(SPECMAP)
f20ff8b74d21fa3e3f071544f6fd060d015cf27eMichał KępieńMODULE_LD_OPTIONS = -M $(PWD)/$(BUILD_DIR)/$(SPECMAP)
f20ff8b74d21fa3e3f071544f6fd060d015cf27eMichał Kępień
f20ff8b74d21fa3e3f071544f6fd060d015cf27eMichał Kępień# pkg-config files that need to have -R added
7ff682f3c628d785048bbe0242e6a32ea26c6747Michał KępieńFIX_PC_FILES=xau.pc.in
7ff682f3c628d785048bbe0242e6a32ea26c6747Michał Kępień
7ff682f3c628d785048bbe0242e6a32ea26c6747Michał Kępieńinclude ../Makefile.inc
7ff682f3c628d785048bbe0242e6a32ea26c6747Michał Kępień