Makefile revision 919
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington###############################################################################
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Use is subject to license terms.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Permission is hereby granted, free of charge, to any person obtaining a
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# copy of this software and associated documentation files (the "Software"),
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# to deal in the Software without restriction, including without limitation
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# the rights to use, copy, modify, merge, publish, distribute, sublicense,
a7038d1a0513c8e804937ebc95fc9cb3a46c04f5Mark Andrews# and/or sell copies of the Software, and to permit persons to whom the
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Software is furnished to do so, subject to the following conditions:
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence# The above copyright notice and this permission notice (including the next
a7038d1a0513c8e804937ebc95fc9cb3a46c04f5Mark Andrews# paragraph) shall be included in all copies or substantial portions of the
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
a7038d1a0513c8e804937ebc95fc9cb3a46c04f5Mark Andrews# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# DEALINGS IN THE SOFTWARE.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Package name used in tarballs
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Version number (used in path names)
a7038d1a0513c8e804937ebc95fc9cb3a46c04f5Mark Andrews# Checksums for upstream tarball
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas GustafssonTARBALL_MD5 = 184cbf502b3cd5d7ba5f9d1290a99606
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonTARBALL_SHA1 = ccf38d4575da92b750640525af55d770b85765e1
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas Gustafsson# Patches to apply to source after unpacking, in order
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSOURCE_PATCHES = libsm.globals.h.patch libsm.SMlibint.h.patch libsm.sm_client.c.patch libsm.sm_manager.c.patch
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Library name (used for specfiles/mapfiles)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Man pages to apply Sun footer to & attributes to list
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Command line options to GNU autoconf configure script
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid LawrenceMODULE_CONFIG_OPTS = --enable-unix-transport \
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# Use specfile to make mapfile & link with it
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonMODULE_LD_OPTIONS = -M $(PWD)/$(BUILD_DIR)/$(SPECMAP)
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence# pkg-config files that need to have -R added