Makefile revision 920
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd###############################################################################
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd#
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# SM 1.x Makefile
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd#
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Use is subject to license terms.
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd#
8b7e19de6d547ab1ad4256316fbf0d2497f724f8humbedooh# Permission is hereby granted, free of charge, to any person obtaining a
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# copy of this software and associated documentation files (the "Software"),
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# to deal in the Software without restriction, including without limitation
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# the rights to use, copy, modify, merge, publish, distribute, sublicense,
2e545ce2450a9953665f701bb05350f0d3f26275nd# and/or sell copies of the Software, and to permit persons to whom the
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# Software is furnished to do so, subject to the following conditions:
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen#
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# The above copyright notice and this permission notice (including the next
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# paragraph) shall be included in all copies or substantial portions of the
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen# Software.
3f08db06526d6901aa08c110b5bc7dde6bc39905nd#
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
8b7e19de6d547ab1ad4256316fbf0d2497f724f8humbedooh# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd# DEALINGS IN THE SOFTWARE.
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd#
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd#
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Package name used in tarballs
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndMODULE_NAME=libSM
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
8b7e19de6d547ab1ad4256316fbf0d2497f724f8humbedooh# Version number (used in path names)
8b7e19de6d547ab1ad4256316fbf0d2497f724f8humbedoohMODULE_VERSION=1.0.3
8b7e19de6d547ab1ad4256316fbf0d2497f724f8humbedooh
8b7e19de6d547ab1ad4256316fbf0d2497f724f8humbedooh# Checksums for upstream tarball
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndTARBALL_MD5 = 184cbf502b3cd5d7ba5f9d1290a99606
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndTARBALL_SHA1 = ccf38d4575da92b750640525af55d770b85765e1
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh# Patches to apply to source after unpacking, in order
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndSOURCE_PATCHES = libsm.globals.h.patch libsm.SMlibint.h.patch libsm.sm_client.c.patch libsm.sm_manager.c.patch
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Library name (used for specfiles/mapfiles)
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndLIBNAME=SM
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Man pages to apply Sun footer to & attributes to list
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndSUNTOUCHED_MANPAGES=
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndSUN_PACKAGE=SUNWxwplt
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndMODULE_STABILITY=Committed
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndMODULE_MTLEVEL=Unsafe
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndLIB_MAN_SUFFIX=3SM
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh# Command line options to GNU autoconf configure script
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndMODULE_CONFIG_OPTS = --enable-unix-transport \
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh --enable-tcp-transport \
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh --enable-IPv6
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Link with version mapfile
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndMODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# pkg-config files that need to have -R added
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndFIX_PC_FILES=sm.pc.in
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndinclude ../Makefile.inc
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd