Makefile revision 325
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder###############################################################################
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Use subject to license terms.
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
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# "Software"), to deal in the Software without restriction, including
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# without limitation the rights to use, copy, modify, merge, publish,
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# distribute, and/or sell copies of the Software, and to permit persons
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian 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
b9625461755578f3eed04676d42a63fd2caebd0cChristian Maeder# the Software and that both the above copyright notice(s) and this
b9625461755578f3eed04676d42a63fd2caebd0cChristian Maeder# permission notice appear in supporting documentation.
ce8b15da31cd181b7e90593cbbca98f47eda29d6Till Mossakowski# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
ac0bbbcb2774629bb87986e69cf53d3402c5f575Christian Maeder# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
760ae19a92dde8249679a674f93f58d26a7c5f6bChristian Maeder# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
760ae19a92dde8249679a674f93f58d26a7c5f6bChristian Maeder# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
88c800932dd7053322501ea2039d9f234be6866cKlaus Luettich# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
8410667510a76409aca9bb24ff0eda0420088274Christian Maeder# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
8410667510a76409aca9bb24ff0eda0420088274Christian Maeder# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
8410667510a76409aca9bb24ff0eda0420088274Christian Maeder# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus Luettich# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
fdb2d618144159395f7bf8ce3327b3c112a17dd3Till Mossakowski# Except as contained in this notice, the name of a copyright holder
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus Luettich# shall not be used in advertising or otherwise to promote the sale, use
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# or other dealings in this Software without prior written authorization
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# of the copyright holder.
ac0bbbcb2774629bb87986e69cf53d3402c5f575Christian Maeder# @(#)Makefile 1.2 08/02/09
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Package name used in tarballs
31c49f2fa23d4ac089f35145d80a224deb6ea7e4Till Mossakowski# Version number (used in path names)
857992065be4ed40a72c6296b6c0aec62ab4c5b9Christian Maeder# Patches to apply to source after unpacking, in order
857992065be4ed40a72c6296b6c0aec62ab4c5b9Christian MaederSOURCE_PATCHES = libsm.globals.h.patch libsm.SMlibint.h.patch libsm.sm_client.c.patch libsm.sm_manager.c.patch
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Library name (used for specfiles/mapfiles)
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Man pages to apply Sun footer to & attributes to list
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian MaederLIB_SUNTOUCH_MAN_FLAGS= -a '{Availability, $(SUN_PACKAGE)} {Interface Stability, $(LIB_STABILITY)} {MT-Level, Unsafe}'
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Command line options to GNU autoconf configure script
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian MaederLIB_ADD_CONFIG_OPTS = --disable-libtool-lock \
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Library built in tree
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Use specfile to make mapfile & link with it
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian MaederLIB_ADD_BUILD_DEPS = $(BUILD_DIR)/$(SPECMAP)
4e7050bcbcf0f372a5bad32ecd0282bccabf0983Klaus LuettichLIB_ADD_LD_OPTIONS = -M $(PWD)/$(BUILD_DIR)/$(SPECMAP)
33d042fe6a9eb27a4c48f840b80838f3e7d98e34Christian Maeder# pkg-config files that need to have -R added